CentOS6.xのELrepo Kernel パラメータ差分メモ

■CentOS6.xのELrepo Kernel パラメータ差分メモ
 前記事で導入したELrepoのKernel3.0.68とCentOS6.3のkernel2.6.32のkernelパラメータの差分を取ってみたのでメモしておく。

以下のコマンドで取得したパラメータをそれぞれのカーネルで起動して取得。
[code]# sysctl -a[/code]

kernel情報とdiffを取った結果。
[code]# uname -a
Linux localhost.localdomain 3.0.68-1.el6.elrepo.i686 #1 SMP Mon Mar 4 00:29:41 EST 2013 i686 i686 i386 GNU/Linux

# diff k3s.txt k2s.txt
45c45
< fs.dentry-state = 10635 4581 45 0 0 0 --- > fs.dentry-state = 10781 5172 45 0 0 0
47,51c47,51
< fs.epoll.max_user_watches = 345206 < fs.file-max = 100510 < fs.file-nr = 672 0 100510 < fs.inode-nr = 9825 756 < fs.inode-state = 9825 756 0 0 0 0 0 --- > fs.epoll.max_user_watches = 331776
> fs.file-max = 100902
> fs.file-nr = 672 0 100902
> fs.inode-nr = 9968 218
> fs.inode-state = 9968 218 0 0 0 0 0
56a57
> fs.mqueue.msg_default = 10
57a59
> fs.mqueue.msgsize_default = 8192
63d64
< fs.pipe-max-size = 1048576 70a72 > fs.quota.warnings = 1
85a88
> kernel.exec-shield = 1
87d89
< kernel.ftrace_enabled = 1 94a97 > kernel.kexec_load_disabled = 0
100c103
< kernel.kptr_restrict = 0 --- > kernel.kptr_restrict = 1
107c110
< kernel.msgmni = 1740 --- > kernel.msgmni = 1736
110c113
< kernel.osrelease = 3.0.68-1.el6.elrepo.i686 --- > kernel.osrelease = 2.6.32-279.22.1.el6.i686
116c119
< kernel.panic_on_oops = 0 --- > kernel.panic_on_oops = 1
129,131c132,134
< kernel.pty.nr = 1 < kernel.random.boot_id = f6ba4b47-c313-4466-9e3f-2e96cae9d48c < kernel.random.entropy_avail = 1247 --- > kernel.pty.nr = 2
> kernel.random.boot_id = 31a3cfc3-28b9-4b80-a174-7c8af4ae3590
> kernel.random.entropy_avail = 131
134c137
< kernel.random.uuid = 11a6f5a8-2b73-402a-8f3c-d24da95c6ccb --- > kernel.random.uuid = 0ec9460c-05d5-4552-9855-9705f3dee9a0
138c141,142
< kernel.sched_autogroup_enabled = 1 --- > kernel.sched_autogroup_enabled = 0
> kernel.sched_cfs_bandwidth_slice_us = 5000
140c144,146
< kernel.sched_latency_ns = 6000000 --- > kernel.sched_compat_yield = 0
> kernel.sched_features = 3183
> kernel.sched_latency_ns = 5000000
142c148
< kernel.sched_min_granularity_ns = 750000 --- > kernel.sched_min_granularity_ns = 1000000
150a157
> kernel.shm_rmid_forced = 0
153a161,163
> kernel.slow-work.max-threads = 4
> kernel.slow-work.min-threads = 2
> kernel.slow-work.vslow-percentage = 50
155d164
< kernel.stack_tracer_enabled = 0 158c167 < kernel.threads-max = 15806 --- > kernel.threads-max = 15876
163c172
< kernel.version = #1 SMP Mon Mar 4 00:29:41 EST 2013 --- > kernel.version = #1 SMP Wed Feb 6 00:31:03 UTC 2013
165c174
< kernel.watchdog_thresh = 10 --- > kernel.watchdog_thresh = 60
171d179
< net.core.netdev_tstamp_prequeue = 1 173c181 < net.core.rmem_default = 114688 --- > net.core.rmem_default = 188416
178c186
< net.core.wmem_default = 114688 --- > net.core.wmem_default = 188416
398,420d405
< net.ipv4.netfilter.ip_conntrack_buckets = 16384 < net.ipv4.netfilter.ip_conntrack_checksum = 1 < net.ipv4.netfilter.ip_conntrack_count = 16 < net.ipv4.netfilter.ip_conntrack_generic_timeout = 600 < net.ipv4.netfilter.ip_conntrack_icmp_timeout = 30 < net.ipv4.netfilter.ip_conntrack_log_invalid = 0 < net.ipv4.netfilter.ip_conntrack_max = 64172 < net.ipv4.netfilter.ip_conntrack_tcp_be_liberal = 0 < net.ipv4.netfilter.ip_conntrack_tcp_loose = 1 < net.ipv4.netfilter.ip_conntrack_tcp_max_retrans = 3 < net.ipv4.netfilter.ip_conntrack_tcp_timeout_close = 10 < net.ipv4.netfilter.ip_conntrack_tcp_timeout_close_wait = 60 < net.ipv4.netfilter.ip_conntrack_tcp_timeout_established = 432000 < net.ipv4.netfilter.ip_conntrack_tcp_timeout_fin_wait = 120 < net.ipv4.netfilter.ip_conntrack_tcp_timeout_last_ack = 30 < net.ipv4.netfilter.ip_conntrack_tcp_timeout_max_retrans = 300 < net.ipv4.netfilter.ip_conntrack_tcp_timeout_syn_recv = 60 < net.ipv4.netfilter.ip_conntrack_tcp_timeout_syn_sent = 120 < net.ipv4.netfilter.ip_conntrack_tcp_timeout_syn_sent2 = 120 < net.ipv4.netfilter.ip_conntrack_tcp_timeout_time_wait = 120 < net.ipv4.netfilter.ip_conntrack_udp_timeout = 30 < net.ipv4.netfilter.ip_conntrack_udp_timeout_stream = 180 < net.ipv4.ping_group_range = 1 0 425d409 < net.ipv4.route.gc_interval = 60 436a421 > net.ipv4.route.secret_interval = 600
440c425
< net.ipv4.tcp_adv_win_scale = 1 --- > net.ipv4.tcp_adv_win_scale = 2
445d429
< net.ipv4.tcp_challenge_ack_limit = 100 447d430 < net.ipv4.tcp_cookie_size = 0 463c446 < net.ipv4.tcp_mem = 21180 28243 42360 --- > net.ipv4.tcp_mem = 81984 109312 163968
473c456
< net.ipv4.tcp_rmem = 4096 87380 903776 --- > net.ipv4.tcp_rmem = 4096 87380 3497984
487c470
< net.ipv4.tcp_wmem = 4096 16384 903776 --- > net.ipv4.tcp_wmem = 4096 16384 3497984
489c472
< net.ipv4.udp_mem = 21180 28243 42360 --- > net.ipv4.udp_mem = 81984 109312 163968
506d488
< net.ipv6.conf.all.force_tllao = 0 535d516 < net.ipv6.conf.default.force_tllao = 0 564d544 < net.ipv6.conf.eth0.force_tllao = 0 593d572 < net.ipv6.conf.eth1.force_tllao = 0 622d600 < net.ipv6.conf.lo.force_tllao = 0 697c675 < net.ipv6.route.gc_elasticity = 9 --- > net.ipv6.route.gc_elasticity = 0
704c682
< net.ipv6.route.min_adv_mss = 1220 --- > net.ipv6.route.min_adv_mss = 1
710c688
< net.netfilter.nf_conntrack_count = 16 --- > net.netfilter.nf_conntrack_count = 1
717c695
< net.netfilter.nf_conntrack_max = 64172 --- > net.netfilter.nf_conntrack_max = 64432
746c724
< net.nf_conntrack_max = 64172 --- > net.nf_conntrack_max = 64432
756a735
> vm.extra_free_kbytes = 0
764,766c743
< vm.min_free_kbytes = 44904 < vm.min_slab_ratio = 5 < vm.min_unmapped_ratio = 1 --- > vm.min_free_kbytes = 3794
769d745
< vm.nr_hugepages_mempolicy = 0 772d747 < vm.numa_zonelist_order = default 785c760 < vm.zone_reclaim_mode = 0 --- > vm.would_have_oomkilled = 0[/code]

, ,
とりあえず付けておく無駄ではなかったなまぁまぁ読めたちょっと役に立ったかなかなり良かったかも (まだ評価されていません)
Loading...

CentOS5.xのELrepo Kernel パラメータ差分メモ

■CentOS5.xのELrepo Kernel パラメータ差分メモ
 前記事で導入したELrepoのKernel3.0.66とCentOS5.9のkernel2.1.18のkernelパラメータの差分を取ってみたのでメモしておく。

以下のコマンドで取得したパラメータをそれぞれのカーネルで起動して取得。
[code]# sysctl -a[/code]

diffを取った結果。
[code]# cat k3-diff-k2.txt
2d1
< debug.exception-trace = 1 26c25 < dev.cdrom.info = Can write RAM: 1 --- dev.cdrom.info = Can write RAM: 0 29c28 < dev.cdrom.info = drive name: sr0 --- dev.cdrom.info = drive name: hdc 36a36 dev.rtc.max-user-freq = 64 41c41 < fs.dentry-state = 6192 4181 45 0 0 0 --- fs.dentry-state = 3892 2599 45 0 0 0 43,47c43,46 < fs.epoll.max_user_watches = 200546 < fs.file-max = 50584 < fs.file-nr = 224 0 50584 < fs.inode-nr = 5754 354 < fs.inode-state = 5754 354 0 0 0 0 0 --- fs.file-max = 51100 fs.file-nr = 192 0 51100 fs.inode-nr = 3429 136 fs.inode-state = 3429 136 0 0 0 0 0 59d57 < fs.pipe-max-size = 1048576 66c64,65 < fs.quota.syncs = 0 --- fs.quota.syncs = 20 fs.quota.warnings = 1 71d69 < kernel.auto_msgmni = 1 74d71 < kernel.bootloader_version = 1 75a73 kernel.cap-bound = -257 77d74 < kernel.core_pipe_limit = 0 82,83c79 < kernel.ftrace_dump_on_oops = 0 < kernel.ftrace_enabled = 1 --- kernel.exec-shield = 1 90,91d85 < kernel.io_delay_type = 0 < kernel.keys.gc_delay = 300 96,97d89 < kernel.kptr_restrict = 0 < kernel.kstack_depth_to_print = 24 103c95 < kernel.msgmni = 1001 --- kernel.msgmni = 16 105,106c97,98 < kernel.nmi_watchdog = 1 < kernel.osrelease = 3.0.66-1.el5.elrepo --- kernel.nmi_watchdog = 0 kernel.osrelease = 2.6.18-348.1.1.el5 111,112c103 < kernel.panic_on_io_nmi = 0 < kernel.panic_on_oops = 0 --- kernel.panic_on_oops = 1 114,116d104 < kernel.perf_event_max_sample_rate = 100000 < kernel.perf_event_mlock_kb = 516 < kernel.perf_event_paranoid = 1 118d105 < kernel.poweroff_cmd = /sbin/poweroff 121d107 < kernel.printk_delay = 0 126,127c112,113 < kernel.random.boot_id = 883b8f61-6fd5-42fb-9287-c08e4aaa7d3b < kernel.random.entropy_avail = 457 --- kernel.random.boot_id = ed819e04-5a67-4c80-b57c-00953773b11e kernel.random.entropy_avail = 354 130c116 < kernel.random.uuid = 1c11957b-b8e2-4e0b-bab1-dec3633f88b5 --- kernel.random.uuid = 55467d54-5ae5-4b5b-a8c8-f3fabea6264e 132c118 < kernel.randomize_va_space = 2 --- kernel.randomize_va_space = 1 134,145c120 < kernel.sched_autogroup_enabled = 1 < kernel.sched_child_runs_first = 0 < kernel.sched_latency_ns = 6000000 < kernel.sched_migration_cost = 500000 < kernel.sched_min_granularity_ns = 750000 < kernel.sched_nr_migrate = 32 < kernel.sched_rt_period_us = 1000000 < kernel.sched_rt_runtime_us = 950000 < kernel.sched_shares_window = 10000000 < kernel.sched_time_avg = 1000 < kernel.sched_tunable_scaling = 1 < kernel.sched_wakeup_granularity_ns = 1000000 --- kernel.sched_interactive = 2 150a126 kernel.softlockup_thresh = 60 153,154c129 < kernel.threads-max = 7957 < kernel.timer_migration = 1 --- kernel.threads-max = 15976 156,160c131,133 < kernel.usermodehelper.bset = 4294967295 4294967295 < kernel.usermodehelper.inheritable = 4294967295 4294967295 < kernel.version = #1 SMP PREEMPT Thu Feb 21 15:32:49 EST 2013 < kernel.watchdog = 1 < kernel.watchdog_thresh = 10 --- kernel.vdso = 1 kernel.vdso_populate = 0 kernel.version = #1 SMP Tue Jan 22 16:24:03 EST 2013 166d138 < net.core.netdev_tstamp_prequeue = 1 168,170c140,141 < net.core.rmem_default = 114688 < net.core.rmem_max = 114688 < net.core.rps_sock_flow_entries = 0 --- net.core.rmem_default = 110592 net.core.rmem_max = 110592 172,174c143,144 < net.core.warnings = 1 < net.core.wmem_default = 114688 < net.core.wmem_max = 114688 --- net.core.wmem_default = 110592 net.core.wmem_max = 110592 178c148 < net.core.xfrm_larval_drop = 1 --- net.core.xfrm_larval_drop = 0 190d159 < net.ipv4.conf.all.arp_notify = 0 201d169 < net.ipv4.conf.all.proxy_arp_pvlan = 0 206d173 < net.ipv4.conf.all.src_valid_mark = 0 215d181 < net.ipv4.conf.default.arp_notify = 0 226d191 < net.ipv4.conf.default.proxy_arp_pvlan = 0 231d195 < net.ipv4.conf.default.src_valid_mark = 0 240d203 < net.ipv4.conf.eth0.arp_notify = 0 251d213 < net.ipv4.conf.eth0.proxy_arp_pvlan = 0 256d217 < net.ipv4.conf.eth0.src_valid_mark = 0 265d225 < net.ipv4.conf.eth1.arp_notify = 0 276d235 < net.ipv4.conf.eth1.proxy_arp_pvlan = 0 281d239 < net.ipv4.conf.eth1.src_valid_mark = 0 290d247 < net.ipv4.conf.eth2.arp_notify = 0 301d257 < net.ipv4.conf.eth2.proxy_arp_pvlan = 0 306d261 < net.ipv4.conf.eth2.src_valid_mark = 0 310c265 < net.ipv4.conf.lo.accept_source_route = 0 --- net.ipv4.conf.lo.accept_source_route = 1 315d269 < net.ipv4.conf.lo.arp_notify = 0 326,327c280 < net.ipv4.conf.lo.proxy_arp_pvlan = 0 < net.ipv4.conf.lo.rp_filter = 1 --- net.ipv4.conf.lo.rp_filter = 0 331d283 < net.ipv4.conf.lo.src_valid_mark = 0 432d383 < net.ipv4.ping_group_range = 1 0 437d387 < net.ipv4.route.gc_interval = 60 441a392 net.ipv4.route.max_delay = 10 443a395 net.ipv4.route.min_delay = 2 449c401,402 < net.ipv4.rt_cache_rebuild_count = 4 --- net.ipv4.route.rt_cache_rebuild_count = 4 net.ipv4.route.secret_interval = 600 452,453c405 < net.ipv4.tcp_adv_win_scale = 1 < net.ipv4.tcp_allowed_congestion_control = bic reno --- net.ipv4.tcp_adv_win_scale = 2 455d406 < net.ipv4.tcp_available_congestion_control = bic reno 457d407 < net.ipv4.tcp_challenge_ack_limit = 100 459d408 < net.ipv4.tcp_cookie_size = 0 462c411 < net.ipv4.tcp_ecn = 2 --- net.ipv4.tcp_ecn = 0 465,466c414 < net.ipv4.tcp_frto = 2 < net.ipv4.tcp_frto_response = 0 --- net.ipv4.tcp_frto = 0 471,475c419,422 < net.ipv4.tcp_max_orphans = 8192 < net.ipv4.tcp_max_ssthresh = 0 < net.ipv4.tcp_max_syn_backlog = 128 < net.ipv4.tcp_max_tw_buckets = 8192 < net.ipv4.tcp_mem = 12177 16239 24354 --- net.ipv4.tcp_max_orphans = 4096 net.ipv4.tcp_max_syn_backlog = 1024 net.ipv4.tcp_max_tw_buckets = 180000 net.ipv4.tcp_mem = 12288 16384 24576 485c432 < net.ipv4.tcp_rmem = 4096 87380 519648 --- net.ipv4.tcp_rmem = 4096 87380 524288 492,493d438 < net.ipv4.tcp_thin_dupack = 0 < net.ipv4.tcp_thin_linear_timeouts = 0 499c444 < net.ipv4.tcp_wmem = 4096 16384 519648 --- net.ipv4.tcp_wmem = 4096 16384 524288 501c446 < net.ipv4.udp_mem = 12177 16239 24354 --- net.ipv4.udp_mem = 49056 65408 98112 504,517d448 < net.ipv4.xfrm4_gc_thresh = 32768 < net.netfilter.nf_log.0 = NONE < net.netfilter.nf_log.1 = NONE < net.netfilter.nf_log.10 = NONE < net.netfilter.nf_log.11 = NONE < net.netfilter.nf_log.12 = NONE < net.netfilter.nf_log.2 = NONE < net.netfilter.nf_log.3 = NONE < net.netfilter.nf_log.4 = NONE < net.netfilter.nf_log.5 = NONE < net.netfilter.nf_log.6 = NONE < net.netfilter.nf_log.7 = NONE < net.netfilter.nf_log.8 = NONE < net.netfilter.nf_log.9 = NONE 525c456 < vm.dirty_ratio = 20 --- vm.dirty_ratio = 40 528,530c459 < vm.extfrag_threshold = 500 < vm.highmem_is_dirtyable = 0 < vm.hugepages_treat_as_movable = 0 --- vm.flush_mmap_pages = 1 534,536c463,467 < vm.lowmem_reserve_ratio = 256 32 32 < vm.max_map_count = 65530 < vm.min_free_kbytes = 2883 --- vm.lowmem_reserve_ratio = 256 256 32 vm.max_map_count = 65536 vm.max_reclaims_in_progress = 0 vm.max_writeback_pages = 1024 vm.min_free_kbytes = 2896 539,542c470 < vm.nr_overcommit_hugepages = 0 < vm.nr_pdflush_threads = 0 < vm.oom_dump_tasks = 1 < vm.oom_kill_allocating_task = 0 --- vm.nr_pdflush_threads = 2 545a474 vm.pagecache = 100 548,549c477 < vm.scan_unevictable_pages = 0 < vm.stat_interval = 1 --- vm.swap_token_timeout = 300 550a479 vm.topdown_allocate_fast = 0 552a482 vm.vm_devzero_optimized = 1[/code]

, ,
とりあえず付けておく無駄ではなかったなまぁまぁ読めたちょっと役に立ったかなかなり良かったかも (まだ評価されていません)
Loading...