Reducing Network Utilization of Diskless Systems
Background
Windows 2000 and XP provide several features, some are listed below, that presume a large and fast hard disk.
Virtual Memory
Recycle Bin
Offline Folders
Event Logs
Windows XP provides the following new features that make the same presumption.
Hibernation
System Restore
Logical Prefetch
While many of these features can also be useful on a diskless system where the disk is actually on the network, their use decreases cache effectiveness and thereby increases network utilization. In an environment that is sensitive to network utilization, consider reducing the effect of these features by disabling them or adjusting their properties.
In particular, System Restore and Offline Folders are not useful on a diskless system but could be detrimental to the performance of Windows on a diskless system. BXP provides more deterministic, reliable, and simpler restore point than System Restore by simply rebooting the client. Offline Folders cache network files C a feature that is just not applicable to a system where all files are on the network.
All of these features are configurable via the client itself. The following features are configurable via Windows Group Policy.
Offline Folders
Event Logs
Configuring Windows Features on a Shared Virtual Disk via the Client
When configuring any of these features on a shared virtual disk via the client, be sure to use the following procedure.
Prepare a shared virtual disk for configuration.
Shutdown all BXP clients that use the shared virtual disk.
From the BXP Administrator, change the Disk Access Mode to Private Image.
Start one BXP client.
Configure one or more features.
Prepare the a shared virtual disk for Use.
Shutdown the BXP client used to configure the virtual disk.
From the BXP Administrator, change the Disk Access Mode to Shared Image.
Start one or more BXP clients.
Configuring Virtual Memory
On Windows 2000, minimize the virtual memory page size as follows.
Select Start > Settings > Control Panel.
Open System.
Select Advanced > Performance Options > Virtual Memory > Change.
Change the Initial Size to the value of Minimum allowed.
Change the Maximum Size to the value of Minimum allowed.
Press Set.
On Windows XP, disable or minimize the virtual memory page size as follows.
Select Start > Control Panel.
Open System.
Select Advanced > Performance > Settings.
Select Advanced > Virtual Memory > Change.
Choose one of the following.
Disable virtual memory.
Check No paging file.
Minimize virtual memory page size.
Change the Initial Size to the value of Minimum allowed.
Change the Maximum Size to the value of Minimum allowed.
Press Set.
Configuring Recycle Bin
Disabling the Recycle Bin deletes files immediately. Consequently, the file system reuses respective disk sectors and cache entries sooner.
From the desktop or Windows Explorer, right click on Recycle Bin.
Select Properties.
Select Global.
Select the following properties.
Use one setting for all drives
Do not move files to the Recycle Bin.
Remove files immediately when deleted.
Configuring Offline Folders (Strongly Recommended)
Disabling Offline Folders prevents Windows from caching network files on its local disk C a feature with no benefit to a diskless system. Configure this feature via the client or Windows Group Policy.
To configure via the client :
Open Windows Explorer.
Select Tools > Folder Options.
Select Offline Folders.
Uncheck Enable Offline Folders.
To configure via Windows Group Policy:
On the domain controller, use the Microsoft Management Console with the Group Policy snap-in to configure the domain policies for the objects shown in the following paragraphs.
Object
User Configuration \ Administrative Templates \ Network \ Offline Files
Policy
Disable user configuration of Offline Files
Setting
Enabled
Policy
Synchronize all offline files before logging off
Setting
Disabled
Policy
Prevent use of Offline Files folder
Setting
Enabled
Configuring Event Logs
Reduce the maximum size of the Application, Security, and System logs. Configure this feature via the client or Windows Group Policy.
To configure via the client :
Select Start > Settings > Control Panel.
Open Administrative Tools \ Event Viewer.
Open the properties for each log.
Set the Maximum log size to a relatively low value. Consider 512 kilobytes.
To configure via Windows Group Policy:
On the domain controller, use the Microsoft Management Console with the Group Policy snap-in to configure the domain policies for the objects shown in the following paragraphs.
Object
Computer Configuration \ Windows Settings \ Event Log \ Settings for Event Logs
Policy
Maximum Application Log Size
Setting
Relatively low value. Consider 512 kilobytes.
Policy
Maximum Security Log Size
Setting
Relatively low value. Consider 512 kilobytes.
Policy
Maximum System Log Size
Setting
Relatively low value. Consider 512 kilobytes.
Configuring Hibernation
Disabling Hibernation prevents Windows XP from storing memory state in a large disk file (e.g. hiberfil.sys).
On Windows XP, disable Hibernation as follows.
Select Start > Control Panel.
Open Power Options.
Select Hibernation.
Uncheck Enable hibernation.
Configuring System Restore (Strongly Recommended)
Disabling System Restore prevents Windows XP from storing any restore points that result in large disk files. BXP provides an inherent restore feature whenever the client reboots.
On Windows XP, disable System Restore as follows.
Select Start > Control Panel.
Open System.
Select System Restore.
Check Turn off System Restore.
Configuring Logical Prefetcher
Disabling Logical Prefetcher prevents Windows XP from caching additional files.
Set the following registry value to 0 (zero).
HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\PrefetchParameters\EnablePrefetcher