[Samba] aio_pthread on Debian?
Gardiner, Alex (email@example.com)
alex.gardiner at canterbury.ac.uk
Tue Mar 10 11:07:04 MDT 2015
Thank you for the reply.
I've seen your name mentioned several times against this topic :-)
>What effect do you have in mind exactly? Read/write is done
>asynchronously these days without that module as long as the
>build detected pthreads.
This is the thing... it looks like the Debian packages (stable + back port) are built without the --with-aio-support (at least according to smbd -b)
In this case I am streaming relatively large video files in my home lab (120mbps each).
I find that windows struggles with 2-3 streams at once, where the same hardware running OS X (via afp) is smooth - so I am relatively sure the workload is within the means of my network/disks/client.
What I found odd was that setting aio read/write size = 1 didn't bother testparm, although apparently Debian samba is apparently not compiled for it? Perhaps what I'm asking is how to know if samba is really doing everything as async? I expect it is possible to find out with a bit of work..
From: Volker Lendecke <Volker.Lendecke at SerNet.DE>
Sent: 10 March 2015 15:51
To: Gardiner, Alex (alex.gardiner at canterbury.ac.uk)
Cc: samba at lists.samba.org
Subject: Re: [Samba] aio_pthread on Debian?
On Tue, Mar 10, 2015 at 01:24:28PM +0000, Gardiner, Alex (alex.gardiner at canterbury.ac.uk) wrote:
> Hello list,
> I am looking to enable samba aio on my Wheezy test box (I have version 4.1.17 from back ports).
> The output of smbd -b shows that the stable packages for my distro are not compiled using --with-aio-support. It appears that without recompiling I can use vfs objects = aio_pthread to achieve a similar effect?
What effect do you have in mind exactly? Read/write is done
asynchronously these days without that module as long as the
build detected pthreads.
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kontakt at sernet.de
More information about the samba