A server compared to the performance of memory, CPU utilization, IO utilization, the 3 sample optimization, your server load will be much smaller, of course, the network situation is not in my consideration, after all, network this situation is very unstable, even if you optimize the network on the server better, IDC does not give the force is useless, Unless it is the company's own computer room, OK, today only say how to find the IO high-occupancy program. System: CentOS 5.51. Turn on Io monitoring sysctl vm.block_dump=1 or Echo 1 >/proc/sys/vm/block_dump 2. The kernel will dump IO read/write to the diary, with DMESG view: DMESG 3. Process read-write block to disk Dm-0:mysqld (7822): Read Block 78196624 on Dm-0kjournald (529): Write Block 211136 on Dm-0bash (8336): dirtied Inode 7391146 (DMESG) on dm-0 4. Count the 10 processes currently occupying the highest IO: dmesg |awk-f: ' {print $} ' |sort|uniq-c|sort-rn|head-n 10
Find out which Linux server IO is a high-occupancy program