On Sun, 2007-12-23 at 12:26 +0000, Christoph Hellwig wrote:Apologies for the late reply -- I haven't had internet access for the last few weeks. Yeah. Some discussion on measuring the performance of Task Watchers: http://thread.gmane.org/gmane.linux.lse/4698 The requirements for Task Watchers were: Allow sleeping in most/all notifier functions in these paths: fork exec exit change [re][ug]id No performance overhead One "chain" per path ("I only care about exec().") Easy to use Scales to large numbers of CPUs Useful to make most in-tree code more readable. Task Watchers took direct calls to these pieces of code out of the fork/exec/exit paths: audit semundo cpusets mempolicy trace irqflags lockdep keys (for processes -- not for thread groups) process events connector Useful for loadable modules Performance overhead in microbenchmarks was measurable at around 1% (see the URL above). Overhead on benchmarks like kernbench on the other hand were in the noise margins (which were around 1.6%) and hence I couldn't determine the overhead there. I never got the loadable module part completely working due to races between notifier functions and the module unload path. The solution to the races seemed to require adding more overhead to the notifier function paths (SRCU-like grace periods). I stopped pushing the patch set because I hadn't found any new optimizations to offset the overheads while still meeting all the requirements and Andrew still felt that the "make it more readable" argument was not sufficient to justify its inclusion. Jan, instead of adding notifiers could utrace be used or made to work for modules? Also, please add me to the Cc list for any reposts of the entire series. Thanks! Cheers, -Matt Helsley --
| Tarkan Erimer | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Greg Kroah-Hartman | [PATCH 001/196] Chinese: Add the known_regression URI to the HOWTO |
| Benjamin Herrenschmidt | Re: [PATCH] Remove process freezer from suspend to RAM pathway |
| Bart Van Assche | Re: Integration of SCST in the mainstream Linux kernel |
git: | |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Arjan van de Ven | Re: [GIT]: Networking |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| Natalie Protasevich | [BUG] New Kernel Bugs |
