Subversion Repositories configs

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
4 - 1
# ktune sysctl settings for rhel6 servers, maximizing i/o throughput
2
#
3
# Minimal preemption granularity for CPU-bound tasks:
4
# (default: 1 msec#  (1 + ilog(ncpus)), units: nanoseconds)
5
kernel.sched_min_granularity_ns = 10000000
6
 
7
# SCHED_OTHER wake-up granularity.
8
# (default: 1 msec#  (1 + ilog(ncpus)), units: nanoseconds)
9
#
10
# This option delays the preemption effects of decoupled workloads
11
# and reduces their over-scheduling. Synchronous workloads will still
12
# have immediate wakeup/sleep latencies.
13
kernel.sched_wakeup_granularity_ns = 15000000
14
 
15
# TODO: this bits need comment
16
kernel.sched_latency_ns = 80000000
17
kernel.sched_features = 15834234
18
kernel.sched_tunable_scaling = 0
19
 
20
# If a workload mostly uses anonymous memory and it hits this limit, the entire
21
# working set is buffered for I/O, and any more write buffering would require
22
# swapping, so it's time to throttle writes until I/O can catch up.  Workloads
23
# that mostly use file mappings may be able to use even higher values.
24
#
25
# The generator of dirty data starts writeback at this percentage (system default
26
# is 20%)
27
vm.dirty_ratio = 40
28
 
29
# Start background writeback (via writeback threads) at this percentage (system
30
# default is 10%)
31
#vm.dirty_background_ratio = 15
32
 
33
# PID allocation wrap value.  When the kernel's next PID value
34
# reaches this value, it wraps back to a minimum PID value.
35
# PIDs of value pid_max or larger are not allocated.
36
#
37
# A suggested value for pid_max is 1024 * <# of cpu cores/threads in system>
38
# e.g., a box with 32 cpus, the default of 32768 is reasonable, for 64 cpus,
39
# 65536, for 4096 cpus, 4194304 (which is the upper limit possible).
40
#kernel.pid_max = 65536