Stories By Fabian Pascal32-Bit ComputingPerformance
Tweaks The
Communications Subsystem Best
of Breed System -- 2nd Generation: Intel "Compatibility" Under Windows NT Disk SubsystemPC Advisor Column (www.dsi2000.com) Selecting a Slot 1 System board
Also of Interest: Transferring Files With Flipdisk By Ed Kahn By Woody Liswood Linux: By Kevin Savetz and Neil Randall Open Source Software: More Than An Emerging Alternative By Michael Robin |
|Feedback To Author | Feedback To Webmaster Copyright © 1999 by Fabian Pascal. All Rights Reserved 32 Bit ComputingPerformance Tweaks For the Rest of Us --
In the first part of this two-part series I showed that tweaking the BIOS, NT registry and chipset transfer rates has a no noticeable effect on the performance of business applications as measured by the Winstone 98 and 99 benchmarks. The BIOS tweaks account for all of the improvements of 5% for Winstone 98 (ranging from 3% for publishing applications to 5.5% for web browsers) and 3.5% for Winstone 99, which measures multitasked applications. Since BIOS tweaks cost nothing, however, there is no reason why you should not apply them. To recall, the criteria for reasonable tweaks are (a) require no technical expertise (b) easy and not time consuming (c) free or inexpensive (d) no disassembly or modifications of hardware (e) little or no damage risk. Are there other such tweaks that improve business applications performance on the recommended system? Note: The BIOS-tweaked performance serves as the base for the tests in this article. Swapfile Placement Because, as I showed in another disk subsystem article, the transfer rate decreases across the disk from the outside in, it is claimed that "... putting the swap file as the first file on a drive is because the drive can load things faster from the front of the drive." And according to Microsoft "... placing the pagefile on the boot partition does not optimize performance, because Windows NT has to perform disk I/O on both the system directory and the pagefile ... place the pagefile on a different partition and different physical hard disk drive so that Windows NT can handle multiple I/O requests in a quicker fashion ... The best option is to create the pagefile ... in its own partition, with no data or operating system-specific files." On the other hand, others argue that "Evidently, creating a permanent, contiguous swapfile that's just nice for your system and moving it to the outer tracks of the hard disk is the best way to optimize your swapfile ... Moving the swapfile to an alternate hard disk is nice from a theoretical point of view, but it is actually very hard to implement effectively. Needless to say, moving the swapfile to a different partition is both a waste of time and counterproductive." There seems to be agreement, thus, that placing a sufficiently large swap file in its own, first partition on a drive will maximize performance. Note very carefully, though, that the effectiveness of this technique depends on the amount of swapping to disk that occurs which is, in turn, a function of the available memory and the applications being run. Furthermore, the magnitude of the effect will also be affected by whether NT will need to expand the initial swap file and how much. If you have 256MB of RAM, and run only one or two applications that use small data files, there will be no swapping and if the initial size of the swap file is large enough, it won't require expansion. the placement may have no effect on performance. (To determine if swapping occurs and how much, you need to configure NT's Performance Monitor to record the swap file size in a log file; there are instrucions to that effect in the Microsoft Knowledge base). According to Ziff-Davis. "Business Winstone 99 scores increased under NT when we increased RAM above 64MB. There was little change in scores for Winstone 98 above 64MB." This suggests that the 99 version requires more than 64MB of memory -- the base memory for the benchmark -- and the 98 version less; but this does not tell us how big the swapfile must be to avoid expansion. To gauge the effect of swapfile placement on business application performance, I ran the Winstone benchmarks on the recommended system equipped with 64MB of RAM and configured a 25MB swapfile as follows: 1. in the same partition (H:) with NT 2. in its own partition (I:) at the end of the same drive 3. in a not used partition (D:) on another drive 4. in its own, first partition (J:) of the drive on which NT and the Winstone benchmarks It's very unlikely that owners of a best-of-breed system will have less memory and not enough disk space to create a 25MB swapfile, and if the placement does not help performance under these constraints, it certainly won't help in their absence. Figure 1 shows that performance is practically the same for all four configurations, for both Winstone 98 and each of its applications and Winstone 99. Swapfile Placement
*25MB swapfile initial
size 25M Figure 1: Effect of placement of swap file on performance
*base: BIOS-tweaked,
300x66, 1280x1024x32bit@75Hz refresh
In Figure 2, the effects of the overclocking on performance
are
|