Beruflich Dokumente
Kultur Dokumente
Page 1 of 9
United States
Search:
Business
Shopping cart Your cart is empty Hello, Somchat View/edit profile Sign out Products Support & Drivers Solutions Services Learning center My classes All classes Help Contact us Tell a friend
Now that you're feeling confident with adjusting Windows settings, let's get down to some real business. In this lesson, you'll learn about some tweaks that can speed up your computing experience in various ways.
Are you looking for ways to secure both your personal systems and your network? Rely on HP's years of experience working with customers of all sizes to identify and eliminate potential security threats.
Buying options
Shop online at HP Business to business Other ways to buy Special offers News & events Request catalog & news
This one isn't really a Windows tweak, but it can make a huge difference. If you have more than one parallel IDE drive on a chain, be aware that a slow drive can impede a faster one that shares its cable. For example, if you have an UltraATA/33 drive on a cable with an UltraATA/133, both are limited to UltraATA/33 speeds. You might want to physically shuffle the cabling inside your PC to put your fastest and best hard disk on the primary IDE all by itself. If this requires reinstalling Windows from scratch on that drive, you should consider it if performance is super-important to you. At the very least, move any slower drives off the cable from your faster ones if possible, or if not, put the faster one as the master on the cable. You could even put in a PCI EIDE controller board to offload some of your slower drives. Use NTFS Unless you have some compelling reason for keeping a hard drive with FAT32, switch to NTFS, a superior file system that offers not only faster disk access, but also better security and reliability. Use the Convert.exe utility to perform the conversion. See How to convert a FAT16 volume or a FAT32 volume to an NTFS file
http://h30187.www3.hp.com/sessions/lessons/viewLessonAllPages.jsp?courseSessionId=1... 6/19/2006
Page 2 of 9
system in Windows XP from Microsoft for details. If you're not sure whether you want to do the conversion, read NTFS or FAT32? to help you decide.
Page 2 of 8
Here are some additional ways to improve your hard disk's performance.
Enable DMA
DMA (Direct Memory Access) is the write method that makes it possible for the drive to bypass the CPU and write directly to RAM for greater performance. It should be enabled by default on drives that support it (which is virtually every drive made in the last decade), but it sometimes isn't. To check the drive's DMA setting, you need to know the physical position at which the drive is installed in relation to your system's built-in parallel ATA controllers. You also need to know it's on the Primary or Secondary IDE, and whether it's the master (Device 0) or the slave (Device 1).
http://h30187.www3.hp.com/sessions/lessons/viewLessonAllPages.jsp?courseSessionId=1... 6/19/2006
Page 3 of 9
Then open Device Manager and display the properties for the IDE channel on which the drive is connected (either Primary IDE or Secondary IDE). Check the Transfer Mode setting for the position of the drive and set it to DMA if available, as shown in Figure 5-2.
Figure 5-2: DMA should be enabled for all modern hard drives. While you're in the IDE channel's properties (Figure 5-2), if you have no device on the slave position (Device 1), set it to None to shave a second or two off the boot process. It doesn't have to look for a drive on that channel every time. Make sure you don't have a drive connected there, though, or be disabled. And if you ever want to install another drive in your system, you'll need to remember that you disabled that drive position.
Page 3 of 8
Here's an easy and harmless tweak that doesn't involve the Registry -- just a couple of dialog box settings. Processor scheduling can be set to be optimized either for Programs or Background Services. When optimized for Programs, the foreground task takes priority. When optimized for Background Services, all running processes share processing time equally. For example, suppose you have a CD or DVD writer that you use to write discs in the background as you play games. If you find your disc writes are terminating with errors because the game is sucking up all the CPU time, try the Background Services setting to make them share the CPU more equitably (but expect game performance to suffer). Memory usage can be set to either Programs or System Cache. On systems with less than 256 MB of RAM, leave it set to Programs. On systems with more RAM than that, however, you might find better performance with System Cache. For a clearer picture of the performance change that each setting makes, try changing only one of them at a time. They are both set from the same dialog box, however: In the Control Panel, double-click System to open its Properties dialog box. Click
http://h30187.www3.hp.com/sessions/lessons/viewLessonAllPages.jsp?courseSessionId=1... 6/19/2006
Page 4 of 9
Advanced tab. Under Performance, click Settings. Click the Advanced tab. Adjust either the Processor scheduling or the Memory usage, as shown in Figure 5
Figure 5-3: Optimize CPU and memory usage for different types of activities. Restart and observe the performance difference. Change the setting back the way it was if you think performance has degraded.
Page 4 of 8
Here are some ways of potentially improving your Internet and network connections.
http://h30187.www3.hp.com/sessions/lessons/viewLessonAllPages.jsp?courseSessionId=1... 6/19/2006
Page 5 of 9
them, SpeedGuide.net, offers packaged code that you can import into the Registry. Because you haven't learned how to import packaged code yet in this course, let's look at an example now. This tweak forces Windows not to cache failed DNS lookups, so it will go back and requery a failed Web site that might have only been temporarily unavailable. (It's mostly harmless to change.) Go to SpeedGuide.net and download the WinXP_dnscache.zip and WinXP_dnscache_undo.zip files to your desktop. Open WinXP_dnscache.zip and then drag a copy of the WinXP_ndscache.reg to the desktop. Double-click the .reg file. When prompted to merge the file to the Registry, click Click OK at the success confirmation. Reboot. If you have any trouble with your system after making this change, repeat Steps 11 to 13 for the WinXP_dnscache_undo file.
Page 5 of 8
When Microsoft Internet Explorer successfully looks up a DNS address (that is, the translation between a domain name and an IP address), it caches it for later reuse. Increasing the size of that cache might in some cases make your Web surfing a little faster. This tweak was chosen for this lesson not so much for its compelling benefit (although it does help a little), but as a learning tool that showcases one more type of Registry editing technique. In the preceding section, you saw how to integrate a premade Registry patch that you downloaded; now you'll create your own. In Notepad, start a new file and enter the following text into it (or copy-and-paste from below): Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\ Services\Dnscache\Parameters] "CacheHashTableBucketSize"=dword:00000001 "CacheHashTableSize"=dword:00000180 "MaxCacheEntryTtlLimit"=dword:0000fa00 "MaxSOACacheEntryTtlLimit"=dword:0000012d Save the file as DNSCache.reg to your desktop. From the desktop, double-click the file, and when prompted to merge it to the Registry, click Yes. Click OK at the success confirmation.
Page 6 of 8
Depending on your Internet connection type, changing the MTU (Maximum Transmission Unit) might speed up your connection somewhat. The MTU is the maximum size of a packet that can be sent over the network connection. Some reference sources give the following guidelines for the MTU size: For a dial-up connection: 576 For PPPoE: use 1482 For DSL, cable, or network connection: 1500 However, there's a more scientific way of determining the exact setting to use for the network adapter you use for your Internet connection. Read the MTU article at Broadband Reports to learn how to experiment with the Ping command at a command line to find the optimal setting.
http://h30187.www3.hp.com/sessions/lessons/viewLessonAllPages.jsp?courseSessionId=1... 6/19/2006
Page 6 of 9
If you don't want to mess with these MTU experiments, that's fine; in the next section you'll learn about a utility that handles many TCP/IP (Transmission Control Protocol/Internet Protocol) setting changes automatically, including MTU. When you've determined the optimal setting, open the Registry Editor and navigate to HKLM\SYSTEM\CurrentControlSet\Services\TCPIP\Parameters\Interfaces\<<adapterID>> Create a new DWORD value called MTU, and set its value, in decimal, to the number you determined. One tricky part is to determine which adapter ID matches up with which network adapter if you have more than one. One way to tell is to use IPCONFIG at a command prompt to find the IP address of the desired adapter, as shown in Figure 5-4.
Figure 5-4: Use IPCONFIG to determine the IP addresses for each adapter. Enlarge image Then look at the IP address or DhcpIPAddress value for each of the adapterIDs in the Registry, as in Figure 5-5.
Figure 5-5: Match up the IP address in the Registry with the one from IPCONFIG. Enlarge image
Page 7 of 8
Starting or expanding your server line
There are several more network-based settings you can adjust, but it's not always clear what to use for the value data for best results. You can search the Internet looking for tweaks to make, and then make each one individually, but there's a better way.
http://h30187.www3.hp.com/sessions/lessons/viewLessonAllPages.jsp?courseSessionId=1... 6/19/2006
Page 7 of 9
The SpeedGuide.net site has its own automated (free) tweak program called TCP Optimizer. After downloading it, run it and do the following: Select File > Backup Current Settings. Save the backup wherever you like. Drag the slider on the General Settings tab to indicate your Internet connection speed (under best-case conditions). Select the Optimal settings option at the bottom of the window, as shown in Figure 5-6.
to manage users on your server, and HP's ProLiant servers are the affordable and easily-expandable servers to create or build upon the server infrastructure for your small or medium business.
Figure 5-6: Use an automated TCP/IP optimizer to make lots of changes at once. If desired, look at the other tabs to see which changes are being recommended. If you're curious what each setting does, look at the Help file. Click Apply Changes. The Apply Changes dialog box appears, listing all the changes to be made. Click OK to accept the changes, and then reboot. If you don't like the result, go back into the program and restore the backup you made there.
Yes, if you had done the TCP Optimizer first, it would have taken care of the MTU and the DNS caching for you automatically. But then you wouldn't have learned about importing registry keys, and you wouldn't have had the practice.
Page 8 of 8
Now let's look at some ways to speed up your start up and shutdown process.
http://h30187.www3.hp.com/sessions/lessons/viewLessonAllPages.jsp?courseSessionId=1... 6/19/2006
Page 8 of 9
exciting, but there it is. Another unglamorous but effective tweak is to turn on the Quick Boot feature in your BIOS Setup program. This bypasses the RAM checking at start up so cold boots occur more quickly. Some people will tell you that cleaning out your Windows\Prefetch folder or preventing Windows from prefetching will improve your startup time. However, expert Ed Bott, author of Windows XP Inside Out, explains why that advice is bogus in the article Beware of Bogus XP Advice, and then reiterates the point in the article One more time: do not clean out your Prefetch folder!.
Moving on
In this lesson, you learned a variety of tweaks for improving various aspects of system performance. Not all of them might be personally helpful to you; you don't have to make them all (or keep just because they were in this lesson. Keep only the ones you want, and feel free to revert back to a System Restore point after completing this lesson if you don't feel confident about your edits. Before you move on, do the assignment and take the quiz for this lesson. If you have any questions, post them to the Message Board so your fellow students and instructor can answer them. In Lesson 5, you'll learn about some of the most challenging (and interesting) Windows
http://h30187.www3.hp.com/sessions/lessons/viewLessonAllPages.jsp?courseSessionId=1... 6/19/2006
Page 9 of 9
customization tweaks.
Congratulations on completing the lesson! Don't forget the following: Assignment: Optimizing system performance Quiz: Lesson 5, quiz 1 Return to the lessons list to get a quick overview of the entire class
Printable version
Privacy statement
http://h30187.www3.hp.com/sessions/lessons/viewLessonAllPages.jsp?courseSessionId=1... 6/19/2006