Gentoo Archives: gentoo-user

From: Michael Mol <mikemol@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Copying USB->USB: sync after every file
Date: Thu, 26 Jan 2017 01:30:46
Message-Id: 7434136.DcC52Mgutq@mal
In Reply to: Re: [gentoo-user] Copying USB->USB: sync after every file by Jeremi Piotrowski
1 On Monday, January 23, 2017 5:53:35 PM EST Jeremi Piotrowski wrote:
2 > On Mon, Jan 23, 2017 at 04:50:33PM +0100, Frank Steinmetzger wrote:
3 > > Can you give me a nudge? My sysctl.conf has only one active line besides
4 > > some netfilter stuff:
5 > > vm.swappiness = 1
6 > > (This is an SSD, I don’t even have swap on this machine unless I know I
7 > > definitely need it temporarily)
8 >
9 > I'd say the relevant sysctl's are /proc/sys/vm/dirty* and
10 > /proc/sys/vm/laptop_mode, along with the filesystems and mount options you
11 > are using for the USB drives. Please post these values. Also, could you
12 > get the output of /proc/meminfo while this is happening?
13
14 Yup.
15
16 You need to set vm.dirty_bytes and vm.dirty_background_bytes to something
17 sane, like 10M and 1M, respectively. They default to something like 20% of
18 system memory, and 10% of system memory, respectively...

Attachments

File name MIME type
signature.asc application/pgp-signature