Re: time sysctl kstat.zfs.misc.dbufs | wc (was: OpenZFS and L2ARC)

2020-09-10 Thread Brandon Bergren
On Thu, Sep 10, 2020, at 11:50 PM, Brandon Bergren wrote: > On Thu, Sep 10, 2020, at 11:17 PM, Graham Perrin wrote: > > On 09/09/2020 07:46, Stefan Esser wrote: > > > … an annoyance that I had noticed before but now have > > > tracked down: > > > > > > $ time sysctl kstat.zfs.misc.dbufs | wc > >

Re: time sysctl kstat.zfs.misc.dbufs | wc (was: OpenZFS and L2ARC)

2020-09-10 Thread Brandon Bergren
On Thu, Sep 10, 2020, at 11:17 PM, Graham Perrin wrote: > On 09/09/2020 07:46, Stefan Esser wrote: > > … an annoyance that I had noticed before but now have > > tracked down: > > > > $ time sysctl kstat.zfs.misc.dbufs | wc > >    55327 2047031 16333472 > > > > real    0m16,446s > > user    0m0,055s

time sysctl kstat.zfs.misc.dbufs | wc (was: OpenZFS and L2ARC)

2020-09-10 Thread Graham Perrin
On 09/09/2020 07:46, Stefan Esser wrote: … an annoyance that I had noticed before but now have tracked down: $ time sysctl kstat.zfs.misc.dbufs | wc    55327 2047031 16333472 real    0m16,446s user    0m0,055s sys    0m16,397s … Here, I get much scrolling but no output from time: root@mom

Re: OpenZFS and L2ARC

2020-09-10 Thread Stefan Esser
Am 09.09.20 um 21:26 schrieb John Baldwin:> A simple fix might be to use CTLFLAG_SKIP so that you only invoke the expensive sysctls if you request them by name, but not if you request the 'kstat.zfs' tree. I have looked at /sys/contrib/openzfs/module/zfs/dbuf.c where I had assumed that the "kst

Re: OpenZFS and L2ARC

2020-09-09 Thread John Baldwin
On 9/9/20 1:30 AM, Stefan Esser wrote: > Am 09.09.20 um 08:46 schrieb Stefan Esser: >> Am 09.09.20 um 00:45 schrieb Graham Perrin: >>> Recalling >>> , >>> >>> on 28/03/2020 15:17,28/03/2020 15:17, Allan Jude wrote: >>> >

Re: OpenZFS and L2ARC

2020-09-09 Thread Stefan Esser
Am 09.09.20 um 08:46 schrieb Stefan Esser: Am 09.09.20 um 00:45 schrieb Graham Perrin: Recalling , on 28/03/2020 15:17,28/03/2020 15:17, Allan Jude wrote:  >> …  >>  >> Basically 'arc' was converted to a subtree.  >>

Re: OpenZFS and L2ARC

2020-09-08 Thread Stefan Esser
Am 09.09.20 um 00:45 schrieb Graham Perrin: On 08/09/2020 08:43, Stefan Esser wrote: OpenZFS seems to work quite well for me, in general, but I have questions regarding the L2ARC statistics. … The sysutils/zfs-stats port reports the following values for this system, BTW: --

Re: OpenZFS and L2ARC

2020-09-08 Thread Graham Perrin
On 08/09/2020 08:43, Stefan Esser wrote: OpenZFS seems to work quite well for me, in general, but I have questions regarding the L2ARC statistics. … The sysutils/zfs-stats port reports the following values for this system, BTW: ---

OpenZFS and L2ARC

2020-09-08 Thread Stefan Esser
OpenZFS seems to work quite well for me, in general, but I have questions regarding the L2ARC statistics. The system uses a 3 * 6 TB raidz1 (plus further ZFS volumes that are not relevant here, since without level 2 ARC) and an 1 TB M.2 SSD with a 256 GB partition for the L2ARC (and most of it c