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

Re: minimizing buffer size (i.e. page cache) for bulk copy/rsync -- Re: Swappiness in Buster



	Hi.

On Wed, Jul 08, 2020 at 05:51:54PM +1000, Zenaan Harkness wrote:
> What needs to happen ™©®
> 
> What is needed is an option somewhere, strictly abided by, where "For
> the following command" only say 1MiB of buffer and Page Cache, in TOTAL,
> is able to be used by that command ever, until its completion.

This works for me in stable, it's systemwide though.

sysctl -w vm.dirty_bytes=16777216
sysctl -w vm.dirty_background_bytes=16777216

Reco


Reply to: