Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Jan 2011 20:57:07 +0300
From:      Slawa Olhovchenkov <slw@zxy.spb.ru>
To:        Stefan Lambrev <stefan.lambrev@moneybookers.com>
Cc:        freebsd-performance@freebsd.org, Julian Elischer <julian@freebsd.org>
Subject:   Re: Interrupt performance
Message-ID:  <20110128175707.GH18170@zxy.spb.ru>
In-Reply-To: <E8E33338-7A76-407C-9D84-4184458FB538@moneybookers.com>
References:  <20110128143355.GD18170@zxy.spb.ru> <22E77EED-6455-4164-9115-BBD359EC8CA6@moneybookers.com> <20110128161035.GF18170@zxy.spb.ru> <CDBFAB7F-1EBC-4B3A-B2F5-6162DD58A93D@moneybookers.com> <4D42F87C.7020909@freebsd.org> <20110128172516.GG18170@zxy.spb.ru> <E8E33338-7A76-407C-9D84-4184458FB538@moneybookers.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jan 28, 2011 at 07:44:57PM +0200, Stefan Lambrev wrote:

> >> there are profiling tools that you may decide to run.
> > 
> > What tools I can use on amd64?
> 
> Look at this document - http://software.intel.com/sites/oss/pdfs/profiling_debugging_freebsd_kernel_321772.pdf
> It contains brief information for all useful profiling tools, or just google for "freebsd kernel profiling"
> I'm not sure what the situation with RealTek driver, but in the past when I have done profiling, I saw that much of
> the CPU time was spent on expensive (for FreeBSD) calls, which where very cheap in linux.

kgmon badly work on amd64.
PmcStat don't supported on this CPU.

Also,
http://lists.freebsd.org/pipermail/freebsd-questions/2008-October/183977.html

===
This is one of many defects that are not present in high resolution
kernel profiling (kgmon -B instead of kgmon -b; availaible on amd64
and i386).  However, high resolution kernel profiling doesn't work
right with SMP, and was completely broken by gcc-4.  Ordinary
profiling
was less completely broken by gcc-4, and you can recover the old
behaviour by turning off new optimizations (mainly -funit-at-a-time
and/or -finline-functions-called-once and or all of -O2).
===

> > 
> > I boot kernel configured with 'config -p'.
> > Most time in spinlock_exit and acpi_cpu_c1.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110128175707.GH18170>