![]() | |||||||||||||
Messages in this thread |
> System instrumentation people are already complaining about how costly > /proc parsing is. If you have to get some nontrivial stat from all > threads in the system, and if Linux doesnt offer that counter or summary > by default, it gets pretty expensive. > > One solution i can think of would be to make a binary representation of > /proc/<pid>/stats readonly-mmap-able. This would add a 4K page to every > task tracked that way, and stats updates would have to update this page > too - but it would make instrumentation of running apps really > unintrusive and scalable. That would be awesome - the current methods we have are mostly crap. There are some atomicity issues though. Plus when I suggested this 2 years ago, everyone told me to piss off, but I'm not bitter ;-) Seriously, we do need a fast communication mechanism. M. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ | ||||||||||||
| Last update: 2005-11-04 15:26 [from the cache] ©2003-2008 | |||||||||||||