7/29/2019 2275b_03
1/26
Module 3: Monitoring
Server Performance
7/29/2019 2275b_03
2/26
Overview
Multimedia: The Primary Server SubsystemsMonitoring Server Memory
Monitoring Processor Usage
Monitoring Disks
Monitoring Network Usage
7/29/2019 2275b_03
3/26
Multimedia: The Primary Server Subsystems
Server environments described in thispresentation: file and print servers,application servers, and domain servers
Server subsystems: memory, processor,
disk, and networkImportant point to watch for:
Which subsystem has the greatest effect
on each server environment?
http://localhost/var/www/apps/conversion/tmp/scratch_1/Multimedia/2275_3_A_ServerSubSys.html7/29/2019 2275b_03
4/26
Lesson: Monitoring Server Memory
Why Monitor Server Memory?How to Identify and Resolve Memory Bottlenecks
How to Monitor Memory
7/29/2019 2275b_03
5/26
Why Monitor Server Memory?
Monitor server memory to determine whether any of
the following conditions exist:
Memory bottlenecksInsufficient memory
Excessive paging
Memory leaks
7/29/2019 2275b_03
6/26
How to Identify and Resolve Memory Bottlenecks
Memorycounter Acceptableaverage range Desiredvalue Action
Pages/sec 020 LowFind the process that iscausing paging
Add RAM
Available Bytes Minimum of 5% oftotal memory
HighFind the process that isusing RAM
Add RAM
Committed
Bytes
Less than physicalRAM
LowFind the process that isusing RAM
Add RAM
Pool NonpagedBytes
Remain steady,no increase Not applicable Check for memory leakin application
Page
Faults/secBelow 5 Low
Find the process that iscausing paging
Add RAM
7/29/2019 2275b_03
7/26
How to Monitor Memory
Your instructor will demonstrate how to:
Monitor memory by using Performance
Monitor memory by using Task Manager
7/29/2019 2275b_03
8/26
Practice: Monitoring Server Memory
In this practice, you will configure SystemMonitor to monitor selected memorycounters
7/29/2019 2275b_03
9/26
Lesson: Monitoring Processor Usage
What Is Processor Usage?How to Identify and Resolve Processor Bottlenecks
How to Monitor Processor Usage
7/29/2019 2275b_03
10/26
What Is Processor Usage?
Percentage of time that the processor is working
Monitor to detect processor bottlenecks
Tool Counter DisplayTask Manager CPU Usage Graph
Performance %Processor TimePercentage of elapsedtime to run non-idle thread
7/29/2019 2275b_03
11/26
How to Identify and Resolve Processor Bottlenecks
Processorcounter
Acceptableaverage range
Desired value Action
% Processor Time Less than 85% Low
Find process using excessiveprocessor timeUpgrade or add anotherprocessor
System:
Processor Queue
Length
Less than 10 LowUpgrade or add additionalprocessor
Server Work
Queues:Queue Length Less than four Low
Find process using excessiveprocessor time
Upgrade or add anotherprocessor
Interrupts/secDepends onprocessor
LowFind controller cardgenerating interrupts
7/29/2019 2275b_03
12/26
How to Monitor Processor Usage
Your instructor will demonstrate how to:
Monitor processor usage by using Performance
Monitor processor usage by using Task Manager
7/29/2019 2275b_03
13/26
Practice: Monitoring Processor Usage
In this practice, you will configure SystemMonitor to monitor selected processorcounters
7/29/2019 2275b_03
14/26
Lesson: Monitoring Disks
Why Monitor Disks?How to Identify and Resolve Disk Bottlenecks
How to Monitor Disks
7/29/2019 2275b_03
15/26
Why Monitor Disks?
Monitor disks to determine:
Presence of disk bottlenecks
Need for disk defragmentation
Need for additional or faster disks
Presence of excessive paging
Disk efficiency
7/29/2019 2275b_03
16/26
How to Identify and Resolve Disk Bottlenecks
Physical diskcounter
Acceptableaverage range
Desiredhigh or low
valueAction
% Disk Time Under 50% LowMonitor to see if pagingis occurring
Upgrade disk subsystem
Current Disk
Queue Length02 Low Upgrade disk subsystem
Avg. Disk
Bytes/Transfer
Baseline or
higherHigh Upgrade disk subsystem
Disk Bytes/secBaseline orhigher
High Upgrade disk subsystem
7/29/2019 2275b_03
17/26
How to Monitor Disks
Your instructor will demonstrate how to monitor disks
7/29/2019 2275b_03
18/26
Practice: Monitoring Disks
In this practice, you will configure SystemMonitor to monitor selected disk counters
7/29/2019 2275b_03
19/26
Lesson: Monitoring Network Usage
What Is Network Usage?How to Identify and Resolve Network Bottlenecks
How to Monitor Network Usage
7/29/2019 2275b_03
20/26
What Is Network Usage?
Percentage of network bandwidth in use on the segmentbeing monitored
Monitoring network usage helps you detect networkbottlenecks
Bottlenecks in network communications directly affectthe experience of the user at the client workstation andthe entire network
Typical causes of network bottlenecks are:
Overloaded serverOverloaded network
Loss of network integrity
7/29/2019 2275b_03
21/26
How to Identify and Resolve Network Bottlenecks
Network interfacecounter
Acceptableaverage range
Desire highor low value
Action
Network Utilization
(in Task Manager)
Generally lower than30%
Low Low
Network Interface:
Bytes Sent/sec Baseline or higher HighUpgrade network adapter
or physical network
Network Interface:Bytes Total/sec
Baseline or higher High
Perform further analysis todetermine cause ofproblemUpgrade or add anotheradapter.
Server: Bytes
Received/Sec
Less than 50% of thecapacity of thebandwidth of thenetwork card
NAUpgrade network adapteror physical network
7/29/2019 2275b_03
22/26
How to Monitor Network Usage
Your instructor will demonstrate how to monitorperformance by using:
Performance
Task Manager
7/29/2019 2275b_03
23/26
Practice: Monitoring Network Usage
In this practice, you will configure SystemMonitor to monitor selected networkcounters
7/29/2019 2275b_03
24/26
Guidelines for Using Counters and Thresholds
Subsystem Counter Threshold
Monitor page faults
Monitor available RAM
Monitor committed bytes
Over 5 per second
Less than 5% of total
More than physical RAM
% Processor time, % Privileged Time,
% User TimeSystem: Processor Queue Length
Server Work Queues: Queue Length
Above 85%
Above 2
Above 2
% Disk Time
Current Disk Queue Length
If more than 50%, check forexcessive paging
Greater than 2
Server: Bytes Total/sec, NetworkInterface: Bytes Total/sec
Higher than the baselinenumber
Best Practices for Monitoring Server
7/29/2019 2275b_03
25/26
Best Practices for Monitoring ServerPerformance
Set up Performance Logs and Alert
Keep monitoring overhead low
Analyze performance results and establish aperformance baseline
Set alerts
Perform system tuning
Monitor trends for capacity planning and add orupgrade components
7/29/2019 2275b_03
26/26
Lab A: Monitoring Server Performance
In this lab, you will configure SystemMonitor to view selected processor,memory, network, and disk counters