Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Jul 2007 13:45:56 +0200
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        Fluffles <etc@fluffles.net>
Cc:        geom@FreeBSD.org, Dominic Bishop <dom@bishnet.net>
Subject:   Re: Increasing GELI performance
Message-ID:  <20070731114555.GQ1092@garage.freebsd.pl>
In-Reply-To: <46AE4B94.8010107@fluffles.net>
References:  <46AA50B4.9080901@fluffles.net> <20070727210032.0140413C457@mx1.freebsd.org> <20070730192654.GO1092@garage.freebsd.pl> <46AE4B94.8010107@fluffles.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--/d7X7C0hV/blnKmH
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Jul 30, 2007 at 10:35:32PM +0200, Fluffles wrote:
> Pawel Jakub Dawidek wrote:
> >No matter how many cores/cpus you have if you run single-threaded
> >application. What you do exactly is:
> >1. Send read of 128kB.
> >2. One of geli threads picks it up, decrypts and sends it back.
> >3. Send next read of 128kB.
> >4. One of geli threads picks it up, decrypts and sends it back.
> >...
> >
> >All threads will be used when there are more threads accessing provider.
> > =20
>=20
> But isn't it true that the UFS filesystem utilizes read-ahead and with=20
> that a multiple I/O queue depth (somewhere between 7 to 9 queued I/O's)=
=20
> - even when using something like dd to sequentially read a file on a=20
> mounted filesystem ? Then this read-ahead will cause multiple I/O=20
> request coming in and geom_eli can use multiple threads to maximize I/O=
=20
> throughput. Maybe Dominic can try playing with the "vfs.read_max" sysctl=
=20
> variable.

You are right in general, but if you reread e-mail I was answering to,
you will see that the author was reading from/writing to GEOM provider,
not file system.

--=20
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd@FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!

--/d7X7C0hV/blnKmH
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (FreeBSD)

iD8DBQFGryDzForvXbEpPzQRAgjpAKCMxdqXm0qNVI58S0TzWhusIsJoLwCaAy6P
GUF5MHF9O83N+6ieA2Yo/N4=
=rcFt
-----END PGP SIGNATURE-----

--/d7X7C0hV/blnKmH--



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