Gentoo Archives: gentoo-user

From: Rich Freeman <rich0@g.o>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] LVM and moving things around
Date: Tue, 05 Apr 2022 18:59:08
Message-Id: CAGfcS_mb+Lk5D02LarqBAYX--VmtQQLYq7+tq_4Eo=-y+X8Ucg@mail.gmail.com
In Reply to: Re: [gentoo-user] LVM and moving things around by Wols Lists
1 On Tue, Apr 5, 2022 at 11:10 AM Wols Lists <antlists@××××××××××××.uk> wrote:
2 >
3 > I don't know how you take advantage of it, but linux by default caches
4 > disk i/o. You can tell it to "don't cache" and apparently it makes a
5 > major difference. Given that rsync reads once and then never uses it
6 > again, you don't want it cached.
7 >
8
9 I suggest reading:
10 man posix_fadvise
11 https://insights.oetiker.ch/linux/fadvise/
12 http://rdiez.shoutwiki.com/wiki/The_Linux_Filesystem_Cache_is_Braindead
13 https://lwn.net/Articles/806980/
14 https://bugzilla.samba.org/show_bug.cgi?id=9560
15
16 There might be something more recent, but my overall impression is
17 that this problem is less solved than it probably ought to be.
18
19 --
20 Rich

Replies

Subject Author
RE: [gentoo-user] LVM and moving things around Laurence Perkins <lperkins@×××××××.net>