How to Identify Heavy Write to Disk on Linux

iolinuxperformancescaling

I have this problem with server running CakePHP application. The server is insanely slow, I first thought that it's application problem, but then I found constant 5-6MB/s write to disk.

What is the easiest way to find cause of such a heavy write?

The server is running Gentoo.

Best Answer

Install iotop, and find which program is doing it.