linux flush usage shoing as high usage process

mokkan
mokkan used Ask the Experts™
on
I'm doing some write test and I can see  flush command is taking 40-50% of the cpu. What exactly this flash command doing?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
As the name suggests, the flush process flushes the data from memory to disk.

This is the normal way linux operates. When you change the data in memory, it is not immediately written to disk, but will flushed a little bit later. The flush operations will use a lot of CPU during heavy write IO.

Author

Commented:
Thanks a lot.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial