Linux – Running a process with both low cpu and I/O priority on rhel4

ionicelinuxrhel4

I've know about running a process under higher & lower priorities for some time, but with different I/O priorities, well that is news to me. My googles have returned information on tools like renice (I've know) and ionice (news to me), but ionice is not on my system, RHEL4.

Question: Does RHEL4 have tools that will let me run a process with low IO priority?

The reason I need this is that running potentially heavy tasks (like du or find/sed against a multi-TB file system) during busy hours (basically waking hours) on the production system could impact performance for tens of minutes or even hours. I'd rather do these whenever it suits me, rather than burning the midnight oil. Again.

Best Answer

rhel4 is based on kernel 2.6.9. You'll need at least 2.6.13 to be able to use ionice, and even then that requires you run your lun under the CFQ scheduler.