From: Arthur C. <co...@di...> - 2004-08-28 01:34:43
|
On Fri, 27 Aug 2004, Guillaume Thouvenin wrote: > I like this solution. > In fact what I proposed was to have PAGG and a modified BSD accounting > that can be used with PAGG as both are already in the -mm tree. But > manage group of processes from userspace is, IMHO, a better solution as > modifications in the kernel will be minimal. > > Therefore the solution could be to enhance BSD accounting with data > collection from CSA and provide per job accounting with a userspace > mechanism. Sounds great to me... The only concern I have with a userspace solution is that you run the risk of losing that data. What happens if a process on the box drives drives it out of memory and paging space? The box would still be working, it just wouldn't be able to fork new processes, and those already running that aren't purposely made high priority may not get much of a chance to execute as well. I've lost SAR data that way. --Arthur Corliss Bolverk's Lair -- http://arthur.corlissfamily.org/ Digital Mages -- http://www.digitalmages.com/ "Live Free or Die, the Only Way to Live" -- NH State Motto |