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

rhsummit.files.wordpress.com
from rhsummit.files.wordpress.com More from this publisher
13.07.2015 Views

Red Hat Enterprise Linux 6Scheduler TunablesImplements multilevel run queuesfor sockets and cores (asopposed to one run queueper processor or per system)RHEL6 tunables●sched_min_granularity_ns●sched_wakeup_granularity_ns●sched_migration_cost●sched_child_runs_first●sched_latency_nsSocket 0Core 0Thread 0 Thread 1Core 1Thread 0 Thread 1ProcessProcessSocket 1Thread 0 Thread 1ProcessProcessSocket 2ProcessProcessProcessProcessProcessProcessProcessProcessScheduler Compute Queues

Finer grained scheduler tuning●●/proc/sys/kernel/sched_*Red Hat Enterprise Linux 6 Tuned-adm will increase quantum onpar with Red Hat Enterprise Linux 5●●echo 10000000 > /proc/sys/kernel/sched_min_granularity_ns●Minimal preemption granularity for CPU bound tasks. Seesched_latency_ns for details. The default value is 4000000(ns).echo 15000000 > /proc/sys/kernel/sched_wakeup_granularity_ns●The wake-up preemption granularity. Increasing this variablereduces wake-up preemption, reducing disturbance ofcompute bound tasks. Lowering it improves wake-up latencyand throughput for latency critical tasks, particularly when ashort duty cycle load component must compete with CPUbound components. The default value is 5000000 (ns).

<strong>Red</strong> <strong>Hat</strong> Enterprise Linux 6Scheduler TunablesImplements multilevel run queuesfor sockets <strong>and</strong> cores (asopposed to one run queueper processor or per system)RHEL6 tunables●sched_min_granularity_ns●sched_wakeup_granularity_ns●sched_migration_cost●sched_child_runs_first●sched_latency_nsSocket 0Core 0Thread 0 Thread 1Core 1Thread 0 Thread 1ProcessProcessSocket 1Thread 0 Thread 1ProcessProcessSocket 2ProcessProcessProcessProcessProcessProcessProcessProcessScheduler Compute Queues

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!