Richard Freeman on 4 Dec 2009 12:05:12 -0800 |
Fred Stluka wrote: > There's another command called "ionice" that > may be close to what you want. It throttles disk IO, not network > IO. Hmm, drifting off-topic, but is ionice and/or nice supposed to impact swap behavior? My problem is that I can run a program ionice -c 3 nice -n 20 and yet if it swaps that swapping runs at -10/best-effort, and with ecrypted swap and swap-on-RAID the loop and md layers also seem to run at high priority. As a result, a heavily niced process can still kill system performance, when I'd prefer that it just grind to a halt indefinitely. It would be nice if all the driver layers pay attention to where the data they are dealing with came from and prioritize accordingly. It would be REALLY nice if mysql/etc did the same for queries coming from niced processes, but perhaps that is too much to ask. :) And, no, I'm not too cheap to buy more RAM, but I am too cheap to try to find and buy a replacement motherboard and CPU and RAM that has enough PCI and drive room for my extra NIC, two tuner cards, 4 IDE drives, 3 SATA drives, and whatever else I have in there... If only I didn't already have all three memory slots filled (two with 512MB DIMMS on a slot that could handle 1GB). At this point I'm just putting off the inevitable and when Gentoo finally moved to KDE 4 I ended up moving to xfce (which I must say I'm very happy with). ___________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug
|
|