[Kernel-packages] [Bug 1854480] Re: zfs_arc_max not working anymore in zfs 0.8.1

2020-03-26 Thread Colin Ian King
I've experimented with this on eoan and focal (ZFS 0.8.1 and ZFS 0.8.3) on a 4GB VM image. I set the /etc/modprobe.d/zfs.conf as follows: options zfs zfs_arc_max=134217728 # 128 MB And rebooted. I then exercised the zfs with various greps and git logs on the linux git repository while running:

[Kernel-packages] [Bug 1854480] Re: zfs_arc_max not working anymore in zfs 0.8.1

2020-03-26 Thread BertN45
I moved to Ubuntu 20.04 and I do not have that problem anymore. I stopped with writing directly after the login the value to the file /sys/module/zfs/parameters/zfs_arc_max. I now only rely on "options zfs zfs_arc_max=3221225472" in /etc/modprobe.d/zfs.conf. Problem solved in 20.04 and I tried i

[Kernel-packages] [Bug 1854480] Re: zfs_arc_max not working anymore in zfs 0.8.1

2020-03-26 Thread Colin Ian King
I'll close this bug report if that's OK. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to zfs-linux in Ubuntu. https://bugs.launchpad.net/bugs/1854480 Title: zfs_arc_max not working anymore in zfs 0.8.1 Status in zfs-linux package in Ub

[Kernel-packages] [Bug 1854480] Re: zfs_arc_max not working anymore in zfs 0.8.1

2020-03-27 Thread Colin Ian King
** Changed in: zfs-linux (Ubuntu) Status: Incomplete => Fix Released -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to zfs-linux in Ubuntu. https://bugs.launchpad.net/bugs/1854480 Title: zfs_arc_max not working anymore in zfs 0.8.1

[Kernel-packages] [Bug 1854480] Re: zfs_arc_max not working anymore in zfs 0.8.1

2019-11-29 Thread BertN45
** Description changed: In the past I could limit the size of L1ARC by specifying "options zfs zfs_arc_max=3221225472" in /etc/modprobe.d/zfs.conf. I tried even to - fill /sys/module/zfs/parameters/zfs_arc_max directly after login, but - none of those methods limits the size of L1ARC. It worke

[Kernel-packages] [Bug 1854480] Re: zfs_arc_max not working anymore in zfs 0.8.1

2020-12-14 Thread Adam Lucke
I would like to reopen this issue. I installed Ubuntu 20.04.1 LTS Server (no zfs root, 16GB RAM) and added zfs volumes. I tried to limit the arc with `options zfs zfs_arc_max=134217728` in `/etc/modprobe.d/zfs.conf` to 128MiB (just to try) I updated the initial ramdisk with `update-initramfs -u`

[Kernel-packages] [Bug 1854480] Re: zfs_arc_max not working anymore in zfs 0.8.1

2020-12-14 Thread Adam Lucke
The `zfs_arc_max` setting *is* respected when I set it to a value of `1073741824` = 1GiB ``` cat /etc/modprobe.d/zfs.conf; cat /sys/module/zfs/parameters/zfs_arc_max; cat /proc/spl/kstat/zfs/arcstats |grep ^size -B3 options zfs zfs_arc_max=1073741824 1073741824 c 4

[Kernel-packages] [Bug 1854480] Re: zfs_arc_max not working anymore in zfs 0.8.1

2020-12-16 Thread Richard Laager
The limit in the code does seem to be 64 MiB. I'm not sure why this isn't working. I am not even close to an expert on this part of OpenZFS, so all I can suggest is to file a bug report upstream: https://github.com/openzfs/zfs/issues/new -- You received this bug notification because you are a mem

[Kernel-packages] [Bug 1854480] Re: zfs_arc_max not working anymore in zfs 0.8.1

2020-03-10 Thread Colin Ian King
Maybe I'm missing something here. I tested this out on an Eoan server: $ dmesg | grep ZFS [ 10.821332] ZFS: Loaded module v0.8.1-1ubuntu14.3, ZFS pool version 5000, ZFS filesystem version 5 $ uname -a Linux eaon-amd64 5.3.0-42-generic #34-Ubuntu SMP Fri Feb 28 05:49:40 UTC 2020 x86_64 x86_64

[Kernel-packages] [Bug 1854480] Re: zfs_arc_max not working anymore in zfs 0.8.1

2020-03-10 Thread BertN45
Yes you did miss something. Of course the value is changed in /etc/modprobe.d/zfs.conf. I changed it myself! However zfs is ignoring that value and is using considerably more memory for L1ARC. If I wanted to limit the size of L1ARC, I had to change the value in /sys/module/zfs/parameters/zfs_arc_m

[Kernel-packages] [Bug 1854480] Re: zfs_arc_max not working anymore in zfs 0.8.1

2020-03-10 Thread Colin Ian King
Just for clarification, how are you determining that zfs is using more memory for the L1ARC? -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to zfs-linux in Ubuntu. https://bugs.launchpad.net/bugs/1854480 Title: zfs_arc_max not working any

[Kernel-packages] [Bug 1854480] Re: zfs_arc_max not working anymore in zfs 0.8.1

2020-03-10 Thread BertN45
I display it constantly using conky (see attachment) and conky is using ${color}L1ARC / ${color0}Hits%: ${color}${alignr}(${exec cat /proc/spl/kstat/zfs/arcstats | grep -m 1 uncompressed_size | awk '{printf "%4.2f",$3/1073741824}'}) ${exec cat /proc/spl/kstat/zfs/arcstats | grep -m 1 size | awk '{

Re: [Kernel-packages] [Bug 1854480] Re: zfs_arc_max not working anymore in zfs 0.8.1

2020-03-26 Thread BertN45
OK, close the bug-report. On Thu, 2020-03-26 at 22:47 +, Colin Ian King wrote: > I'll close this bug report if that's OK. > -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to zfs-linux in Ubuntu. https://bugs.launchpad.net/bugs/1854480