g_wither_washer() called 470000 times per second

Fabian Keil freebsd-listen at fabiankeil.de
Sat Sep 22 18:24:27 UTC 2012


Fabian Keil <freebsd-listen at fabiankeil.de> wrote:

> Apparently what's eating the cpu is the kernel calling
> g_wither_washer() about 470000 time per second which
> seems a bit excessive:
> 
> r500# dtrace -n 'fbt:kernel:g_*:entry { @[probefunc, stack()] = count(); } tick-1sec { trunc(@, 15); printa(@); trunc(@)}'
> dtrace: description 'fbt:kernel:g_*:entry ' matched 232 probes
> CPU     ID                    FUNCTION:NAME
> [...]

>   g_wither_washer                                   
>               kernel`g_run_events+0x358
>               kernel`fork_exit+0x11f
>               kernel`0xffffffff808debde
>            475959
> 

This is now kern/171865:
http://www.freebsd.org/cgi/query-pr.cgi?pr=171865

Fabian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-fs/attachments/20120922/1275f571/signature.pgp


More information about the freebsd-fs mailing list