Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Save to My Library
Look up keyword or section
Like this
3Activity

Table Of Contents

Section 1 ­ System Overview
Processors Supported/Tested
Processor types
NUMA Support
AMD64 System Numa Memory Layout
Memory Management
Physical Memory Supported/Tested
Physical Memory(RAM) Management
Memory Zones
Per­Zone Resources
mem_map
Per­zone page lists
Per zone Free list/buddy allocator lists
Per NUMA­Node Resources
NUMA Nodes and Zones
Virtual Address Space Maps
32­bit
● 3G/1G address space
● 4G/4G address space(RHEL4)
64­bit
● X86_64
Memory Pressure
Kernel Memory Pressure
User Memory Pressure Anonymous/pagecache split
PageCache/Anonymous memory split
PageCache/Anonymous memory split(Cont)
Anonymous/pagecache reclaiming
Per Node/Zone Paging Dynamics
Memory reclaim Watermarks
Section 2 ­ Analyzing System Performance
Performance Monitoring Tools
Red Hat Top Tools
Vmstat ­ IOzone(8GB file with 6GB RAM)
iostat ­x of same IOzone EXT3 file system
SAR
free/numastat –  memory allocation
ps
mpstat
The /proc filesystem
/proc/meminfo(rhel3, 4, 5)
/proc/slabinfo
/proc/cpuinfo
32­bit /proc/<pid>/maps
64­bit /proc/<pid>/maps
/proc/vmstat(RHEL4/RHEL5)
Alt Sysrq M – RHEL3
Alt Sysrq M – RHEL3/NUMA
Alt Sysrq M – RHEL4 & 5
Alt Sysrq M – RHEL4 & 5/NUMA
Alt Sysrq T
Alt Sysrq W and P
oprofile – builtin to RHEL4 & 5 (smp)
oprofile – opcontrol and opreport cpu_cycles
Kernel Oprofile locking bottleneck
Profiling Tools: SystemTap
Section 3: Tuning
Tuning ­ how to set kernel parameters
Capacity Tuning
OOM kills – swap space exhaustion(RHEL3)
OOM kills – lowmem consumption(RHEL3/x86)
OOM kills – lowmem consumption(RHEL4&5/x86)
OOM kills – IO system stall(RHEL4&5/x86)
OOM kills – BounceBuffers(RHEL4/x86)
Eliminating OOMkills
General Performance Tuning
Performance Tuning – (RHEL3)
RHEL3 /proc/sys/vm/bdflush
Performance Tuning – (RHEL4 and RHEL5)
Memory reclaim Watermarks ­ min_free_kbytes
dirty_ratio and dirty_background_ratio
RHEL4&5 Measured Effect of VM tuning
Flushing the pagecache
Flushing the slabcache
RHEL3 kernel selection
RHEL4 kernel selection
RHEL5 kernel selection
Problem ­ 16GB x86 running SMP kernel
Section 4 ­ Examples
General guidelines
● Effect of NUMA and NUMCTL
● Effect CPUspeed howto control
Benchmarking
● McCalpin – know max memory BW
● IOzone – run your own
Database Tuning JVM Tuning
RHEL CPU Scheduler Tests 4­8 cpu test ­ most difficult
McCalpin Streams Copy Bandwidth (1,2,4,8)
Optimizing File System Performance
Using IOzone w/ o_direct – mimic database
EXT3, GFS, NFS IOzone w/ DirectIO
Disk IO tuning ­ RHEL4/5
File Systems
General VM/ Disk Performance Tuning
Realtime Linux
Realtime – demonstrating determinism­ Tibco
Realtime – demonstrating determinism MRG
Questions?
0 of .
Results for:
No results containing your search query
P. 1
RHEL Perf Tuning

RHEL Perf Tuning

Ratings: (0)|Views: 1,181 |Likes:
Published by zuri_ot

More info:

Published by: zuri_ot on Jan 10, 2011
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

11/11/2011

pdf

text

original

You're Reading a Free Preview
Pages 4 to 20 are not shown in this preview.
You're Reading a Free Preview
Pages 24 to 31 are not shown in this preview.
You're Reading a Free Preview
Pages 35 to 81 are not shown in this preview.
You're Reading a Free Preview
Pages 85 to 124 are not shown in this preview.

Activity (3)

You've already reviewed this. Edit your review.
1 thousand reads
1 hundred reads
payakkamron liked this

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->