AIX system parameter configuration

xiaoxiao2021-03-06  76

AIX System Parameter Configuration AIX kernel belongs to the dynamic kernel, and the core parameters can basically be automatically adjusted, so when the system is installed, the parameters should be considered generally as follows: 1. Single-machine environment 1, the maximum number of logins of the system user MaxLogin MaxLogin According to the number of user number, you can modify via the smitty chlicense command, which is recorded in the /etc/security/login.cfg file, and modifies to take effect after the system is restarted. 2, the system user's LIMITS parameter These parameters are located in the / etc / security / limiteds file, which can be set to -1, ie unlimited, can modify the / etc / security / limits file with VI, all modifications are logged in in the user After taking effect. Default: fsize = 2097151 ---- "Change to -1 Core = 2097151 CPU = -1 DATA = 262144 ----" Change to -1 RSS = 65536 Stack = 65536 Nofiles = 2000 3, Paging Space Checking Paging Spa Size, when physical memory <2G, at least it is set to 1.5 times physical memory, if physical memory> 2G can be appropriately adjusted. At the same time, when you create a Paging Space, you should try to allocate on different hard drives to improve its performance. Modify the size of the original Paging Space or Smitty MKPS to add a Paging Space with the SmitTy ChPS to modify the size of the original paning space. 4, system core parameter configuration Use lsattr -elsys0 to check the size of parameters such as MAXUPROC, MINPOUT, MAXPOUT. MAXUPROC is the maximum number of processes for each user, usually if the system runs DB2 or Oracle should be MAXUPROC adjustment, default: 128, adjust to 500, MAXUPROC increases can work immediately, and reduce AIX. When the application involves a large number of sequential reading and writing, it can be considered to be set to 33, and the MINPout is set to 16, and the smitty chgsys is used. 5, the setting of the file system space Generally, the system's file system /, / usr, / var, / tmp should not exceed 80%, / TMP suggests at least 300m, file system can cause the system to work properly In particular, the basic file system of AIX, such as / (root file system), can cause users to log in. Use DF to view. # DF -K (View AIX Basic File System) FileSystem 1024-Blocks Free% Used iused% iused MOUNTED ON / DEV / HD4 24576 1452 95% 2599 22% / / DEV / HD2 614400 28068 96% 22967 15% / USR / DEV / HD9VAR 8192 4540 45% 649 32% / VAR / DEV / HD3 167936 157968 6% 89 1% / TMP / DEV / HD1 16384 5332 68% 1402 35% / Home utilizes the space of the SmitTY CHFS extension file system. 6, activation SSA Fast-Write Cache uses Smitty Ssafastw to activate each logical disk HDiskn's FAST-WRITE CACHE: After selecting the hard disk, change the Enable Fast-Write into YES to return to the car. 7. AIO AIO usually only works on the file system and does not work for bare devices. The maximum is 10X in parallel disks <80, the minimum is half.

转载请注明原文地址:https://www.9cbs.com/read-120482.html

New Post(0)