Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Oct 2010 16:18:51 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        cronfy <cronfy@gmail.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Slow disk access while rsync - what should I tune?
Message-ID:  <4CC44E5B.9040902@infracaninophile.co.uk>
In-Reply-To: <AANLkTikzZvZn=vNNRtcSViWq8ty7b8qOooQ4NbHiJH5q@mail.gmail.com>
References:  <AANLkTikzZvZn=vNNRtcSViWq8ty7b8qOooQ4NbHiJH5q@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigA9CEBDD7A4FDFC2DAD3E6A7B
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On 24/10/2010 14:15, cronfy wrote:
> I tried to enable async (in hope it will make rsync faster) or even
> disable softupdates on /backup partition (in hope it will make rsync
> slower and OS filesytem cache will not be flushed by backups), it did
> not help. I also want to try to upgrate to Adaptec 5405 (it has 256M
> of write cache) or move mysql databases on a separate SAS disk, but I
> just not quite sure what will help better.

rsync has standard options to limit the bandwidth it will consume.
Making it write through a narrow pipe will also slow down the rate of
disk accesses, so should help control the impact on other services on
the machine.

However, taking backups slowly makes it harder to ensure you have a
consistent backup, so I recommend you investigate snapshotting the
filesystem (well supported for UFS, trivially easy for ZFS) and then
backup the snapshot as slowly as you like.

	Cheers,

	Matthew


--=20
Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey     Ramsgate
JID: matthew@infracaninophile.co.uk               Kent, CT11 9PW


--------------enigA9CEBDD7A4FDFC2DAD3E6A7B
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkzETmIACgkQ8Mjk52CukIxXLwCdFNhbjn8AE59ablYpmbF/pwET
nqIAn1q3+QHg0psXmBDlllt3K/uusjj+
=f+KB
-----END PGP SIGNATURE-----

--------------enigA9CEBDD7A4FDFC2DAD3E6A7B--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4CC44E5B.9040902>