David Miller
2005-Nov-08 15:50 UTC
[Samba] What does the value for "aio write size" and "aio read size" represent?
I'm looking into trying out AIO on one of our file servers in the office but I can't find any info on what the values for "aio read size" and "aio write size" correspond to. Is it a buffer size of some sort or a tuning type parameter were it allows the socket to read/write x blocks? Thanks, David Miller
Gerald (Jerry) Carter
2005-Nov-08 16:37 UTC
[Samba] What does the value for "aio write size" and "aio read size" represent?
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 David Miller wrote:> I'm looking into trying out AIO on one of our file servers in > the office but I can't find any info on what the values for > "aio read size" and "aio write size" correspond to. Is it > a buffer size of some sort or a tuning type > parameter were it allows the socket to read/write x blocks?It's a thresh-hold parameter IIRC. Any buffers larger than the the option value will be schedule for AIO. And the parameter value represents bytes (not Kb). cheers, jerry -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDcNJFIR7qMdg1EfYRAsnMAKCGIyJ2ZwLTZsBPFkFhqeHXzsnHBACgur7W SVn3hVGZxNPyaTr1SXMG7BM=mput -----END PGP SIGNATURE-----
Jeremy Allison
2005-Nov-08 17:23 UTC
[Samba] What does the value for "aio write size" and "aio read size" represent?
On Tue, Nov 08, 2005 at 10:49:49AM -0500, David Miller wrote:> I'm looking into trying out AIO on one of our file servers in the office but > I can't find any info on what the values for "aio read size" and "aio write > size" correspond to. Is it a buffer size of some sort or a tuning type > parameter were it allows the socket to read/write x blocks?It's a disk i/o tuning parameter. I'm committed to documenting this for 3.0.21. Jeremy.