Memory allocation performance
kris at FreeBSD.org
Fri Feb 1 02:26:34 PST 2008
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?
More information about the freebsd-performance