Monitoring and Optimizing System Performance and Reliability in Windows XP Professional

written by: Clara Mikeri; article published: year 2006, month 08;



In: Categories » Computers and technology » Software » Monitoring and Optimizing System Performance and Reliability in Windows XP Professional

Task scheduler:

• Used to automate events such as batch files, scripts and system backups.

• Tasks are stored in the Scheduled Tasks folder in Control Panel.

• Running task with a user name and password allows an account with therequired rights to perform the task instead of an administrative account.

• Set security for a task by group or user.

Using offline files

• Offline files replaces My Briefcase and works a lot like Offline Browsing in IE5 and above.

• By default, offline files are stored in the %systemroot%\CSC (Client Side Caching) directory.

• Share a folder and set its caching to make it available offline. There are three types of caching:

o manual caching for documents - default setting. Users must specify which docs they want available when working offline

o automatic caching for documents - all files opened by a user are cached on his local hard disk for offline use - older versions on a user’s machine automatically replaced by newer versions from the file share when they exist

o automatic caching for programs -same as above, but for programs

• When synchronizing, if you have edited an offline file and another user has also edited the same file, you will be prompted to keep and rename your copy, overwrite your copy with the network version, or to overwrite the network version and lose the other user's changes (a wise SysAdmin will give only a few key people write access to this folder or everyone's work will get messed up).

• Using Synchronization Manager, you can specify which items are synchronized, using which network connection, and when synchronization occurs (at logon, logoff, and when computer is idle).

• The Offline Files feature is not compatible with a feature called Fast User Switching (discussed later).

Performance Console:

• Important objects are cache (file system cache used to buffer physical device data), memory (physical and virtual/paged memory on system), physicaldisk (monitors hard disk as a whole), logicaldisk (logical drives, stripe sets and spanned volumes), and processor (monitors CPU load).

Processor - % Processor Time counter measures time CPU spends executing a non-idle thread. If it is continually at or above 80%, CPU upgrade is recommended.

Processor - Processor Queue Length - more than 2 threads in queue indicates CPU is a bottleneck for system performance.

Processor - % CPU DPC Time (deferred procedure call) measures software interrupts.

Processor - % CPU Interrupts/Sec measures hardware interrupts. If processor time exceeds 90% and interrupts/time exceeds 15%, check for a poorly written driver (bad drivers can generate excessive interrupts) or else upgrade the CPU.

Logical disk - Disk Queue Length - if averaging more than 2, drive access is a bottleneck. Upgrade disk, hard drive controller, or implement stripe set.

Physical disk - Disk Queue Length - same as above.

Physical disk - % Disk Time- if above 90%, move data/pagefile to another drive or upgrade drive.

Memory - Pages/sec - more than 20 pages per second is a lot of paging - add more RAM.

Memory - Committed bytes - should be less than amount of RAM in computer.

diskperf - physical disk counters are enabled by default, but you will have to type diskperf -yv at a command prompt to enable logical disk counters for logical drives or storage volumes.

Performance Alerts and Logs:

Alert logs are like trace logs, but they only log an event, send a message, or run a program when a user-defined threshold has been exceeded

Counter logs record data from local/remote systems on hardware usage and system service activity

Trace logs are event driven and record monitored data such as disk I/O or page faults

• By default, log files are stored in the \Perflogs folder in the system's boot partition

• Save logs in CSV (comma separated value) or TSV (tab separated value) format for import into programs like Excel

• CSV and TSV must be written all at once, they do not support logs that stop and start. Use Binary (.BLG) for logging that is written intermittently

• Logging is used to create a baseline for future reference

Virtual memory/Paging file

• Recommended minimum paging file size is 1.5 times the amount of RAM installed. A system with 64 MB should have a 96 MB page file. Maximum page file size should not exceed 2.5 times the amount of RAM installed.

• Set through Control Panel > System applet > Advanced tab > Performance Options > Change.

• The most efficient paging file is spread across several drives, but is not on the system or boot partitions.

• Maximum registry size can also be changed through the Virtual Memory dialog box.

Hardware profiles

• Created to store different sets of configuration settings to meet a user’s different needs (usually used with portables) such as whether a computer is docked or undocked.

• User selects the desired profile at Windows XP startup.

• Profiles are created through Control Panel > System applet > Hardware tab > Hardware Profiles.

• Devices are enabled and disabled in particular profiles through their properties in the Device Manager snap-in.

Data recovery

• Windows XP Backup is launched through Control Panel > System applet > Backup or by running ntbackup from the Start menu.

• Users can back up their own files and files they have read, execute, modify,or full control permission for.

• Users can restore files they have write, modify or full control permission for.

• Administrators and Backup Operators can backup and restore all files regardless of permissions.

• System state information (system registry and COM objects) can be backed up using by selecting System State information in ntbackup or by using the systemstate command from the command line.

The Windows XP Registry:

This is a database that stores Windows XP configuration information for all installed software, hardware and users in a hierarchical structure. Consists of five main subtrees:

HKEY_CLASSES_ROOT - holds software configuration data, file associations and object linking and embedding (OLE) data

HKEY_CURRENT_CONFIG - holds data on active hardware profile extracted from SOFTWARE and SYSTEM hives

HKEY_CURRENT_USER - contains data about current user extracted from HKEY_USERS, and additional info pulled down from Windows authentication

HKEY_LOCAL_MACHINE - contains all local computer hardware, software, device driver and startup information. Remains constant regardless of the user

HKEY_USERS - holds data for user identities and environments, custom settings, etc.

Windows 2000 supported two different registry editing tools:

• The Registry Editor (Regedt32.exe) has a read-only mode, a security menu, and supports the REG_EXPAND_SZ and REG_MULTI_SZ data types as well as the ability to set permissions.

• Regedit.exe does not. Registry Editor automatically saves changes as they are made.

The functionality of both regedit.exe and regedt32.exe has been combined into one tool under Windows XP. Typing the name of either executable into the run dialog brings up the same registry editing tool now.

Secondary Logon Service (Run As):

• Similar to the SU (Super User) command in UNIX

• Used to test settings using a particular user account while logged in with adifferent account

• Select the application icon using a single left-click, hold down the Shift key and right-click the icon. When the pop-up menu appears, click Run As. This brings up a dialog box titled "Run program as other user" - enter your credentials and click OK

legal disclaimer

1) Our website is not responsible for the information contained by this article as well for any and all copyright infringements by authors and writers. E-articles is a free information resource. If you suspect this article for any copyright infringements, please read the Terms of service and contact us to investigate the problem.
2) The E-articles directory team is not responsible for inaccuracies, falsehoods, or any other types of misinformation this tutorial may contain and will not be liable for any loss or damage suffered by a user through the user's reliance on the information gained here. Please read the Terms of service

Useful tools and features

Translate this article to...    Send this article to you or to a friend

Link to this article from your page   
If you like this article (tutorial), please link to it from your web page using the information above. Linking to this page, this is the only way to help us improve our service, the same time providing your visitors with a way to improve their online experience.

related articles

1. Maximizing Your Internet Browser with Bookmarks
If you want to return to a first-rate online source, you’re likely to use a shortcut, such as a bookmark or a favorite. If you use the Netscape browser, you bookmark the Web page. This acts as a shortcut to the online source.If you use the Internet Explorer browser, you save the page as a favorite. (I refer to both of these types of shortcuts as bookmarks for this section of the article.) If you’ve used the Internet for a while, you likely have a long list of bookmarks. Today h...

2. Computer Tips and Tricks ~ How Do I Send Pictures via Email
One of the first things that new digital camera owners love to do is send a batch of images to family members or friends. As you may have already discovered yourself, the warmth of reception is inversely proportional to the size of the images that land in your recipients' inboxes. All too often, budding photographers send full-sized 2-, 4-, or even 6-megapixel pictures as email attachments. Unfortunately, these files take forever to download on all but the fastest Internet connections and are too large to view comfortably on a c...

3. Communication Protocols Used by Windows Systems
TCP/IP protocol • TCP is an industry-standard suite of protocols • It is routable and works over most network topologies • It is the protocol that forms the foundation of the Internet • It is Installed by default in Windows XP • Can be used to connect dissimilar systems • Uses Microsoft Windows Sockets interface (Winsock) • IP addresses can be entered manually or be provided automatically by a DHCP server • DNS is used to resolve compute...

4. Advantages and Disadvantages of FAT and NTFS File Systems
Understanding FAT and NTFS File Systems • NTFS provides optimum security and reliability through its ability to lock down individual files and folders on a user-by-user basis. Advanced features such as disk compression, disk quotas and encryption make it the file system recommended by 9 out of 10 MCSEs. • FAT and FAT32 are only used for dual-booting between Windows XP and another operating system (like DOS 6.22, Win 3.1 or Win 95/98). • Existing NT 4.0 NTFS system partit...

5. Two Software Nags ~ Windows 95 versus Windows NT
The buildup to NT began after the incredibly successful launch of Windows 3.0 in 1990. For the next 3 years, Microsoft spent considerable time proclaiming that this new version of the product, once known as OS/2 3.0, would be the 32-bit successor to the 16-bit Windows 3.x product line. But as NT neared completion, complaints began to surface that the product was too big and resource-hungry to fit the existing desktop profile. Microsoft had heard these complaints before with other products, but Moore's Law which, roug...

6. Investing ~ Portfolio management software programs
Several hundred portfolio management programs are available for your investment tracking. The programs vary in price from free to $800. Many of the freeware and shareware portfolio management programs include an amazing amount of features, but are somewhat cumbersome to use. Some brokers give free portfolio management programs to customers who open an account. Financial data providers frequently give free portfolio man agement programs with a subscription to their services. Other portfolio management programs are components of...

7. How To Stitch Together Video Clips into Short Movies
Often, the difference between an interesting home movie and one that's intolerable is editing. This applies to the video you capture with your digital camera as well. Chances are your digicam came bundled with software to help you edit your movies. If it didn't, or if you don't like that software, you can use QuickTime Pro and just a few simple commands to transform your video clips into short movies. Many digital media fans are already familiar with QuickTime. The free player is available for Windows and Macintosh computers, a...

8. Investing ~ Using Web Based Portfolio Management Programs
Many Web sites provide online portfolio tracking services. Some of these serv ices are free, and others are fee-based. The aim of Web-based portfolio man agement tools is to help you make better investment decisions and thus increase your capital gains. Each Web-based portfolio management program offers something different. In the following sections, I describe just a few examples. Don’t let the fascination of having your portfolio online tempt you into over trading (buying or selling) your investments. Investor compil...

9. Investing ~ Personal finance software programs
Personal finance software programs often offer much more than what you pay for. These programs provide a way to access online banking, organize your personal finances, understand what you have and what you owe, and organize your financial accounts for the tax collector. Additionally, portfolio management programs track and analyze your portfolio’s performance. Most personal finance software programs automatically use your portfolio’s gains and losses for your net-worth calculations. With many personal finance pro grams...