[Kernel-packages] [Bug 1964992] Re: ZFS ignores ARC sizes below allmem/32

2023-04-18 Thread Launchpad Bug Tracker
This bug was fixed in the package zfs-linux - 0.8.3-1ubuntu12.15 --- zfs-linux (0.8.3-1ubuntu12.15) focal; urgency=medium * Fix zfs_arc_max getting ignored when value below allmem/32 (LP: #1964992) - d/p/4930-Dont-ignore-zfs_arc_max-below-allmem-32.patch -

[Kernel-packages] [Bug 1964992] Re: ZFS ignores ARC sizes below allmem/32

2023-04-18 Thread Ghadi Rahme
Hello everyone, I was able to confirm the fix for focal using the test case from the description: root@zfs-test:~$ free -h totalusedfree shared buff/cache available Mem: 31Gi 247Mi30Gi 1.0Mi 352Mi30Gi Swap:

[Kernel-packages] [Bug 1964992] Re: ZFS ignores ARC sizes below allmem/32

2023-04-12 Thread Heitor Alves de Siqueira
zfs-linux FTBS on riscv64, but that's been the case for the versions from -updates for some time now. It's not related to this upload, but rather to the ZFS version in focal not supporting riscv64: In file included from ../../lib/libspl/include/sys/types.h:36, from

[Kernel-packages] [Bug 1964992] Re: ZFS ignores ARC sizes below allmem/32

2023-04-12 Thread Heitor Alves de Siqueira
** Tags added: verification-needed-focal ** Tags added: se-sponsor-halves -- 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/1964992 Title: ZFS ignores ARC sizes below allmem/32

[Kernel-packages] [Bug 1964992] Re: ZFS ignores ARC sizes below allmem/32

2023-04-03 Thread Łukasz Zemczak
Hello Heitor, or anyone else affected, Accepted zfs-linux into focal-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/zfs- linux/0.8.3-1ubuntu12.15 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See

[Kernel-packages] [Bug 1964992] Re: ZFS ignores ARC sizes below allmem/32

2023-03-20 Thread Heitor Alves de Siqueira
Thank you for the v2, Ghadi! I made some minor modifications to your changelog entry (added "d/p/" before the patch files), and included a "backport-notes:" tag in your second patch mentioning the FreeBSD- specific sections were dropped from upstream. With the v2, I ran the regression tests again

[Kernel-packages] [Bug 1964992] Re: ZFS ignores ARC sizes below allmem/32

2023-03-20 Thread Ghadi Rahme
** Patch added: "zfs-linux_0.8.3-1ubuntu12.15_v2.debdiff" https://bugs.launchpad.net/ubuntu/focal/+source/zfs-linux/+bug/1964992/+attachment/5655892/+files/zfs-linux_0.8.3-1ubuntu12.15_v2.debdiff -- You received this bug notification because you are a member of Kernel Packages, which is

[Kernel-packages] [Bug 1964992] Re: ZFS ignores ARC sizes below allmem/32

2023-03-16 Thread Heitor Alves de Siqueira
Thanks, Dimitri! I've tested Ghadi's patches and confirmed they work and don't trigger any regressions in the ZFS test suite. I've asked Ghadi to rework some portions of his backport in order to be closer to the upstream patches though, so we should have a v2 soon. We'll make sure that previous

[Kernel-packages] [Bug 1964992] Re: ZFS ignores ARC sizes below allmem/32

2023-03-13 Thread Dimitri John Ledkov
Editing 0.8.3-1ubuntu12.14 changelog seems inappropriate. Whoever is sponsoring this debdiff, should drop that hung, as long as it doesn't have any other mistakes. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to zfs-linux in Ubuntu.

[Kernel-packages] [Bug 1964992] Re: ZFS ignores ARC sizes below allmem/32

2023-03-06 Thread Ghadi Rahme
Hello, I just wanted to clarify the changes in the two commits that were backported. For commit 36a6e2335c45, the main features that were backported were the warnings generated when ARC fails to set the max and min value to the user specified values. Although this commit has a fix for the

[Kernel-packages] [Bug 1964992] Re: ZFS ignores ARC sizes below allmem/32

2023-03-06 Thread Ghadi Rahme
** Description changed: [Impact] ZFS ignores tunable "zfs_arc_max" due to it being below allmem/32 threshold. This prevents users from properly restraining ARC sizes, and can cause increased memory contention in some systems. [Test Plan] 1. Deploy test system with ZFS storage and

[Kernel-packages] [Bug 1964992] Re: ZFS ignores ARC sizes below allmem/32

2023-01-17 Thread Ghadi Rahme
** Patch added: "zfs-linux_0.8.3-1ubuntu12.15.debdiff" https://bugs.launchpad.net/ubuntu/+source/zfs-linux/+bug/1964992/+attachment/5641946/+files/zfs-linux_0.8.3-1ubuntu12.15.debdiff -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to

[Kernel-packages] [Bug 1964992] Re: ZFS ignores ARC sizes below allmem/32

2023-01-17 Thread Heitor Alves de Siqueira
** Patch removed: "lp1964992-focal.debdiff" https://bugs.launchpad.net/ubuntu/+source/zfs-linux/+bug/1964992/+attachment/5571326/+files/lp1964992-focal.debdiff -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to zfs-linux in Ubuntu.

[Kernel-packages] [Bug 1964992] Re: ZFS ignores ARC sizes below allmem/32

2022-12-12 Thread Ghadi Rahme
** Changed in: zfs-linux (Ubuntu Focal) Assignee: Heitor Alves de Siqueira (halves) => Ghadi Rahme (ghadi-rahme) -- 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/1964992 Title:

[Kernel-packages] [Bug 1964992] Re: ZFS ignores ARC sizes below allmem/32

2022-12-12 Thread Heitor Alves de Siqueira
No worries, thank you for the patience, Robie! With further testing, we've found out that there's an additional upstream patch required for Focal, which fixes the "inversion" when setting the ARC limits. I'll amend the description and re-spin this SRU to include the proper fixes. I'll then

[Kernel-packages] [Bug 1964992] Re: ZFS ignores ARC sizes below allmem/32

2022-12-07 Thread Robie Basak
(and please re-upload when ready - the SRU team won't notice to respond otherwise) -- 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/1964992 Title: ZFS ignores ARC sizes below

[Kernel-packages] [Bug 1964992] Re: ZFS ignores ARC sizes below allmem/32

2022-12-07 Thread Robie Basak
As there's been no response, I'm cleaning this up from the queue. This can still be fixed in Focal, but see the comments above on what needs to be resolved first. ** Changed in: zfs-linux (Ubuntu Focal) Status: Incomplete => Triaged -- You received this bug notification because you are a

[Kernel-packages] [Bug 1964992] Re: ZFS ignores ARC sizes below allmem/32

2022-09-07 Thread Robie Basak
The correct logic shouldn't be hard to write, unless I'm missing something? So can we just do it right, and as soon as is necessary? If it's obviously correct, I don't think we need to wait for upstream acceptance, but equally it shouldn't take them long to review it either. Because the parameters

[Kernel-packages] [Bug 1964992] Re: ZFS ignores ARC sizes below allmem/32

2022-08-22 Thread Łukasz Zemczak
Hey Heitor! Thank you for following up on Robie's questions. As this is a bug in the current upstream versions of zfs-linux + currently LTS upgrades to jammy are enabled, I'm starting to lean towards getting this accepted into focal-proposed. Out of curiosity, what is the situation on bionic btw.?

[Kernel-packages] [Bug 1964992] Re: ZFS ignores ARC sizes below allmem/32

2022-08-08 Thread Heitor Alves de Siqueira
Hi Robie, You're right, the patch does essentially invert the problem. This is still the behavior upstream, and it currently works like you mentioned: if the user tries to set a min above the default max (ramsize/2), it fails. I'm working on a patch to propose upstream that should fix this. We

[Kernel-packages] [Bug 1964992] Re: ZFS ignores ARC sizes below allmem/32

2022-03-21 Thread Heitor Alves de Siqueira
** Patch added: "lp1964992-focal.debdiff" https://bugs.launchpad.net/ubuntu/+source/zfs-linux/+bug/1964992/+attachment/5571326/+files/lp1964992-focal.debdiff -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to zfs-linux in Ubuntu.

[Kernel-packages] [Bug 1964992] Re: ZFS ignores ARC sizes below allmem/32

2022-03-21 Thread Heitor Alves de Siqueira
This doesn't seem to be reproducible in Bionic, marking it as fixed accordingly. ** Changed in: zfs-linux (Ubuntu Bionic) Status: Confirmed => Fix Released -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to zfs-linux in Ubuntu.