Linux Performance Tuning
From Notes
There are 5 primary areas to focus on when tuning a system for performance. These areas are:
- Display
- Network
- CPU
- Disk
- Memory
Most server engineers will concentrate on CPU, memory, disk, and network performance. Rarely one will find an application that depends on display performance related to graphical rendering of some sort.
Memory
Use pmap to see how much memory a process is using:
pmap -d <pid>
To get a list of all shared memory in use, use the ipcs command:
ipcs -a
...or...
cat /proc/sysvipc/shm
You can also remove the shared segment with ipcrm.
