8
1
How do I turn off write cache in Linux? More specifically, SUSE 11?
My problem is that heavy I/O kills the system even if the generating process is a user priority class, and the starved processes are RR/RT class. So my high availability system breaks with lots of timeouts.
I have /
mounted on a flash drive, and a few mount points looking into a RAID controller. For the RAID, I want to try to turn the cache off, since it has a cache inside. But if it needs to be system-wide, fine.
So far I used sync
option to mount
, but it's not quite like turning off the cache.
Any ideas?
General rule to be real-time is not to mix the workloads, especially batch and interactive tasks. If you want a service to be real-time, then put it on a dedicated server. Otherwise, it would be interesting to hear if ionice suggested below would help alleviate the problem. – Dummy00001 – 2010-07-05T22:48:29.897