The first step in optimizing any system is to determine what is currently happening in the system. Many people want to improve performance, and they often waste money by upgrading components that are not currently causing a system bottleneck. A system bottleneck is a component that is causing the overall system to slow down.
Microsoft provides the System Monitor utility, which can help you see how well your components are performing. By analyzing performance, you can determine which components need to be upgraded. You should start your analysis by looking at the major components: CPU, RAM, and hard drive. From there, you can expand your examination by evaluating the network and other devices that make up your system.
Note | System Monitor is installed by default in Windows 2000 and Windows XP. You have to install System Monitor in Windows 98. |
Upon completion of this lab, you will be able to:
Install System Monitor in Windows 98
View performance activity on a Windows 98/2000/XP computer
For this lab, you will need a computer running Windows 98, Windows 2000, or Windows XP. You will need the Windows 98 Installation CD to install System Monitor.
In this set of exercises, you will look at CPU, RAM, and hard-drive performance on a computer. The first step in Windows 98 is to install System Monitor; the utility also works differently in Windows 98. In Windows 2000/XP, the difference is in the way you launch the utility.
Open Add/Remove Programs in Control Panel:
Start Settings Control Panel Add/Remove Programs
Click on the Windows Setup tab to open the Windows Setup dialog box.
Highlight System Tools and click Details.
Note | Be careful not to click the check box. Doing so installs all the system tools. |
Click the System Monitor check box and then click OK.
Click OK in the Add/Remove Programs Properties window.
When prompted, insert the CD into the CD-ROM drive. Click OK to install the files.
Close Control Panel.
In Windows 98,
Open System Monitor:
Start Programs Accessories System Tools System Monitor
When the System Monitor opens, it shows the Kernel category with the Processor Usage (%) item active. By default, it collects information every 5 seconds. You will add some items in different categories by using the Edit menu. (There are icons to accomplish the same tasks; hover your mouse over the icons so you can see what they do.) Choose this menu item:
Edit Add Item
Under Category, click Memory Manager. This option allows you to add items related to memory. Click Allocated Memory.
Click the Explain button. Doing so provides an explanation about the item. Click OK.
Click OK to add allocated memory.
View the graph of allocated memory.
Add an item to view the number of reads per second from the hard drive:
Edit Add Item File System Reads/Second
Add an item to view the number of cache hits:
Edit Add Item Disk Cache Cache Hits
Add an item to view the number of threads:
Edit Add Item Kernel Threads
Add an item to view the size of the disk cache:
Edit Add Item Memory Manager Disk Cache Size
View System Monitor for a couple of minutes. Record the peak values for the items:
Launch an application.
View System Monitor for a couple of minutes. Record the new peak values for the items:
Create a snapshot of the activity:
File Start Logging
Accept the default log name by clicking Save.
After a few minutes, stop the logging activity:
File Stop Logging
Close System Monitor.
To view performance activity in Window 2000 and Windows XP,
Open the Performance window.
In Windows 2000:
Start Settings Control Panel Administrative Tools Performance
In Windows XP:
Start Control Panel Performance and Maintenance Administrative Tools Performance
To see any activity, you must add counters to the window. To add counters, click the Add button in the Performance window. The Add button looks like a plus sign.
In the Add Counters window, click on the Performance Object drop-down menu and select the Processor object. Highlight the % Processor Time counter in the Select Counter from List field. Click Add.
Click on the Performance Object drop-down menu and select the Memory object. Highlight the Pages/sec counter in the Select Counter from List field. Click Add.
Click on the Performance Object drop-down menu and select the Paging File object. Highlight the %Usage counter in the Select Counter from List field. Click Add.
Click on the Performance Object drop-down menu and select the Physical Disk object. Highlight the Disk Read Bytes/sec counter in the Select Counter from List field. Click Add.
Click Close to view the chart.
View System Monitor for a couple of minutes. Record the peak values for the counters:
Close the Performance window.