[Nottingham] Opportunistically maximising resource utilisation

Martin martin at ml1.co.uk
Tue Sep 23 09:03:40 UTC 2008


So...

What might be the best strategy for an unprivileged low priority
application to sense and opportunistically utilise spare resource such
as idle CPU time and spare RAM and yet avoid (causing) excessive memory
swaps or a system slow-down in any way?

That is, how can you make a big resource hog really really nice and
unobtrusive for whatever system?

And also have the task gracefully kill itself if it has exceeded a
certain CPU time or clock time without completion?


For example, I'm wanting something better than just looking at 'load
average' because you can have a "high load" whilst the CPU is still 99%
idle... And "nice 19" doesn't let a process tune itself for present
conditions.

(A more 'holistic' view?)


Ideas?

Cheers,
Martin

-- 
----------------
Martin Lomas
martin at ml1.co.uk
----------------



More information about the Nottingham mailing list