Performance Analysis and Tuning â Part 1 - Red Hat Summit
Performance Analysis and Tuning â Part 1 - Red Hat Summit Performance Analysis and Tuning â Part 1 - Red Hat Summit
2MB standard Hugepages# echo 2000 > /proc/sys/vm/nr_hugepages# cat /proc/meminfoMemTotal: 16331124 kBMemFree: 11788608 kBHugePages_Total: 2000HugePages_Free: 2000HugePages_Rsvd: 0HugePages_Surp: 0Hugepagesize: 2048 kB# ./hugeshm 1000# cat /proc/meminfoMemTotal: 16331124 kBMemFree: 11788608 kBHugePages_Total: 2000HugePages_Free: 1000HugePages_Rsvd: 1000HugePages_Surp: 0Hugepagesize: 2048 kB
# cat /proc/meminfo | moreHugePages_Total: 8HugePages_Free: 8HugePages_Rsvd: 0HugePages_Surp: 01GB HugepagesBoot arguments -● default_hugepagesz=1G, hugepagesz=1G, hugepages=8#mount -t hugetlbfs none /mnt# ./mmapwrite /mnt/junk 33writing 2097152 pages of random junk to file /mnt/junkwrote 8589934592 bytes to file /mnt/junk# cat /proc/meminfo | moreHugePages_Total: 8HugePages_Free: 0HugePages_Rsvd: 0HugePages_Surp: 0
- Page 2 and 3: Performance Analysis andTuning - Pa
- Page 4 and 5: Red Hat Enterprise Linux: Scale Up
- Page 6 and 7: Red Hat Enterprise Linux 6Benchmark
- Page 8 and 9: Red Hat Enterprise Linux 6.4 vs Win
- Page 10 and 11: Red Hat Enterprise Linux 6Scheduler
- Page 12 and 13: Load Balancing●●●●●Schedu
- Page 14 and 15: sched_child_runs_first●●●fork
- Page 18 and 19: Transparent Hugepagesecho never > /
- Page 20 and 21: 32-bitMemory Zones64-bitUp to 64 GB
- Page 22 and 23: Per Node/Zone split LRU Paging Dyna
- Page 24 and 25: Typical System Building BlockMemory
- Page 26 and 27: Four NUMA node system,fully-connect
- Page 28 and 29: Per NUMA-Node ResourcesMemory zones
- Page 30 and 31: zone_reclaim_mode●●●●Contro
- Page 32 and 33: Visualize CPUs via lstopo(from hwlo
- Page 34 and 35: Sample remote access latencies4 soc
- Page 36 and 37: So, what's the NUMA problem?●●
- Page 38 and 39: numastat: compatibility mode# numas
- Page 40 and 41: numastat: per-node meminfo# numasta
- Page 42 and 43: numastat shows aligned guests# numa
- Page 44 and 45: How to manage NUMA manually●●
- Page 46 and 47: numad can help improve NUMA perform
- Page 48 and 49: numad aligns process memory and CPU
- Page 50 and 51: numad usage●●●●numad is int
- Page 52 and 53: To change utilization target● -u
- Page 54 and 55: To get pre-placement advice● -w :
- Page 56 and 57: numad “-w” shell script(the imp
- Page 58 and 59: numad “-w” shell script (advise
- Page 60 and 61: Multiguest Oracle OLTP WorkloadOrac
- Page 62 and 63: Summary / Questions●Red Hat Enter
- Page 64 and 65: Cgroup default mount points# cat /e
# cat /proc/meminfo | moreHugePages_Total: 8HugePages_Free: 8HugePages_Rsvd: 0HugePages_Surp: 01GB HugepagesBoot arguments -● default_hugepagesz=1G, hugepagesz=1G, hugepages=8#mount -t hugetlbfs none /mnt# ./mmapwrite /mnt/junk 33writing 2097152 pages of r<strong>and</strong>om junk to file /mnt/junkwrote 8589934592 bytes to file /mnt/junk# cat /proc/meminfo | moreHugePages_Total: 8HugePages_Free: 0HugePages_Rsvd: 0HugePages_Surp: 0