11.2-STABLE kernel wired memory leak

Kurt Jaeger pi at opsec.eu
Tue Feb 12 18:29:22 UTC 2019


Hi!

> > Use following command to see how much memory is wasted in your case:
> > 
> > vmstat -z | awk -F, '{printf "%10s %s\n", $2*$5/1024/1024, $1}' | sort -k1,1 -rn | head
> 
> Oops, small correction:
> 
> vmstat -z | sed 's/:/,/' | awk -F, '{printf "%10s %s\n", $2*$5/1024/1024, $1}' | sort -k1,1 -rn | head

On a 8 GB 11.2p8 box doing mostly routing:

  42.3047 abd_chunk
        40 zio_buf_131072
     31.75 zio_data_buf_131072
   19.8901 swblk
   12.9224 RADIX NODE
   11.7344 zio_buf_16384
   10.0664 zio_data_buf_12288
   9.84375 zio_data_buf_40960
     9.375 zio_data_buf_81920
   7.96875 zio_data_buf_98304

So, how do I understand this ? Please note that I use:

vfs.zfs.arc_max=1216348160

-- 
pi at opsec.eu            +49 171 3101372                    One year to go !


More information about the freebsd-stable mailing list