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

以下のコマンドで取得したパラメータをそれぞれのカーネルで起動して取得。

  1. # sysctl -a

kernel情報とdiffを取った結果。

  1. # uname -a
  2. 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
  3.  
  4. # diff k3s.txt k2s.txt
  5. 45c45
  6. < fs.dentry-state = 10635       4581    45      0       0       0
  7. ---
  8. > fs.dentry-state = 10781       5172    45      0       0       0
  9. 47,51c47,51
  10. < fs.epoll.max_user_watches = 345206
  11. < fs.file-max = 100510
  12. < fs.file-nr = 672      0       100510
  13. < fs.inode-nr = 9825    756
  14. < fs.inode-state = 9825 756     0       0       0       0       0
  15. ---
  16. > fs.epoll.max_user_watches = 331776
  17. > fs.file-max = 100902
  18. > fs.file-nr = 672      0       100902
  19. > fs.inode-nr = 9968    218
  20. > fs.inode-state = 9968 218     0       0       0       0       0
  21. 56a57
  22. > fs.mqueue.msg_default = 10
  23. 57a59
  24. > fs.mqueue.msgsize_default = 8192
  25. 63d64
  26. < fs.pipe-max-size = 1048576
  27. 70a72
  28. > fs.quota.warnings = 1
  29. 85a88
  30. > kernel.exec-shield = 1
  31. 87d89
  32. < kernel.ftrace_enabled = 1
  33. 94a97
  34. > kernel.kexec_load_disabled = 0
  35. 100c103
  36. < kernel.kptr_restrict = 0
  37. ---
  38. > kernel.kptr_restrict = 1
  39. 107c110
  40. < kernel.msgmni = 1740
  41. ---
  42. > kernel.msgmni = 1736
  43. 110c113
  44. < kernel.osrelease = 3.0.68-1.el6.elrepo.i686
  45. ---
  46. > kernel.osrelease = 2.6.32-279.22.1.el6.i686
  47. 116c119
  48. < kernel.panic_on_oops = 0
  49. ---
  50. > kernel.panic_on_oops = 1
  51. 129,131c132,134
  52. < kernel.pty.nr = 1
  53. < kernel.random.boot_id = f6ba4b47-c313-4466-9e3f-2e96cae9d48c
  54. < kernel.random.entropy_avail = 1247
  55. ---
  56. > kernel.pty.nr = 2
  57. > kernel.random.boot_id = 31a3cfc3-28b9-4b80-a174-7c8af4ae3590
  58. > kernel.random.entropy_avail = 131
  59. 134c137
  60. < kernel.random.uuid = 11a6f5a8-2b73-402a-8f3c-d24da95c6ccb
  61. ---
  62. > kernel.random.uuid = 0ec9460c-05d5-4552-9855-9705f3dee9a0
  63. 138c141,142
  64. < kernel.sched_autogroup_enabled = 1
  65. ---
  66. > kernel.sched_autogroup_enabled = 0
  67. > kernel.sched_cfs_bandwidth_slice_us = 5000
  68. 140c144,146
  69. < kernel.sched_latency_ns = 6000000
  70. ---
  71. > kernel.sched_compat_yield = 0
  72. > kernel.sched_features = 3183
  73. > kernel.sched_latency_ns = 5000000
  74. 142c148
  75. < kernel.sched_min_granularity_ns = 750000
  76. ---
  77. > kernel.sched_min_granularity_ns = 1000000
  78. 150a157
  79. > kernel.shm_rmid_forced = 0
  80. 153a161,163
  81. > kernel.slow-work.max-threads = 4
  82. > kernel.slow-work.min-threads = 2
  83. > kernel.slow-work.vslow-percentage = 50
  84. 155d164
  85. < kernel.stack_tracer_enabled = 0
  86. 158c167
  87. < kernel.threads-max = 15806
  88. ---
  89. > kernel.threads-max = 15876
  90. 163c172
  91. < kernel.version = #1 SMP Mon Mar 4 00:29:41 EST 2013
  92. ---
  93. > kernel.version = #1 SMP Wed Feb 6 00:31:03 UTC 2013
  94. 165c174
  95. < kernel.watchdog_thresh = 10
  96. ---
  97. > kernel.watchdog_thresh = 60
  98. 171d179
  99. < net.core.netdev_tstamp_prequeue = 1
  100. 173c181
  101. < net.core.rmem_default = 114688
  102. ---
  103. > net.core.rmem_default = 188416
  104. 178c186
  105. < net.core.wmem_default = 114688
  106. ---
  107. > net.core.wmem_default = 188416
  108. 398,420d405
  109. < net.ipv4.netfilter.ip_conntrack_buckets = 16384
  110. < net.ipv4.netfilter.ip_conntrack_checksum = 1
  111. < net.ipv4.netfilter.ip_conntrack_count = 16
  112. < net.ipv4.netfilter.ip_conntrack_generic_timeout = 600
  113. < net.ipv4.netfilter.ip_conntrack_icmp_timeout = 30
  114. < net.ipv4.netfilter.ip_conntrack_log_invalid = 0
  115. < net.ipv4.netfilter.ip_conntrack_max = 64172
  116. < net.ipv4.netfilter.ip_conntrack_tcp_be_liberal = 0
  117. < net.ipv4.netfilter.ip_conntrack_tcp_loose = 1
  118. < net.ipv4.netfilter.ip_conntrack_tcp_max_retrans = 3
  119. < net.ipv4.netfilter.ip_conntrack_tcp_timeout_close = 10
  120. < net.ipv4.netfilter.ip_conntrack_tcp_timeout_close_wait = 60
  121. < net.ipv4.netfilter.ip_conntrack_tcp_timeout_established = 432000
  122. < net.ipv4.netfilter.ip_conntrack_tcp_timeout_fin_wait = 120
  123. < net.ipv4.netfilter.ip_conntrack_tcp_timeout_last_ack = 30
  124. < net.ipv4.netfilter.ip_conntrack_tcp_timeout_max_retrans = 300
  125. < net.ipv4.netfilter.ip_conntrack_tcp_timeout_syn_recv = 60
  126. < net.ipv4.netfilter.ip_conntrack_tcp_timeout_syn_sent = 120
  127. < net.ipv4.netfilter.ip_conntrack_tcp_timeout_syn_sent2 = 120
  128. < net.ipv4.netfilter.ip_conntrack_tcp_timeout_time_wait = 120
  129. < net.ipv4.netfilter.ip_conntrack_udp_timeout = 30
  130. < net.ipv4.netfilter.ip_conntrack_udp_timeout_stream = 180
  131. < net.ipv4.ping_group_range = 1 0
  132. 425d409
  133. < net.ipv4.route.gc_interval = 60
  134. 436a421
  135. > net.ipv4.route.secret_interval = 600
  136. 440c425
  137. < net.ipv4.tcp_adv_win_scale = 1
  138. ---
  139. > net.ipv4.tcp_adv_win_scale = 2
  140. 445d429
  141. < net.ipv4.tcp_challenge_ack_limit = 100
  142. 447d430
  143. < net.ipv4.tcp_cookie_size = 0
  144. 463c446
  145. < net.ipv4.tcp_mem = 21180      28243   42360
  146. ---
  147. > net.ipv4.tcp_mem = 81984      109312  163968
  148. 473c456
  149. < net.ipv4.tcp_rmem = 4096      87380   903776
  150. ---
  151. > net.ipv4.tcp_rmem = 4096      87380   3497984
  152. 487c470
  153. < net.ipv4.tcp_wmem = 4096      16384   903776
  154. ---
  155. > net.ipv4.tcp_wmem = 4096      16384   3497984
  156. 489c472
  157. < net.ipv4.udp_mem = 21180      28243   42360
  158. ---
  159. > net.ipv4.udp_mem = 81984      109312  163968
  160. 506d488
  161. < net.ipv6.conf.all.force_tllao = 0
  162. 535d516
  163. < net.ipv6.conf.default.force_tllao = 0
  164. 564d544
  165. < net.ipv6.conf.eth0.force_tllao = 0
  166. 593d572
  167. < net.ipv6.conf.eth1.force_tllao = 0
  168. 622d600
  169. < net.ipv6.conf.lo.force_tllao = 0
  170. 697c675
  171. < net.ipv6.route.gc_elasticity = 9
  172. ---
  173. > net.ipv6.route.gc_elasticity = 0
  174. 704c682
  175. < net.ipv6.route.min_adv_mss = 1220
  176. ---
  177. > net.ipv6.route.min_adv_mss = 1
  178. 710c688
  179. < net.netfilter.nf_conntrack_count = 16
  180. ---
  181. > net.netfilter.nf_conntrack_count = 1
  182. 717c695
  183. < net.netfilter.nf_conntrack_max = 64172
  184. ---
  185. > net.netfilter.nf_conntrack_max = 64432
  186. 746c724
  187. < net.nf_conntrack_max = 64172
  188. ---
  189. > net.nf_conntrack_max = 64432
  190. 756a735
  191. > vm.extra_free_kbytes = 0
  192. 764,766c743
  193. < vm.min_free_kbytes = 44904
  194. < vm.min_slab_ratio = 5
  195. < vm.min_unmapped_ratio = 1
  196. ---
  197. > vm.min_free_kbytes = 3794
  198. 769d745
  199. < vm.nr_hugepages_mempolicy = 0
  200. 772d747
  201. < vm.numa_zonelist_order = default
  202. 785c760
  203. < vm.zone_reclaim_mode = 0
  204. ---
  205. > vm.would_have_oomkilled = 0

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

no comment untill now

Sorry, comments closed.