move /tmp mount from disk to memory
When you got a heave load on your disk with many IO's and the /tmp mount is a primary target of that?
Here is a heroic solution. Move it from disk to memory.
It only requires a simple change in fstab. The configuration file that defines all your mounts.
The old /tmp config:
/dev/mapper/vg1-tmp /tmp ext4 defaults,nosuid,noatime,noexec 0 2
The new /tmp config:
tmpfs /tmp tmpfs defaults,noatime,nosuid,nodev,noexec,mode=1777,size=10G 0 0
A simple command will reload your new fstab config: