NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: How to limit amount of virtual memory used for files (was: Re: Tuning ZFS memory usage on NetBSD - call for advice)
- To: Matthias Petermann <mp%petermann-it.de@localhost>
- Subject: Re: How to limit amount of virtual memory used for files (was: Re: Tuning ZFS memory usage on NetBSD - call for advice)
- From: RVP <rvp%SDF.ORG@localhost>
- Date: Tue, 20 Sep 2022 06:27:29 +0000 (UTC)
On Tue, 20 Sep 2022, Matthias Petermann wrote:
I think I had answered this earlier (but I'm not quite sure) - the problem
only occurs when I write the data obtained with "zfs send" to a local file
system (e.g. the USB HDD). If I send the data to a remote system with netcat
instead, the "file usage" remains within the green range.
[...]
This raises the question for me: can I somehow limit this kind of memory use
on a process basis?
Try piping to dd with direct I/O:
... | dd bs=10m oflag=direct of=foo.file
Does that help?
-RVP
Home |
Main Index |
Thread Index |
Old Index