NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Tuning ZFS memory usage on NetBSD - call for advice



Hi Lloyd,

On 31.08.22 21:57, Lloyd Parkes wrote:
It might not be ZFS related. But it could be.

Someone else reported excessive, ongoing, increasing "File" usage a while back and I was somewhat dismissive because they were running a truckload of apps at the same time (not in VMs).

I did manage to reproduce his problem on an empty non-ZFS NetBSD system, so there is definitely something going on where "File" pages are not getting reclaimed when there is pressure on the memory system.

I haven't got around to looking into it any deeper though.

BTW the test was to copy a single large file (>1TB?) from SATA storage to USB storage. Since the file is held open for the duration of the copy (I used dd IIRC) this might end up exercising many of the same code paths as a VM accessing a disk image.

Cheers,
Lloyd


Thanks for your assessment. You might be right.... the huge increase of "File" was noticed while I was writing with "zfs send" to a FFS on a USB disk (sd0).

Yesterday I tried the same again, but this time the destination was a socket (via netcat). The amount of "File" remained stable and there was no significant swapping activity.

It looks like I had jumped to conclusions here.

I will observe this further...

Kind regards
Matthias

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature



Home | Main Index | Thread Index | Old Index