1 / 46

Objectives

70-270: MCSE Guide to Microsoft Windows XP Professional Second Edition, Enhanced Chapter 10: Performance Tuning. Objectives. Create a performance baseline Understand the performance and monitoring tools found in Windows XP Professional Log and use logged activity

lani
Download Presentation

Objectives

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 70-270: MCSE Guide to Microsoft Windows XP ProfessionalSecond Edition, EnhancedChapter 10: Performance Tuning

  2. Objectives • Create a performance baseline • Understand the performance and monitoring tools found in Windows XP Professional • Log and use logged activity • Use performance tuning in the system applet Guide to MCSE 70-270, Second Edition, Enhanced

  3. Objectives (continued) • Detect and eliminate bottlenecks • Boost Windows XP Professional performance • Optimize performance for mobile Windows XP users Guide to MCSE 70-270, Second Edition, Enhanced

  4. Establishing a Baseline • Baseline • Measure system behavior • Key elements: • Recorded observations about characteristics and behavior of computer system • Recorded by creating a Counter log • Collecting data at regular intervals • Establish definition of what a normal load looks like Guide to MCSE 70-270, Second Edition, Enhanced

  5. Monitoring and Performance Tuning • Monitoring • Thorough understanding of system components • Continued observation of those components • Performance tuning • Changing a system’s configuration systematically • Carefully observing performance before and after Guide to MCSE 70-270, Second Edition, Enhanced

  6. Task Manager • Provides overview of current state of computer • To access: • Press Ctrl+Alt+Delete. • Press Ctrl+Shift+Esc. • Right-click any unoccupied area on the Windows XP taskbar and select Task Manager from the menu that appears Guide to MCSE 70-270, Second Edition, Enhanced

  7. Task Manager (continued) • Tabs: • Application • Processes • Performance • Networking • Users in Task Manager • Only appears in special circumstances Guide to MCSE 70-270, Second Edition, Enhanced

  8. Task Manager, Application tab Guide to MCSE 70-270, Second Edition, Enhanced

  9. Task Manager, Networking Tab Guide to MCSE 70-270, Second Edition, Enhanced

  10. System Monitor • Performance monitoring tool • Monitor many different eventsconcurrently • Analyze network operations • Identify trends and bottlenecks • Determine system capacity Guide to MCSE 70-270, Second Edition, Enhanced

  11. System Monitor (continued) • Notify administrators when thresholds are exceeded • Track performance of individual system devices • Monitor local or remote computers Guide to MCSE 70-270, Second Edition, Enhanced

  12. System Monitor (continued) Guide to MCSE 70-270, Second Edition, Enhanced

  13. Realtime Monitoring • Process of viewing the measured data from one or more counters in the System Monitor display area • Formats: • Graph • Histogram • Report Guide to MCSE 70-270, Second Edition, Enhanced

  14. Add Counters Guide to MCSE 70-270, Second Edition, Enhanced

  15. System Monitor Properties Guide to MCSE 70-270, Second Edition, Enhanced

  16. Logging and Using Logged Activity • Two types of logging capabilities • Counter log: • Records data from selected counters at regular, defined intervals • Allows you to define exactly which counters are recorded • Trace log: • Records nonconfigurable data from designated provider only when events occur Guide to MCSE 70-270, Second Edition, Enhanced

  17. Logging and Using Logged Activity (continued) • Trace log: • Operating system environment status dumps • Measure data continually Guide to MCSE 70-270, Second Edition, Enhanced

  18. Counter Logs Node Guide to MCSE 70-270, Second Edition, Enhanced

  19. Alerts • Automated watchdog that informs you when counter crosses a defined threshold, high or low • Can consist of one or more counter/instance-based alert definitions • Focuses on one or all counters Guide to MCSE 70-270, Second Edition, Enhanced

  20. Setting an Alert Guide to MCSE 70-270, Second Edition, Enhanced

  21. When an Alert is Triggered • Log an entry in the application event log • Send a network message to … • Start performance data log • Run this program … Guide to MCSE 70-270, Second Edition, Enhanced

  22. Event Viewer • Tool for examining the performance and activities on a system • Tracks all events generated by the operating system • Event: • Anything that causes event detail to be created in one of the logs that Event Viewer manages Guide to MCSE 70-270, Second Edition, Enhanced

  23. Event Viewer Log Files • System • Application • Security Guide to MCSE 70-270, Second Edition, Enhanced

  24. Event Viewer, System Log Guide to MCSE 70-270, Second Edition, Enhanced

  25. Event Types • Information • Warning • Error • Success Audit • Failure Audit Guide to MCSE 70-270, Second Edition, Enhanced

  26. Event Log Entry • Event’s date and time • Source • Category (such as Logon or Logoff ) • Event number • Name of the account that generated the event • Name of the computer on which the event occurred Guide to MCSE 70-270, Second Edition, Enhanced

  27. Performance Options • Adjust system performance based on applications and virtual memory • Tasks: • Optimize processor scheduling • Optimize memory usage • Manage size of paging file Guide to MCSE 70-270, Second Edition, Enhanced

  28. Performance Options (continued) Guide to MCSE 70-270, Second Edition, Enhanced

  29. Setting Application Priority • 32 levels of application priority • Determine which process should gain access to the CPU • Users have minimal control over priority • Priority Levels: • 0–15—User-accessible process priorities • 16–31—System-accessible process priorities • 0–6—Low user range Guide to MCSE 70-270, Second Edition, Enhanced

  30. Setting Application Priority (continued) • Priority Levels: • 4—Low value (as set in Task Manager, or with /low parameter to Start command) • 5—Below-Normal value (as set in Task Manager) • 7—Normal (default setting for user processes) • 8–15—High user range • 10—Above-Normal value (as set in Task Manager) • 13—High value (as set in Task Manager, or with /high parameter to Start command) Guide to MCSE 70-270, Second Edition, Enhanced

  31. Setting Application Priority (continued) • Priority Levels: • 16–24—Realtime values accessible to Administrator-level accounts • 24—Realtime value (as set in Task Manager, or with /realtime parameter to Start command) • 25–31—Realtime values accessible to operating system only Guide to MCSE 70-270, Second Edition, Enhanced

  32. Performance Tuning in the System Applet • Advanced tab of System Applet • Category View: • Start, Control Panel, Performance and Maintenance, then click the System icon in the Control Panel section • Windows Classic view: • Start, Control Panel, System. Next, select the Advanced tab, and then click the Settings button in the Performance pane Guide to MCSE 70-270, Second Edition, Enhanced

  33. The Visual Effects Tab • Control how Windows XP handles computer display when managing screen output • Settings: • Adjust for best appearance • Adjust for best performance • Custom Guide to MCSE 70-270, Second Edition, Enhanced

  34. The Visual Effects/Advanced Tabs Guide to MCSE 70-270, Second Edition, Enhanced

  35. The Advanced Tab • Panes: • Processor scheduling • Memory usage • Virtual memory Guide to MCSE 70-270, Second Edition, Enhanced

  36. Virtual Memory Guide to MCSE 70-270, Second Edition, Enhanced

  37. Recognizing and Handling Bottlenecks • Bottleneck • Limitation in single component slows down entire system • Always exist in any computer • No single bottleneck monitor • Goal: • Make bottlenecks unnoticeable for everyday functions Guide to MCSE 70-270, Second Edition, Enhanced

  38. Recognizing and Handling Bottlenecks (continued) • Create a baseline for a computer • Compare baseline observations to current system behavior • Investigate more common causes of system problems • Make changes to system configuration • Test impact of any fix you try • Some fixes are more expensive than others Guide to MCSE 70-270, Second Edition, Enhanced

  39. Common Bottlenecks • Disk bottlenecks: • Disk-related counters increase more dramatically than other counters • Disk queue lengths become unacceptably long • Memory bottlenecks: • Make sure that the paging file is working as efficiently as possible • Detect excessive paging activity Guide to MCSE 70-270, Second Edition, Enhanced

  40. Common Bottlenecks (continued) • Processor bottlenecks: • Processor object’s % Processor time counter stays consistently above 80% • System object’s Processor Queue Length counter remains fixed near a value of 2 or more • CPU is being overworked • Two CPUs do not double performance Guide to MCSE 70-270, Second Edition, Enhanced

  41. Network Bottlenecks • Not typical on most Windows XP Professional machines Guide to MCSE 70-270, Second Edition, Enhanced

  42. Eight Ways to Boost Windows XP Professional Performance • Buy a faster machine • Upgrade an existing machine • Install a faster CPU • Add more L2 cache • Add more RAM • Replace the disk subsystem • Increase paging file size • Increase application priority Guide to MCSE 70-270, Second Edition, Enhanced

  43. Optimizing Performance for Mobile Windows XP Users • Substantially same as managing performance for network-connected machines • Key resources: • RAM • Disk • CPU • Communications Guide to MCSE 70-270, Second Edition, Enhanced

  44. Optimizing Performance for Mobile Windows XP Users (continued) • Make sure network interface appears higher in the binding order than a modem or other slower link device • File synchronization settings do not require machines to synchronize when running on battery • Use hibernate and standby modes • Refresh rates should be extended Guide to MCSE 70-270, Second Edition, Enhanced

  45. Summary • Number of tools to monitor system performance • Task Manager • View applications • Processes • Overall system performance • Performance console includes: • System Monitor • Log files • Alerts Guide to MCSE 70-270, Second Edition, Enhanced

  46. Summary (continued) • Event Viewer • Tracks logs generated by system • Isolate and correct any bottlenecks Guide to MCSE 70-270, Second Edition, Enhanced

More Related