cvs commit: src/sys/vm uma_core.c

Robert Watson rwatson at FreeBSD.org
Thu Oct 26 16:27:08 UTC 2006


On Thu, 26 Oct 2006, Ruslan Ermilov wrote:

> On Thu, Oct 26, 2006 at 12:55:32PM +0000, Robert Watson wrote:
>> rwatson     2006-10-26 12:55:32 UTC
>>
>>   FreeBSD src repository
>>
>>   Modified files:
>>     sys/vm               uma_core.c
>>   Log:
>>   Better align output of "show uma" by moving from displaying the basic
>>   counters of allocs/frees/use for each zone to the same statistics
>>   shown by userspace "vmstat -z".
>
> "The same statistics" also shows LIMIT, REQUESTS, and FAILURES.

Requests are included in the output I added, but are spelt "Requests". 
Limits and failures currently aren't, but adding them wouldn't be a bad idea 
at all.  I'm also thinking off adding a "show umazone <x>" which would provide 
more detailed information about per-CPU caches, as we're currently looking at 
a potential UMA bug in a panic report on -stable.  We'd pull some, but not 
all, of the logic from umastat.c.

Robert N M Watson
Computer Laboratory
University of Cambridge


More information about the cvs-src mailing list