AIX中没有HP_UX那么复杂,只需要修改内存线程数之类的参数。[@more@]
kctune -h ksi_alloc_max="(nproc*8)"
kctune -h max_thread_proc="256"
kctune -h maxdsiz="1073741824"
kctune -h maxdsiz_64bit="2147483648"
kctune -h maxssiz="134217728"
kctune -h maxssiz_64bit="1073741824"
kctune -h maxswapchunks="16384"
kctune -h maxuprc="((nproc*9)/10)"
kctune -h msgmap="(2+msgmni)"
kctune -h msgmni="4096"
kctune -h msgseg="32767"
kctune -h msgtql="4096"
kctune -h ncsize="(ninode+vx_ncsize)"
kctune -h nfile="(15*nproc+2048)"
kctune -h nflocks="4096"
kctune -h ninode="(8*nproc+2048)"
kctune -h nkthread="(((nproc*7)/4)+16)"
kctune -h nproc="4096"
kctune -h semmap="(semmni+2)"
kctune -h semmni="4096"
kctune -h semmns="(semmni*2)"
kctune -h semmnu="(nproc-4)"
kctune -h semvmx="32767"
kctune -h shmmax="4283146240"
kctune -h shmmni="512"
kctune -h shmseg="120"
kctune -h vps_ceiling="64"
kctune -h max_thread_proc="256"
kctune -h maxdsiz="1073741824"
kctune -h maxdsiz_64bit="2147483648"
kctune -h maxssiz="134217728"
kctune -h maxssiz_64bit="1073741824"
kctune -h maxswapchunks="16384"
kctune -h maxuprc="((nproc*9)/10)"
kctune -h msgmap="(2+msgmni)"
kctune -h msgmni="4096"
kctune -h msgseg="32767"
kctune -h msgtql="4096"
kctune -h ncsize="(ninode+vx_ncsize)"
kctune -h nfile="(15*nproc+2048)"
kctune -h nflocks="4096"
kctune -h ninode="(8*nproc+2048)"
kctune -h nkthread="(((nproc*7)/4)+16)"
kctune -h nproc="4096"
kctune -h semmap="(semmni+2)"
kctune -h semmni="4096"
kctune -h semmns="(semmni*2)"
kctune -h semmnu="(nproc-4)"
kctune -h semvmx="32767"
kctune -h shmmax="4283146240"
kctune -h shmmni="512"
kctune -h shmseg="120"
kctune -h vps_ceiling="64"
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/653579/viewspace-910859/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/653579/viewspace-910859/