[Samba] Mac OS Mavericks über slow
Ralph Böhme
rb at sernet.de
Thu Sep 4 10:02:07 MDT 2014
On Thu, Sep 04, 2014 at 06:48:33AM -0700, Jeremy Allison wrote:
> On Thu, Sep 04, 2014 at 03:17:13PM +0200, Ralph Böhme wrote:
> >
> > Is there a way to improve this? You bet there is! ;)
> >
> > Apple uses a custom smb2 protocol extension in its own server (and
> > client): a smb2 create context "AAPL". If both server and client
>
> I didn't know about this ! Have Apple documented
> this anywhere ?
Apple opensourced much if not all of the SMB client code:
<http://opensource.apple.com/source/smb/smb-697.92.4/kernel/netsmb/smb_2.h>
>
> > support this it, the smb2_find reply (amongst other things depending
> > on a set of flags [2]) is modified to contain resource fork size
> > information, which means after step 2 (see above) is completed, the
> > Finder will display the folder content.
> >
> > I have a working PoC here: [3]. Opening a folder with 1000 files over
> > a slow link with 50 ms latency takes just a few seconds instead of 40
> > seconds with just vfs_streams_xattr or vfs_fruit alone.
> >
> > This is still incomplete and needs more polishing.
>
> W00t! Go Ralph !!!!! As soon as you have something
> for master please post.
>
> I'll review asap. There are a *LOT* of Mac Samba
> users who will be waiting for this.
Will do! :)
Cheerio!
-Ralph
--
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@sernet.de
More information about the samba
mailing list