[zfs-discuss] ZFS eating up all 16 GB RAM when combining 4k blocksize ZVOL with XFS

Paul Gorman pagorman at asu.edu
Mon Nov 12 18:11:27 EST 2018


I would recommend using the 0.7.11 dkms versions of zfs and spl. Too many
new features and setups in there.

The ARC *will* take up at least half your RAM if you do not limit it in
your grub.cfg moreso if youve got zraid setups going on.

As for XFS - Im not sure whats happening there. Shouldnt be anything too
crazy.

On Mon, Nov 12, 2018, 18:07 Paul Gorman <pagorman at asu.edu wrote:

> Add to the grub/rEfind boot args for the kernel:
>
> zfs.zfs_arc_max=536870912 #(for 512MB cap zfs memory usage, expressed in
> bytes)
>
> Though you'll likely want 512MiB-1GiB per physical disk.
>
> Source: experience & Archwiki:
> https://wiki.archlinux.org/index.php/ZFS#ZFS_is_using_too_much_RAM
>
> On Mon, Nov 12, 2018, 17:39 Bzzzz via zfs-discuss <
> zfs-discuss at list.zfsonlinux.org wrote:
>
>> On Mon, 12 Nov 2018 23:08:03 +0100
>> Omar Siam via zfs-discuss <zfs-discuss at list.zfsonlinux.org> wrote:
>>
>> > Hi list!
>>
>> Hi lost !
>>
>> may trying something like a command line loop , using the
>> following line could help:
>>
>> a=1 ; while [ "$a"=="1" ] ; do sleep 1 ; ps auxf | sort -nr -k 4 |
>>  head -10 ; echo ;
>>  echo "===============================================" ; echo ;
>>  done > TEST.RAM
>>
>> executed as root, this sorts the first 10 daemons (head -10) eating your
>> memory every second and redirect the output to the "TEST.RAM" file.
>>
>> Jean-Yves
>>
>> > I am a bit frustrated
>> _______________________________________________
>> zfs-discuss mailing list
>> zfs-discuss at list.zfsonlinux.org
>> http://list.zfsonlinux.org/cgi-bin/mailman/listinfo/zfs-discuss
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.zfsonlinux.org/pipermail/zfs-discuss/attachments/20181112/a67e81f6/attachment.html>


More information about the zfs-discuss mailing list