Exposing Zone Sleeps

Sean Bruno seanbru at yahoo-inc.com
Tue May 25 14:51:35 UTC 2010


> Hi Sean,
> 
> Nice work on this. I applied this to stable/8 r208530 and I am in the
> process of compiling the kernel right now. Everything else has built &
> runs as expected "i386". Attached is the adjusted patch which was one
> modification to the line number for uz_sleeps in sys/vm/uma_int.h.
> 
> 8 files changed, 106 insertions(+), 7 deletions(-)
> 
> For those wishing to apply this patch and test for them self:
> 
> cd /usr/src
> patch </path/to/sleep_stat_stable8_r208530.diff
> cd /usr/src/include
> make obj && make depend && make includes && make install
> cd /usr/src/lib/libmemstat
> make obj && make depend && make includes && make install
> cd /usr/src/usr.bin/vmstat
> make obj && make depend && make install
> cd /usr/src
> make kernel KERNCONF=YOUR_KERN_CONF
> reboot
> 
> Can't wait to see some results from this & I will report back with
> either negative results of the build & run or positive results from the
> stats collected.
> 
> If there is anything needed feel free to let me know and I will do what
> is possible ASAP.
> 
> Thanks again,
> 
> - -- 
> 
>  jhell

Excellent.  Please check the output of vmstat -z and the appropriate
sysctl.  I changed the display a bit to keep it from wrapping on a
standard terminal.

Sean

P.S.  My intention it to MFC this to all releases.



More information about the freebsd-hackers mailing list