Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Feb 2019 19:29:15 +0100
From:      Kurt Jaeger <pi@opsec.eu>
To:        Eugene Grosbein <eugen@grosbein.net>
Cc:        Garrett Wollman <wollman@bimajority.org>, freebsd-stable@freebsd.org
Subject:   Re: 11.2-STABLE kernel wired memory leak
Message-ID:  <20190212182915.GM2748@home.opsec.eu>
In-Reply-To: <8a9361fd-4701-4e33-33f0-e4800af7637c@grosbein.net>
References:  <d8c7abc0-3ba1-40e4-22b1-1b30d28ced14@grosbein.net> <201902121757.x1CHve0h056876@hergotha.csail.mit.edu> <7125e053-5adf-929a-bde6-a64fceae2aaa@grosbein.net> <8a9361fd-4701-4e33-33f0-e4800af7637c@grosbein.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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@opsec.eu            +49 171 3101372                    One year to go !



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