Re: [bitfolk] Not being a hog

Αρχική Σελίδα
Συντάκτης: Andy Smith
Ημερομηνία:  
Προς: users
Αντικείμενο: Re: [bitfolk] Not being a hog

Reply to this message
gpg: Signature made Sat Feb 13 08:10:10 2010 UTC using DSA key ID BF15490B
gpg: Good signature from "Andy Smith <andy@strugglers.net>"
gpg: aka "Andrew James Smith <andy@strugglers.net>"
gpg: aka "Andy Smith (UKUUG) <andy.smith@ukuug.org>"
gpg: aka "Andy Smith (BitFolk Ltd.) <andy@bitfolk.com>"
gpg: aka "Andy Smith (Linux User Groups UK) <andy@lug.org.uk>"
gpg: aka "Andy Smith (Cernio Technology Cooperative) <andy.smith@cernio.com>"
Hi Robert,

On Sat, Feb 13, 2010 at 07:41:36AM +0000, Robert Gauld wrote:
> What I'm after doing is a bit of video transcoding on a 4 times a year
> basis, I realise this is CPU intensive and would like to be a good
> neighbour to the others who are on the same physical box as me.
> How do I run a command in low priority mode?


"nice" will do it for CPU, but unless you're planning to peg the CPU
at 100% for days I wouldn't worry about it, as CPU usage usually
isn't a problem.

I don't think there is a good solution for disk IO, which is more of
a problem. "ionice" will manage the priority of a task but I
believe only in relation to other tasks on your VPS.

Cheers,
Andy

-- 
http://bitfolk.com/ -- No-nonsense VPS hosting


"What should one say after making love? ``Thank you'' seems too much.
``I'm sorry'' - somehow not enough." -- The League Against Tedium