> -----Original Message-----
> From: Rich Freeman <ri...@gentoo.org> 
> Sent: Tuesday, April 5, 2022 11:59 AM
> To: gentoo-user@lists.gentoo.org
> Subject: Re: [gentoo-user] LVM and moving things around
> 
> On Tue, Apr 5, 2022 at 11:10 AM Wols Lists <antli...@youngman.org.uk> wrote:
> >
> > I don't know how you take advantage of it, but linux by default caches 
> > disk i/o. You can tell it to "don't cache" and apparently it makes a 
> > major difference. Given that rsync reads once and then never uses it 
> > again, you don't want it cached.
> >
> 
> I suggest reading:
> man  posix_fadvise
> https://insights.oetiker.ch/linux/fadvise/
> http://rdiez.shoutwiki.com/wiki/The_Linux_Filesystem_Cache_is_Braindead
> https://lwn.net/Articles/806980/
> https://bugzilla.samba.org/show_bug.cgi?id=9560
> 
> There might be something more recent, but my overall impression is that this 
> problem is less solved than it probably ought to be.
> 
> --
> Rich
> 
I remember seeing something more with regard to "please cache/please 
discard/this can be immediately swapped because I won't need it for a while" 
stuff for like the 5.15 kernel or something, but the actual system programs 
will have to be updated to use it before it'll make any difference.

LMP

Reply via email to