Date: Tue, 07 Oct 2008 21:28:03 +0800 From: Julian Elischer <julian@elischer.org> To: =?GB2312?B?x/G9ow==?= <qj@huawei.com> Cc: freebsd-net@FreeBSD.org, freebsd-questions@freebsd.org, freebsd-threads@freebsd.org Subject: Re: kernel profiling: spinlock_exit consumes 36% CPU time. Message-ID: <48EB63E3.60604@elischer.org> In-Reply-To: <004001c92871$fdec0a10$01000001@china.huawei.com> References: <004001c92871$fdec0a10$01000001@china.huawei.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Ηρ½£ wrote: > Hi, folks, [...] spinlocks disable interrupts so the profiling interrupt is held off from the moment that the spinlock is entered to the moment it is exited, and all of that time is attributed to spinlock_exit(). so that this tells you that 3% of your time is spent under spinlocks which is a lot. as others have asked, "what version"? you should look up lock profiling to see WHICH lock is teh ine in question.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48EB63E3.60604>