Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 01 Feb 2008 11:26:31 +0100
From:      Kris Kennaway <kris@FreeBSD.org>
To:        Alexander Motin <mav@FreeBSD.org>
Cc:        freebsd-hackers@freebsd.org, freebsd-performance@freebsd.org
Subject:   Re: Memory allocation performance
Message-ID:  <47A2F3D7.1020307@FreeBSD.org>
In-Reply-To: <47A2C142.9030306@FreeBSD.org>
References:  <47A25412.3010301@FreeBSD.org> <47A255BB.3020708@FreeBSD.org>	<47A25A3A.80700@FreeBSD.org> <47A2C142.9030306@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Alexander Motin wrote:
> Kris Kennaway пишет:
>> Alexander Motin wrote:
>>> Alexander Motin пишет:
>>>> While profiling netgraph operation on UP HEAD router I have found 
>>>> that huge amount of time it spent on memory allocation/deallocation:
>>>
>>> I have forgotten to tell that it was mostly GENERIC kernel just built 
>>> without INVARIANTS, WITNESS and SMP but with 'profile 2'.
>>
>> What is 'profile 2'?
> 
> I have thought it is high resolution profiling support. Isn't it?
> 

OK.  This is not commonly used so I don't know if it works.  Try using 
hwpmc if possible to compare.

When you say that your own allocation routines show less time use under 
profiling, how do they affect the actual system performance?

Kris




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