Not logged in
Log in now
Create an account
Subscribe to LWN
LWN.net Weekly Edition for May 16, 2013
A look at the PyPy 2.0 release
PostgreSQL 9.3 beta: Federated databases and more
LWN.net Weekly Edition for May 9, 2013
(Nearly) full tickless operation in 3.10
Is there any command (similar to nice) that changes a process' io-priority?
It seems that CFQ priorities are inherited from the normal (cpu) priority, so it would be nice with a simple way of changeing them.
Posted Aug 29, 2005 13:12 UTC (Mon) by joib (guest, #8541)
My guess is that processes which are deemed important enough to get more cpu time also should get more I/O time and vice versa.
Or to put it another way, since I/O is orders of magnitude slower than just about anything else, if I/O is the bottleneck then the I/O heavy process whould also get a high cpu priority, so that when it needs cpu it gets it so it can go back to doing I/O ASAP.
Certainly one could design any number of synthetic benchmarks were different cpu and I/O priorities would be beneficial, but do these situations really occur in real life?
Posted Aug 29, 2005 16:49 UTC (Mon) by larryr (guest, #4030)
I may want an IO bound process to have a lower IO priority than other processes, but that doesnt mean I necessarily want it to have to wait
for CPU time when it is ready for it. By definition an IO bound process
is not going to be competing much with other IO bound processes for CPU time,
so it doesnt seem to make much sense to force them to use CPU priority
for their IO contention, when that will put them at a disadvantage relative
to CPU bound processes; it seems reasonable for all IO bound processes to
have a high CPU priority, as has traditionally been the case.
Posted Aug 29, 2005 13:36 UTC (Mon) by LogicG8 (guest, #11076)
Posted Aug 29, 2005 18:12 UTC (Mon) by ncm (subscriber, #165)
Posted Aug 29, 2005 18:40 UTC (Mon) by jwb (guest, #15467)
Posted Aug 29, 2005 20:28 UTC (Mon) by micampe (guest, #4384)
The programs that are included in this package are taskset and chrt. Together
with nice and renice (not included), they allow full control of process
scheduling parameters. Suggestions for related utilities are welcome, although
it is believed (barring new interfaces) that all scheduling interfaces are
Posted Aug 30, 2005 1:40 UTC (Tue) by dlang (✭ supporter ✭, #313)
Posted Aug 30, 2005 0:08 UTC (Tue) by darthmdh (guest, #8032)
I only tested it once, it did successfully cripple an annoying cron job just as I asked it to ;)
Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds