Overview Series: Windows Vista Performance and TuningImprove Performance Quickly and EasilyThe

pdf
Số trang Overview Series: Windows Vista Performance and TuningImprove Performance Quickly and EasilyThe 14 Cỡ tệp Overview Series: Windows Vista Performance and TuningImprove Performance Quickly and EasilyThe 1 MB Lượt tải Overview Series: Windows Vista Performance and TuningImprove Performance Quickly and EasilyThe 0 Lượt đọc Overview Series: Windows Vista Performance and TuningImprove Performance Quickly and EasilyThe 0
Đánh giá Overview Series: Windows Vista Performance and TuningImprove Performance Quickly and EasilyThe
4.4 ( 7 lượt)
Nhấn vào bên dưới để tải tài liệu
Đang xem trước 10 trên tổng 14 trang, để tải xuống xem đầy đủ hãy nhấn vào bên trên
Chủ đề liên quan

Nội dung

Overview Series: Windows Vista® Performance and Tuning Improve Performance Quickly and Easily The Windows Vista® operating system and the recent Service Pack 1 (SP1) provide major advancements in usability, reliability, connectivity, and security. These improvements are helping businesses and consumers become more productive than ever. While performance is often thought of simply in terms of speed, it is better to think of performance as a combination of speed and responsiveness. For example, one approach to optimizing performance when copying large numbers of files would be to copy those files as fast as physically possible. Unfortunately, this approach would leave the system unresponsive during the operation. Windows Vista and SP1 focus on delivering greater performance and overall system responsiveness. By striking a balance between speed and responsiveness, Windows Vista and SP1 deliver a level of performance that has the greatest positive impact on the system’s usability. Improving the performance of a computer follows the principle of diminishing returns. There are a few actions you can take with any computer that should improve performance dramatically. Additional actions provide smaller performance improvements. This guide looks at the following areas of performance improvement:      Making configuration changes that help a computer feel more responsive when you use it. Using hardware to boost the actual physical speed of a computer. Making configuration changes that help a computer to start faster. Making the computer more reliable may help increase performance. Monitoring performance occasionally so that you can stop problems before they get too big. While the bulk of this guide focuses on performance improvements on a single computer, this guide also takes a look at some of the tools used in enterprise environments to help make performance tuning manageable on a much larger scale. Optimizing Hardware Organizational Needs Specifications to Your Although the minimum requirements for the Windows Vista operating system are highlighted in the Windows Vista TechCenter, you should validate hardware performance with your intended applications and user expectations before determining your organization’s standard hardware specifications. For example, when deploying Windows Vista many organizations have found that the following configuration yields good results, especially for higher knowledge worker scenarios:    At least 2 GB of RAM. At least a 2 GHz processor. A compatible graphics adapter that provides improved performance. If you are deploying Windows Vista with the Windows® Basic theme settings, you can reduce these recommendations considerably. Customize the hardware specifications and operating system configurations based on the user roles and operational needs in your organization. For more information about customizing the hardware specifications and operating system configuration, see:  Windows Vista Enterprise Hardware Planning Guidance http://technet.microsoft.com/enus/windowsvista/aa905075.aspx Make Your Computer Feel More Responsive Another way to improve perceived performance on a computer is to make it feel faster. Or more accurately, you can remove things that make the computer feel slower. You do this by making sure that various configuration settings are optimized. Check Power Settings on Mobile Computers When a computer is operating on a battery, you must strike a balance between battery life and performance. Better performance almost always drains battery life more quickly. Windows Vista provides three built-in power plans, as shown in Table 1. You can modify the settings for the three built-in plans to suit your needs, or even create your own power plans. You can change a built-in plan's settings or create your own plan by using the Power Options settings in Control Panel. Figure 1. Select the most appropriate plan To create a power plan: 1. Power Plan Description 2. 3. Balanced Balances energy consumption and performance by adapting the computer's resources to a specific activity. By balancing the power used, when more power is needed, more becomes available; when less is needed, less is available. Power Saver Saves power by reducing system performance. The primary objective of this plan is to maximize battery life. High Performance Offers the highest performance possible by maximizing available resources for best performance. There will be a trade off for the high performance with battery life. If you want to create your own power plan, with the Power Options window open, click Create a Power Plan (refer to Figure 1). Select the built-in power plan that most closely matches what you want to create. Type a name for the plan, and then click Next, as shown in Figure 2. Table 1. You can choose from three power plan options To choose a preferred plan: 1. 2. 3. Click Start, and then click Control Panel. In the Control Panel window, click System and Maintenance, and then click Power Options. Select the desired power plan, as shown in Figure 1. Note that depending on the manufacturer of the computer, you may see additional power-management options. Figure 2. Create your new power plan 4. Configure custom settings for your plan, including when to turn off the display, when to put the computer to sleep, and display brightness depending 5. on whether the mobile computer is plugged in or running on battery power (Figure 3). Click Create. with—particularly on slower computers. By default, Windows Vista enables visual features based on the capabilities of the computer, but you can enable or disable specific visual effects to help strike a balance between performance and appearance. Windows Vista provides quick access for enabling and disabling these effects. To disable visual effects 1. 2. Figure 3. Create your own power plan Click the Battery Meter icon in the notification area to open the menu shown in Figure 4, which lets you change to a different power plan and also offers more visual cues about battery life. For example, when the battery life reaches 25 percent, a yellow triangle with an exclamation point appears over the battery icon. When the charge reaches critically low battery levels, a red circle with a white X appears. Figure 4. Use the Battery Meter to change power plans quickly Disable Visual Effects Many of the visual effects in Windows Vista, such as the Aero® desktop experience, are beautiful and are designed to enhance user productivity. They add not only a certain flair to the computing experience but also subtle visual clues about what’s happening in Windows, which may help user productivity. That said, these visual effects can slow down the perceived performance of a computer, by making windows, dialog boxes, and menus take just a bit longer to open and work 3. 4. 5. 6. 7. Click Start, and then click Control Panel. In the Control Panel window, click System and Maintenance. Click System. In the Tasks pane, click Advanced System Settings. Enter your administrator credentials and click Continue if you are prompted by User Account Control. On the Advanced tab, click Settings in the Performance section. Use the Performance Options dialog box to enable or disable visual effects, as shown in Figure 5. Figure 5. Disable performance slightly visual effects to enhance efficient remote searches on them. If you don’t expect files on the share to be searched over, you can disable indexing on it.). In order to disable Aero effects, you can right click your desktop and click Personalize. In the Personalize appearance and sounds window, click Windows Color and Appearance and chose a theme. Make sure the Enable transparency box is not checked to disable Aero. Adjust Search Settings For users who run Windows Vista SP1, installation of Windows Search 4.0 offers the most efficient and comprehensive way of improving performance of search and reducing the impact of indexing on the system. Both search queries and data indexing are faster with Windows Search 4.0, and indexing process is better at releasing system resources when they are required by the user or other processes on the PC. Another method for optimization of search functionality, also available to users without Windows Search 4.0 installed, is to adjust indexing settings. The index in Windows Vista stores information about the files on a system, including but not limited to the file name, date modified, and author, as well as information allowing fast searches over textual content of the indexed files for many supported file formats. Instead of looking through the entire hard disk for a file, Windows scans the index for the information first. To access the indexing options 1. 2. 3. Click Start, and then click Control Panel. In the Control Panel window, click System and Maintenance. Click Indexing Options. Modifying options in the following ways can help improve a computer’s performance:    Add or remove folders by clicking Modify (Figure 6). By default, personal folders (e.g., My Music, My Documents, My Pictures) are indexed. Rebuild a corrupt index or change the location of the index by clicking Advanced. Remove rarely searched folders or shared folders from the index, and do not include unused folders. (Windows Search 4.0 automatically adds all shared folders to the list of indexed locations, to enable Figure 6. Add or deleted indexed folders Please note that searching over locations not included in the index is significantly slower than searching over indexed locations. Use Hardware to Boost Performance The most effective way to increase the performance of a computer is by improving the hardware in the computer. The three main hardware issues governing performance are CPU, hard disk speed, and memory capacity. This guide looks at less invasive ways to boost performance through hardware. Speed up Your Computer with Windows ReadyBoost™ While adding more memory to a computer is a great way to boost performance, it isn’t always easy to do. To install memory, you must be willing (or allowed) to open the computer case or pay someone else to do it. Sometimes, it can be difficult to tell what type of memory you need to install or how much you can install. And depending on the type of computer you have, even getting to the memory slots can be tricky. Windows Vista includes a feature named Windows ReadyBoost (shown in Figure 7). ReadyBoost technology uses non-volatile flash memory, such as that found on a USB Drive or Secure Digital (SD) card, and a memory management technology called Windows SuperFetch™ to provide a cache for the memory paging file stored on the computer’s hard disk. Since accessing flash memory is much faster than accessing a hard drive, using Windows ReadyBoost can significantly increase performance. Figure 8. You configure how much space to allocate to Windows ReadyBoost Figure 7. ReadyBoost is simple to use And since the swap file itself is still stored on hard disk (only a cache for that file is stored on the USB drive), no data can be lost if you remove the ReadyBoost drive from the computer. Using ReadyBoost is simple. Just plug a ReadyBoost compliant USB 2.0 drive into the computer. To determine if a USB 2.0 is ReadyBoost compliant, right click the USB drive in Computer and choose Properties. When you go into the Properties dialog box, ReadyBoost will perform a performance test to see if the device is fast enough. A drive should support 2.5MB/s for 4KB random reads and 1.75MB/s for 1MB random writes. Windows Vista determines whether the drive is fast enough or has enough space to use as a ReadyBoost drive. If the drive is fast enough, Windows displays the Speed up my system option in the AutoPlay window. After selecting the Speed up my system option, Windows Vista displays the ReadyBoost tab of the disk’s Properties dialog box, as shown in Figure 8. You can turn ReadyBoost off for the drive or if left on, designate how much space to use for speeding up the system. Of course, there are some limitations to ReadyBoost. Generally speaking, the lower the physical memory of the computer, the bigger the existing disk cache that can be offloaded to the ReadyBoost drive, and the greater the gain in performance. As a computer gains more physical memory, the performance boost is less significant. Consider Windows ReadyDrive™ Windows ReadyDrive technology is another feature introduced in Windows Vista that works in tandem with two new types of disk drives:   Hybrid hard disk drives, which are traditional hard drives with an integrated cache of non-volatile flash memory. Intel TurboMemory drives, where the non-volatile flash memory is actually detached from the drive. ReadyDrive technology provides three benefits:    Performance-critical data is loaded into flash memory so that it is accessed faster than if it were stored on traditional hard disk. Startup files are loaded into flash memory, which translates to shorter startup times for Windows Vista. Since the traditional hard disk needs to be accessed  less often, it can spin down for longer periods, boosting the battery life of mobile computers. In Windows Vista Service Pack 1, ReadyDrive improves startup speed by 27-55% compared to Windows Vista RTM (Source: Internal Microsoft Testing). Note: You can purchase products that are supported by ReadyDrive from the Windows Marketplace, as well as select retail locations. Make Your Computer Start Faster One of the most frustrating times for a user can be waiting for a computer to start. You wait for the computer to boot up, wait for Windows to load, log in, and then finish waiting for all the background programs and services to load. It is not usually hard to trim the startup time for a computer and doing so almost always makes for a more pleasant computing experience. Removing unwanted background programs and services also may have the side benefit of helping to make a more secure, reliable system. Put Your Computer to Sleep Sleep is a feature in Windows Vista, supplanting the Standby feature of previous Windows OS versions. In the past, Standby didn’t always work well and computers were slow to come out of standby. In contrast, Sleep in Windows Vista is reliable, fast, and useful. In fact, in Windows Vista, Sleep should be considered the new default “Off” state. If you don’t already use the Sleep function in Windows Vista, you will find that you can start up a computer much faster by not shutting it down completely in the first place. Putting a computer to sleep is easy. You can choose Sleep from the Start menu (shown in Figure 9), press the power button on your computer (in Power Settings the power button must be configured to Sleep), press the Sleep button offered on many keyboards, or just close the cover of a laptop computer. Figure 9. Sleep is the new Off state When a computer enters Sleep state, Windows Vista saves the current session to memory and enters a low power state where only memory is powered. In Sleep state, the computer uses very little power— extending battery life for mobile computers and conserving energy even for desktop computers while ensuring that the computer is still ready for action quickly. In fact, on a modern laptop computer, power consumption in sleep state is typically less than one watt. Windows Vista also includes a new Hybrid Sleep function. Hybrid Sleep will function as a failsafe in case of power loss by saving the session to memory normally, but also writing it all to the hard drive (similarly to how hibernate works). This ensures that even when power is lost, data remains intact. When you want to resume working, just press the power button, tap a key on the keyboard, or, on laptop computers, open the cover. Windows Vista takes only a few seconds to resume from sleep, though it can take a little longer to resume from Hybrid Sleep after you restore a power source to the computer. Note: The success of using Sleep on any computer is reliant on having good drivers for hardware peripherals. The best results will come from a computer designed for Windows Vista. Disable Unwanted Startup Programs Many programs have components that start when Windows starts and run in the background. While some of these programs are necessary (such as antispyware programs), you will find that others may not be necessary. Some of these programs may have been preinstalled with a new computer and some may have been installed by the user. It will be up to you as the IT Pro and the user to determine what programs are unused. Each program that runs in the background consumes system resources, so removing unused programs not only may help the computer start faster, but may also improve overall performance. Disable Background Programs or Services If you don’t want to uninstall a program or service completely, you can prevent the program or service from starting with Windows. Many programs offer an easy way to prevent this behavior. You should try the following:  Some programs that run in the background are represented by icons in the notification area, shown in Figure 10.  Figure 10. Each icon represents at least one running process and sometimes many more There are two approaches you can take to prevent a program from starting with Windows Vista unnecessarily:   If it is a program you don’t need at all, then you can uninstall the program using Add/Remove Programs in Control Panel If it is a program you want to keep on your computer, but you don’t need the program running in the background, you need to prevent the program from starting automatically with Windows. Remove Unused Programs If you do not need a program at all, you can simply uninstall the program. Removing unused programs prevents those programs from running in the background and frees up disk space on the computer.  If a program does not offer a friendly way to prevent it from running with Windows, you can move on to the more powerful System Configuration utility (often called MSCONFIG, after the name of its executable file). To use System Configuration: 1. 2. 3. 4. To remove a program: 1. 2. 3. 4. 5. Click Start, and then click Control Panel. In the Control Panel window under Programs, click Uninstall A Program. Click the program you want to uninstall and then click Uninstall/Change. If you are prompted by User Account Control, enter your administrator credentials and then click Continue. Follow the directions provided by the uninstall program. Click or right-click the program icon in the notification area. Look for an Options, Preferences or Properties command. Sometimes, the program offers an option for having the program start with Windows. Start the program and look through the program menus for a similar option. Check the Startup folder on the Start menu. Often, programs place shortcuts there to load components at startup. 5. 6. Click Start. In the Start Search window, type msconfig. (You can also press WINKEY+R to open the Run dialog and then type msconfig.exe) Under the search results, click msconfig.exe. Enter your administrator credentials and click Continue if you are prompted by User Account Control. In the System Configuration window, the Startup tab shows all the programs that are scheduled to start with Windows, as shown in Figure 11. Resize the columns so that you have a good view of the name and manufacturer. Go through each item, clearing the check box for programs you don’t want to start with Windows. Click OK, and then restart the computer. Figure 11. The Startup tab shows programs scheduled to start with Windows Note: If you are not sure what a program is, research the program before disabling it. Also, while it takes longer, you might want to disable programs one at a time, restarting Windows to ensure that everything is running smoothly before disabling the next item. You can also use Windows Defender to disable startup programs (Figure 12). The interface is more polished and includes information about the programs, but works much the same as the System Configuration tool. Note that if you have another anti-spyware program installed, Windows Defender likely will be unavailable. To use Windows Defender to disable startup programs 1. 2. 3. Click Start and then type Windows Defender in the Search box. When the Windows Defender dialog box appears, click Tools. Under Tools, click Software Explorer and disable the programs you don’t want to startup. Figure 12. Windows Defender provides useful information about startup programs Disable Unwanted Services A service is a program designed to run in the background and provide particular services to the programs on a computer. While this sounds a lot like a regular program that runs in the background, there are a couple of important differences:   Services can log onto the computer with specific credentials. This means that a service can run even if a user does not log on. Services may have dependencies. Services can be set so that other services must load first in order for a service to start. These distinctions are important to understand when you set off to locate and disable unused services. Before you turn a service on or off, you must understand what that service does and whether other services depend on it to load. It is not a purpose of this guide to detail every service available on a computer running Windows Vista. However, it can give you some tips for determining if a service is a good candidate to disable and show you how to disable a service. Warning: If you are ever unsure of what a service does, do not disable or stop it. To view all services available on a computer: 1. 2. 3. Log onto the computer with an administrator account. Click Start and then type Services in the Search box. Under Programs, click Services. Enter your administrator credentials and click Continue if you are prompted by User Account Control. The Services window is shown in Figure 13. Figure 13. Adjust the columns so you can see the service name, description, status, and startup type 4. Click any service to see a basic description of that service. If you find the service description inadequate, try searching Microsoft TechNet using the service name as a key word. You can often find good information about what a service does. 5. 6. 7. Double-click a service to open its Properties dialog box (shown in Figure 14). Use the Dependencies tab to make sure that other services are not dependent on the service you are examining. To stop the service, click Stop. Figure 14. Disable a service if you are sure the computer does not need it. 8. To prevent the service from starting with Windows, from the Startup Type drop-down list, click Manual. This ensures that the service is still available, but you must start it manually if you need it. You can also choose Disable to make a service unavailable. 9. To prevent the service from starting during the normal startup period, but have it still run later, from the Startup Type drop-down list, click Automatic (Delayed Start). 10. Click OK. 11. If you are asked to, restart the computer. Improving Performance on User Account Control While we recommend that the majority of your users run with standard user (non-administrator) privileges, there are times when it is necessary to deploy a subset of users with administrative privileges. In such circumstances, the User Account Control (UAC) Consent Prompt can slow access to administrative operations and has led some organizations to look at turning UAC off entirely. A better alternative is to change the behavior of the elevation prompt for administrators to elevate without the prompting. This option, which can be set via Group Policy, allows the administrator to perform an operation that requires elevation without consent but still provides the other benefits afforded by UAC, such as Internet Explorer Protected Mode. For more information read “Understanding and Configuring User Account Control in Windows Vista” at the Windows Vista TechCenter. Make Your Computer More Reliable There are several steps you can take to help make a computer more reliable, and reliability can translate into better performance. Keeping your computer running reliably involves keeping your disk clean of unwanted files and keeping your disk defragmented. Clean Things up with Disk Cleanup Disk Cleanup examines a computer’s drive to determine what files can be deleted. Disk Cleanup can find and delete the following types of files:         Downloaded program files Temporary Internet files Offline Web pages Recycle Bin contents Setup log files Temporary files Thumbnails Archived Windows Error Reporting To run Disk Cleanup: 1. 2. 3. 4. Click Start, point to All Programs, point to Accessories, point to System Tools, and then click Disk Cleanup. You can also type Disk Cleanup in the Search box on the Start menu. Choose whether to clean up only the current user’s files or files from all users on the computer. Select the drive you want to clean up and then click OK. After scanning the disk, Disk Cleanup presents the types of files that it found and shows how much disk space deleting those files will free up, as shown in Figure 15. Select the checkboxes of the file types you want to delete and then click OK. Figure 15. Use Disk Cleanup to delete unused files Disk Cleanup becomes even more effective if you schedule it to happen automatically. To schedule Disk Cleanup to run automatically: 1. 2. 3. 4. 5. 6. 7. 8. 9. Click Start. In the Search box, type Task Scheduler. Click Task Scheduler. In the Actions pane, select Create Basic Task. Type a name for the task, and then click Next. Select how often the task should run. For Disk Cleanup, Weekly is a good choice. Click Next. Set the time and day the task should run, and then click Next. Select Start A Program in the Action list. Click Next. Click Browse, navigate to the System32 folder (the default), and then select cleanmgr. Click Open. Click Next, and then click Finish. You should see your new task in the Task Scheduler window, as Figure 16 shows.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.