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

Table Of Contents

File System & Disk IO
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
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(RHEL3/4)
64­bit
● X86_64
Linux 32­bit Address Space(Hugemem)
Memory Pressure
Kernel Memory Pressure
User Memory Pressure Anonymous/pagecache split
PageCache/Anonymous memory split
PageCache/Anonymous memory split(Cont)
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
pstree
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
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)
Eliminating OOMkills
General Performance Tuning Considerations
Performance Tuning – (RHEL3)
RHEL3 /proc/sys/vm/bdflush
RHEL3 /proc/sys/vm/pagecache
Performance Tuning – (RHEL4 and RHEL5)
Memory reclaim Watermarks ­ min_free_kbytes
dirty_ratio and dirty_background_ratio
(Hint)flushing the pagecache
(Hint)flushing the slabcache
RHEL3 kernel selection
RHEL4 kernel selection
RHEL5 kernel selection
Problem ­ 16GB x86 running SMP kernel
Tuning File Systems and Disk IO
Performance Tuning – DISK RHEL3
Disk IO tuning ­ RHEL4/5
File Systems
Optimizing File System Performance
Section 4 ­ Examples
McCalpin Streams Copy Bandwidth (1,2,4,8)
Using IOzone w/ o_direct – mimic database
EXT3, GFS, NFS Iozone w/ DirectIO
General Performance Tuning Guidelines
Linux Performance Tuning References
Questions?
0 of .
Results for:
No results containing your search query
P. 1
Decoding the Code

Decoding the Code

Ratings: (0)|Views: 4,809|Likes:
Published by rodkf1

More info:

Published by: rodkf1 on Jul 11, 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/16/2012

pdf

text

original

You're Reading a Free Preview
Pages 4 to 13 are not shown in this preview.
You're Reading a Free Preview
Pages 17 to 29 are not shown in this preview.
You're Reading a Free Preview
Pages 33 to 114 are not shown in this preview.
You're Reading a Free Preview
Pages 118 to 122 are not shown in this preview.

Activity (3)

You've already reviewed this. Edit your review.
1 hundred reads
1 thousand reads
Manish Neema 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)//-->