vmstat -m strangeness

Ian Lepore ian at freebsd.org
Tue Oct 20 21:59:54 UTC 2015


root at wand:~ # vmstat -m | egrep "busdma|bounce|devbuf|Type"
         Type InUse MemUse HighUse Requests  Size(s)
       devbuf   125    10K       -      166  16,32,64,256,512,1024
       busdma   922   116K       -      922  128
       bounce   385   775K       -      385  32,128

How do 385 allocations of 32 or 128 bytes add up to 775K?  The
answer... 768K of individual pages each allocated via contigmalloc() do
n't show up in that output.  Why is that, and is it something that
should be fixed?

-- Ian



More information about the freebsd-hackers mailing list