<?xml version="1.0" encoding="UTF-8"?>

<rss version="2.0" xmlns:blogChannel="http://backend.userland.com/blogChannelModule">

<channel>
<title>Re: OS X client, linux server, samba pain. in All Things Unix</title>
<link>http://www.dslreports.com/forum/r15001533</link>
<description></description>
<language>en</language>
<pubDate>Fri, 27 Nov 2009 22:20:30 EDT</pubDate>
<lastBuildDate>Fri, 27 Nov 2009 22:20:30 EDT</lastBuildDate>

<item>
<title>Re: OS X client, linux server, samba pain.</title>
<link>http://www.dslreports.com/forum/remark,15008789</link>
<description><![CDATA[<A HREF="/useremail/u/421006"><b>Eatmeingreek</b></A> : Delayed ACK and TCP_NODELAY (disable Nagle's algorithm) are no the same thing.  They do interact badly, however:<br><br>&raquo;<A HREF="http://www.port80software.com/200ok/archive/2005/01/31/317.aspx" >www.port80software.com/200ok/arc&middot;&middot;&middot;317.aspx</A><br><br>That shouldn't have been the problem in this case, 'cause you had TCP_NODELAY set in your smb.conf<br><br>You might be on the right track with the Linux driver:<br><br>&raquo;<A HREF="http://www.scyld.com/rtl8139.html#8139too" >www.scyld.com/rtl8139.html#8139too</A><br><SMALL>--<br>"PowerPoint is a distraction.  People use it when they don't know what to say."</SMALL>]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,15008789</guid>
<pubDate>Mon, 12 Dec 2005 23:33:00 EDT</pubDate>
</item>

<item>
<title>Re: OS X client, linux server, samba pain.</title>
<link>http://www.dslreports.com/forum/remark,15001533</link>
<description><![CDATA[<A HREF="/useremail/u/656604"><b>jfgrissom</b></A> : This sudo sysctl -w net.inet.tcp.delayed_ack=0<br>is Awesome! <br><br>My DL times from Suse9.2 <br>(I know OpenSuse10 is out, and it is FREE! I'm upgrading I swear!) <br>SMB server to my Mac went from (this is no exageration)<br>90-150KB/sec to 900KB-1MB/sec.<br><br>It does look like it bursts though... (Hi speeds for 10 seconds -- sleep for 2 seconds -- hi speed again but that could be my slow Wifi-G connection)<br><br>It Also provides much much faster responce time if you wan to cancel transfers.<br>This is good stuff... has anyone seen it break anything?]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,15001533</guid>
<pubDate>Mon, 12 Dec 2005 00:55:18 EDT</pubDate>
</item>

<item>
<title>Re: OS X client, linux server, samba pain.</title>
<link>http://www.dslreports.com/forum/remark,14515649</link>
<description><![CDATA[<A HREF="/useremail/u/0"><b>anon</b></A> : btw, i have an another problem, maybe you can help me...<br>mac users, when browsing samba share, cannot see full information about file ownership and permissions, <br>they only see: you can read an write :huh:<br>But they want to know who created file.<br>Any suggestions, what can i do for them to see that info?]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,14515649</guid>
<pubDate>Thu, 06 Oct 2005 05:53:38 EDT</pubDate>
</item>

<item>
<title>Re: OS X client, linux server, samba pain.</title>
<link>http://www.dslreports.com/forum/remark,14515626</link>
<description><![CDATA[<A HREF="/useremail/u/0"><b>anon</b></A> : dont know if it's interesting for you guys, but i found that you can create file /etc/sysctl.conf (on mac of course) and put the following line in it:<br>net.inet.tcp.delayed_ack=0<br><br>It works fine! :)<br><br>PS Thanks for your wonderful advise, now my freebsd file server can serve macs too :)]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,14515626</guid>
<pubDate>Thu, 06 Oct 2005 05:34:10 EDT</pubDate>
</item>

<item>
<title>Re: OS X client, linux server, samba pain.</title>
<link>http://www.dslreports.com/forum/remark,14467428</link>
<description><![CDATA[<A HREF="/useremail/u/289765"><b>MiloMindbend</b></A> : <div class="bquote"><SMALL>said by z3r :</SMALL><BR><BR>I guess sysctl twiddling must remain the solution. Irritating, but not serious.<br> </DIV>Well, there is another option, if it's a big enough PITA for you (it wasn't a big enough itch for me to scratch, personally -- I only have limited interaction with SMB shares):<br><br>Download the smbfs.kext source, tweak the socket options, rebuild it, and replace the original .kext with it (I'd rename the old one, not delete it ;-). That's one of the neat things about Darwin -- the core OS _is_ open...]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,14467428</guid>
<pubDate>Thu, 29 Sep 2005 10:53:30 EDT</pubDate>
</item>

<item>
<title>Re: OS X client, linux server, samba pain.</title>
<link>http://www.dslreports.com/forum/remark,14466778</link>
<description><![CDATA[<A HREF="/useremail/u/0"><b>anon</b></A> : Thanks. I guess you must be write about the file being ignored. Certainly, appending<br><BR><TT>socket options = TCP_NODELAY</TT><BR><br>to /private/var/root/.nsmbrc (and also, for good measure, copying the resulting file to my $HOME and temporarily doing chmod go+r on both copies) doesn't change the behaviour. Estimate of time taken to transfer 152MB: 1 hour.<br><br>I guess sysctl twiddling must remain the solution. Irritating, but not serious.]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,14466778</guid>
<pubDate>Thu, 29 Sep 2005 08:51:30 EDT</pubDate>
</item>

<item>
<title>Re: OS X client, linux server, samba pain.</title>
<link>http://www.dslreports.com/forum/remark,14459578</link>
<description><![CDATA[<A HREF="/useremail/u/289765"><b>MiloMindbend</b></A> : Same sort of thing as in smb.conf, iirc: "options TCP_NODELAY"<br><br>I'd start by pulling the smbfs kext source from OpenDarwin, though, and see if it actually even reads the nsmbrc files -- it could very well not.]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,14459578</guid>
<pubDate>Wed, 28 Sep 2005 10:14:37 EDT</pubDate>
</item>

<item>
<title>Re: OS X client, linux server, samba pain.</title>
<link>http://www.dslreports.com/forum/remark,14459003</link>
<description><![CDATA[<A HREF="/useremail/u/0"><b>anon</b></A> : Hi.<br><br>Thanks for posting---I'm very glad to find a workaround for this problem, which was killing transfer speeds between a FreeBSD samba server with an Intel NIC and my OS 10.4 Powerbook client.<br><br>I'd like to try the nsmbrc solution you mention (and it seems plausible to put it in the root .nsmbrc) but documentation about .nsmbrc and its syntax is hard to find. All I find on my system and by Google is an "example file" with a few commented-out lines that seem irrelevant to this problem.<br><br>How would you, in principle, disable delayed acks in a nsmbrc config file?<br><br>cheers, --jez]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,14459003</guid>
<pubDate>Wed, 28 Sep 2005 07:48:34 EDT</pubDate>
</item>

<item>
<title>Re: Problem solved. Culprit: Bad Linux NIC/Driver</title>
<link>http://www.dslreports.com/forum/remark,14373703</link>
<description><![CDATA[<A HREF="/useremail/u/1057749"><b>manifest</b></A> : You know I should have realized this.  Right around when I upgraded from 10.3 to 10.4 I also had to a motherboard replacement on my linux server.  The NIC was also changed.  I was using a realtek chipset and went to a 3com 3c905.  Changing the nic must have done it for me as well.]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,14373703</guid>
<pubDate>Thu, 15 Sep 2005 21:30:43 EDT</pubDate>
</item>

<item>
<title>Re: OS X client, linux server, samba pain.</title>
<link>http://www.dslreports.com/forum/remark,14372279</link>
<description><![CDATA[<A HREF="/useremail/u/289765"><b>MiloMindbend</b></A> : <div class="bquote"><SMALL>said by  Crypto <A HREF="/useremail/u/280909"><IMG SRC="http://i.dslr.net/bb/profile.gif" ALT="See Profile" BORDER=0 WIDTH=16 HEIGHT=11></A> :</SMALL><BR><BR>It's certainly much, much faster with delayed acks set to 0 on the OS X box. What are the ramifications to just leaving the OS X box like that?<br> </DIV>Sorry, forgot to answer that one. If you leave it like that, nothing will break, but your other network traffic will be less than optimal, as TCP will send an ack for every packet instead of combining them and acking several packets at a time. So just evaluate your typical network usage (with the most emphasis on local, high-speed stuff) -- if it's mostly SMB to a server that doesn't deal well with delayed acks, I'd normally leave it disabled. If that's a small percentage of your overall usage, I'd leave it at it's default. Heck, you could always wrap it with an Automator script and assign a hotkey to it to switch on demand. ;-)]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,14372279</guid>
<pubDate>Thu, 15 Sep 2005 18:14:49 EDT</pubDate>
</item>

<item>
<title>Re: OS X client, linux server, samba pain.</title>
<link>http://www.dslreports.com/forum/remark,14369244</link>
<description><![CDATA[<A HREF="/useremail/u/289765"><b>MiloMindbend</b></A> : <div class="bquote"><SMALL>said by  Crypto <A HREF="/useremail/u/280909"><IMG SRC="http://i.dslr.net/bb/profile.gif" ALT="See Profile" BORDER=0 WIDTH=16 HEIGHT=11></A> :</SMALL><BR><BR>You say that this should do the same thing as putting TCP_NODELAY on the Linux samba server? Thats odd, because I did that already and didnt seem to have any results.<br></DIV>It effectively does the same thing _on the Mac_ that the smb.conf TCP_NODELAY does _on the Linux box_. But it was the Linux box that was pausing because the Mac wasn't sending an ack to every packet, so you have to disable the delayed acks on the Mac.<br><br>You're supposed to be able to set socketopts in ~/.nsmbrc (disabling delayed acks just for the smbfs kernel extension, rather than for the whole system), but I never got that to work (hmm, wonder if it has to be in /etc/nsmbrc instead, since mount_smbfs is suid root)...<br><br>Anyway, I run into it infrequently enough that I just twiddle the sysctl knob. It gets the job done. :-)]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,14369244</guid>
<pubDate>Thu, 15 Sep 2005 10:34:34 EDT</pubDate>
</item>

<item>
<title>Problem solved. Culprit: Bad Linux NIC/Driver</title>
<link>http://www.dslreports.com/forum/remark,14367170</link>
<description><![CDATA[<A HREF="/useremail/u/280909"><b>Crypto</b></A> : Wow, after googling on the sysctl command milo posted here, I saw at least one instance of someone saying "I set this command on my BSD box because I was having problems with a realtek ethernet card that for some reason wasnt handling delayed ACKs well"<br><br>Well, I have a Linksys card, which had a realtek in it. So I shut down the venerable linux server thats been going for 5 years, and swapped out the linksys card with a spare Intel E100 I had.<br><br>I remmed out all the samba performance options I had tried, and set delayed acks back to 1 on the OS X box, and pulled a giant file down from the samba share.<br><br>And it hauled ass.<br><br>Thats damned near the strangest network problem I have ever seen in my life, and I have no way to explain it other than to chalk it up to bad linux driver code.<br><br>Thanks everyone, for their help, and specially thanks to Milomindbender for putting me on the right track.<br><SMALL>--<br>I may not agree with what you say, but I'll defend your right to encrypt it.</SMALL>]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,14367170</guid>
<pubDate>Wed, 14 Sep 2005 23:43:20 EDT</pubDate>
</item>

<item>
<title>Re: OS X client, linux server, samba pain.</title>
<link>http://www.dslreports.com/forum/remark,14366923</link>
<description><![CDATA[<A HREF="/useremail/u/280909"><b>Crypto</b></A> : <div class="bquote"><SMALL>said by  MiloMindbend <A HREF="/useremail/u/289765"><IMG SRC="http://i.dslr.net/bb/profile.gif" ALT="See Profile" BORDER=0 WIDTH=16 HEIGHT=11></A> :</SMALL><br><br>Try this (on the OS X side):<br><br>'sudo sysctl -w net.inet.tcp.delayed_ack=0'<br> </DIV>DING DING DING DING DING!!  And we have a winner! that sped it right up.<br><br>You say that this should do the same thing as putting TCP_NODELAY on the Linux samba server? Thats odd, because I did that already and didnt seem to have any results.<br><br>It's certainly much, much faster with delayed acks set to 0 on the OS X box. What are the ramifications to just leaving the OS X box like that?<br><SMALL>--<br>I may not agree with what you say, but I'll defend your right to encrypt it.</SMALL>]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,14366923</guid>
<pubDate>Wed, 14 Sep 2005 23:10:08 EDT</pubDate>
</item>

<item>
<title>Re: OS X client, linux server, samba pain.</title>
<link>http://www.dslreports.com/forum/remark,14366528</link>
<description><![CDATA[<A HREF="/useremail/u/457111"><b>subcultured</b></A> : <div class="bquote"><SMALL>said by  Crypto <A HREF="/useremail/u/280909"><IMG SRC="http://i.dslr.net/bb/profile.gif" ALT="See Profile" BORDER=0 WIDTH=16 HEIGHT=11></A> :</SMALL><br><br><div class="bquote"><SMALL>said by  Daemon <A HREF="/useremail/u/833343"><IMG SRC="http://i.dslr.net/bb/profile.gif" ALT="See Profile" BORDER=0 WIDTH=16 HEIGHT=11></A> :</SMALL><br><br>I can tell you it's not a fatal flaw in the SMB implementation in OSX. I have a Fedora box connected to a 10.4 machine (used to be 10.3), and it just flies.<br> </DIV>Thats actually the most valuable data point I have gotten yet from this whole thing. That tells me that there might be something peculiar to the way this version of samba was compiled. Maybe it's time to compile it from scratch and see what happens.<br> </DIV>I was the admin for about a hundred macs in my last job and we had several Fedora boxen running samba flawlessly to the macs and windows clients alike. We also had one Debian fileserver (can't remember which version...) that did indeed give us some serious problems with netatalk but actually worked very well using SMB. <br><br>Obviously there is some other issue with your server. Check that your macs, when sharing to windows/linux clients via samba, perform up to standard just to rule out an odd firewall issue. Regardless, I'd suggest rolling your own samba. It can't hurt...<br><br>Good luck,<br>Ian<br><SMALL>--<br>Verum Ipsum Factum</SMALL>]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,14366528</guid>
<pubDate>Wed, 14 Sep 2005 22:21:40 EDT</pubDate>
</item>

<item>
<title>Re: OS X client, linux server, samba pain.</title>
<link>http://www.dslreports.com/forum/remark,14366363</link>
<description><![CDATA[<A HREF="/useremail/u/289765"><b>MiloMindbend</b></A> : Try this (on the OS X side):<br><br>'sudo sysctl -w net.inet.tcp.delayed_ack=0'<br><br>(set it back to 1 when you're done playing)<br><br>It disables the TCP stack's delayed acks (that's what the TCP_NODELAY sockopts in smb.conf does). I haven't found a good way to pass this to the smb/cifs kernel extension, so I just twiddle the sysctl knob when I encounter a slow SMB server (in my case it's the corporate Win2K servers at work that are abysmally slow unless I turn off the delayed acks).]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,14366363</guid>
<pubDate>Wed, 14 Sep 2005 22:03:42 EDT</pubDate>
</item>

<item>
<title>Re: Please stop trying to push NFS. It sucks.</title>
<link>http://www.dslreports.com/forum/remark,14364821</link>
<description><![CDATA[<A HREF="/useremail/u/280909"><b>Crypto</b></A> : As I explained in detail before, I dont have matching UID/GID's on the mac and UNIX hosts. This means that I have to do NFS maps, something I hate, and something that I cannot support on this network.  The idea is that this implementation needs to be so simple that it runs itself after I'm gone, and NFS isnt the way to do that, frankly.<br><br>On the NAS support front, it looks like the "optimize for macs" setting turns on an option I had never heard of called "sendfile", which is apparently not enabled by default on some samba implementations (and apprently not on the debian-based implementation shipped with this NAS device). When I get home tonight I hope to test this option and see what sort of results it gives.<br><SMALL>--<br>I may not agree with what you say, but I'll defend your right to encrypt it.</SMALL>]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,14364821</guid>
<pubDate>Wed, 14 Sep 2005 18:45:53 EDT</pubDate>
</item>

<item>
<title>Re: Please stop trying to push NFS. It sucks.</title>
<link>http://www.dslreports.com/forum/remark,14363705</link>
<description><![CDATA[<A HREF="/useremail/u/744594"><b>wmcbrine</b></A> : <div class="bquote"><SMALL>said by  sporkme <A HREF="/useremail/u/168864"><IMG SRC="http://i.dslr.net/bb/profile.gif" ALT="See Profile" BORDER=0 WIDTH=16 HEIGHT=11></A> :</SMALL><BR><BR>although I don't see why one can't have both NFS and CIFS on the same box - I'm running samba, nfs and netatalk, all exporting the same stuff</DIV>I've done the same in the past, albeit only on a small LAN. I don't understand cbellers' reference to "implementing a NFS client on a crapload of win32 systems just to make the mac happy". Samba for Win32 clients, NFS and Netatalk for others; no problem that I'm aware of.]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,14363705</guid>
<pubDate>Wed, 14 Sep 2005 16:24:05 EDT</pubDate>
</item>

<item>
<title>Re: Please stop trying to push NFS. It sucks.</title>
<link>http://www.dslreports.com/forum/remark,14362358</link>
<description><![CDATA[<A HREF="/useremail/u/195566"><b>computx</b></A> : <div class="bquote"><SMALL>said by  Crypto <A HREF="/useremail/u/280909"><IMG SRC="http://i.dslr.net/bb/profile.gif" ALT="See Profile" BORDER=0 WIDTH=16 HEIGHT=11></A> :</SMALL><br><br>Please stop trying to push NFS. It sucks.<br> </DIV>Not really pushing nfs just thought I would mention an alternative as In my opinion samba sucks. (looks like it sucks for you too.) <br>Good luck with your samba installation.<br><SMALL>--<br>To err is human...to really foul up requires the root password.</SMALL>]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,14362358</guid>
<pubDate>Wed, 14 Sep 2005 13:30:35 EDT</pubDate>
</item>

<item>
<title>Re: Please stop trying to push NFS. It sucks.</title>
<link>http://www.dslreports.com/forum/remark,14362178</link>
<description><![CDATA[<A HREF="/useremail/u/280909"><b>Crypto</b></A> : I tried netatalk, but its fairly ugly and has authentication issues of its own.  Samba really is the preffered way to go for all clients because authentication ultimately needs to be done by the windows system anyway.<br><br>I've never had to use netstat in a performance diagnostic capacity before, can you point me towards a howto or drop me a few pointers?<br><SMALL>--<br>I may not agree with what you say, but I'll defend your right to encrypt it.</SMALL>]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,14362178</guid>
<pubDate>Wed, 14 Sep 2005 13:07:58 EDT</pubDate>
</item>

<item>
<title>Re: Please stop trying to push NFS. It sucks.</title>
<link>http://www.dslreports.com/forum/remark,14362121</link>
<description><![CDATA[<A HREF="/useremail/u/168864"><b>sporkme</b></A> : <div class="bquote"><SMALL>said by  Crypto <A HREF="/useremail/u/280909"><IMG SRC="http://i.dslr.net/bb/profile.gif" ALT="See Profile" BORDER=0 WIDTH=16 HEIGHT=11></A> :</SMALL><BR><BR>my write speed is almost as fast with samba as with ftp or scp, but the read speed is still abyssmal, under 1MB/sec.<br> </DIV>Have you run tcpdump to get an idea of what's different?<br><br>Are you dead-set against netatalk?  You made it very clear you don't want NFS (although I don't see why one can't have both NFS and CIFS on the same box - I'm running samba, nfs and netatalk, all exporting the same stuff).]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,14362121</guid>
<pubDate>Wed, 14 Sep 2005 13:01:46 EDT</pubDate>
</item>

<item>
<title>Please stop trying to push NFS. It sucks.</title>
<link>http://www.dslreports.com/forum/remark,14361362</link>
<description><![CDATA[<A HREF="/useremail/u/280909"><b>Crypto</b></A> : I am not going to implement nfs just for the very few macs I support. After over a decade of dealing with nfs, I hate it and will not implement it unless I absolutely have to, and the idea of implementing a NFS client on a crapload of win32 systems just to make the mac happy is just rediculous.<br><br>Additionally, the macs and Linux server dont share UID/GID, thus making it entirely unsuitable for an NFS implementation.<br><br>This thing about the NAS device is absolutely intriguing, because it uses a Debian-based OS. I am really beginning to suspect the culprit is some default setting that debian compiles in that no one else does, since I am hearing that only people with debian or debian based distros are having this problem.<br><br>Additional test data from last night:<br><br>I have concluded that the problem only exists in one direction.<br><br>my write speed is almost as fast with samba as with ftp or scp, but the read speed is still abyssmal, under 1MB/sec.<br><br>Here are the various samba options I tried last night, with no success (they just made things worse)<br><br>large read write = on<br>max xmit = <br>all the SO_ buffer settings<br>all the NODELAY and LOWDELAY options.<br><br>I'll go over to that NAS forum and see what I can dig up, thank you.<br><SMALL>--<br>I may not agree with what you say, but I'll defend your right to encrypt it.</SMALL>]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,14361362</guid>
<pubDate>Wed, 14 Sep 2005 11:12:48 EDT</pubDate>
</item>

<item>
<title>Re: OS X client, linux server, samba pain.</title>
<link>http://www.dslreports.com/forum/remark,14360261</link>
<description><![CDATA[<A HREF="/useremail/u/518224"><b>sirozha</b></A> : There's a really cool NAS made by Infrant called ReadyNAS. It's a device with the size of a shoe box with four SATA drives configured as RAID 1 or RAID 5. They also have another sibling that has patent-pending XRAID that changes from RAID 1 to RAID 5 automatically when the number of HDs changes from 2 to 3 without you having to move the data out and reconfiguren the RAID level. This device has a special setting for OS X clients. Without this setting enabled, OS X clients are extremely slow transferring files to or from the NAS. With this setting enabled, the speed improves dramatically, but this setting negatively affects Windows NT clients (not Windows 2000 or XP). <br><br>So, if you are really interested to find out why your OS X clients are so slow, you may want to go to www.infrant.com/forums and ask what that setting does to change the performance of OS X clients. By the way, Infrant developed their own chip and their own OS called RAIDiator. It's based on Debian Linux, though.]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,14360261</guid>
<pubDate>Wed, 14 Sep 2005 07:03:48 EDT</pubDate>
</item>

<item>
<title>Re: OS X client, linux server, samba pain.</title>
<link>http://www.dslreports.com/forum/remark,14360055</link>
<description><![CDATA[<A HREF="/useremail/u/226051"><b>bbarrera</b></A> : <div class="bquote"><SMALL>said by  NOCMan <A HREF="/useremail/u/1085749"><IMG SRC="http://i.dslr.net/bb/profile.gif" ALT="See Profile" BORDER=0 WIDTH=16 HEIGHT=11></A> :</SMALL><BR><BR>It does not seem that slow going to my NSLU2 samba shares.</DIV>There is definitely a speed difference between linux-based NSLU2 samba shares and WinXP Pro shares. My NSLU2 samba shares are a good bit slower than WinXP Pro shares (1GHz PIII Dell laptop). Copying a 33.7MB file from linux-based NSLU2 to Mac takes ~9.5 sec and copying same file from WinXP Pro to Mac takes ~6.5 sec. I'll reboot the WinXP laptop into Gentoo tomorrow and retest, that way we can take slower NSLU2 processor and disk drive differences out of the equation.]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,14360055</guid>
<pubDate>Wed, 14 Sep 2005 04:39:30 EDT</pubDate>
</item>

<item>
<title>Re: OS X client, linux server, samba pain.</title>
<link>http://www.dslreports.com/forum/remark,14360033</link>
<description><![CDATA[<A HREF="/useremail/u/195566"><b>computx</b></A> : It appears mac os/x supports nfs file sharing. If you don't need to have a windows box in the mix then it would make sense to go with nfs instead of samba.<br><br>Even if you have a windows box you can get it to use nfs, using services for unix, according to this microsoft knowledgebase article.<br><br>&raquo;<A HREF="http://support.microsoft.com/?kbid=324055" >support.microsoft.com/?kbid=324055</A><br><br>Also this might be useful for the mac.<br>&raquo;<A HREF="http://www.bresink.de/osx/NFSManager.html" >www.bresink.de/osx/NFSManager.html</A><br><SMALL>--<br>To err is human...to really foul up requires the root password.</SMALL>]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,14360033</guid>
<pubDate>Wed, 14 Sep 2005 04:22:00 EDT</pubDate>
</item>

<item>
<title>Re: OS X client, linux server, samba pain.</title>
<link>http://www.dslreports.com/forum/remark,14359308</link>
<description><![CDATA[<A HREF="/useremail/u/1085749"><b>NOCMan</b></A> : It does not seem that slow going to my NSLU2 samba shares.<br><br>I have a unbuntu box that houses the iTunes and that connection is NFS and it's pretty damn fast.<br><SMALL>--<br>&raquo;<A HREF="http://www.silentbrouhaha.com" >www.silentbrouhaha.com</A></SMALL>]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,14359308</guid>
<pubDate>Wed, 14 Sep 2005 00:23:07 EDT</pubDate>
</item>

<item>
<title>Re: OS X client, linux server, samba pain.</title>
<link>http://www.dslreports.com/forum/remark,14357647</link>
<description><![CDATA[<A HREF="/useremail/u/280909"><b>Crypto</b></A> : <div class="bquote"><SMALL>said by  Daemon <A HREF="/useremail/u/833343"><IMG SRC="http://i.dslr.net/bb/profile.gif" ALT="See Profile" BORDER=0 WIDTH=16 HEIGHT=11></A> :</SMALL><br><br>I can tell you it's not a fatal flaw in the SMB implementation in OSX. I have a Fedora box connected to a 10.4 machine (used to be 10.3), and it just flies.<br> </DIV>Thats actually the most valuable data point I have gotten yet from this whole thing. That tells me that there might be something peculiar to the way this version of samba was compiled. Maybe it's time to compile it from scratch and see what happens.<br><SMALL>--<br>I may not agree with what you say, but I'll defend your right to encrypt it.</SMALL>]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,14357647</guid>
<pubDate>Tue, 13 Sep 2005 20:38:14 EDT</pubDate>
</item>

<item>
<title>Re: OS X client, linux server, samba pain.</title>
<link>http://www.dslreports.com/forum/remark,14356557</link>
<description><![CDATA[<A HREF="/useremail/u/833343"><b>Daemon</b></A> : I can tell you it's not a fatal flaw in the SMB implementation in OSX. I have a Fedora box connected to a 10.4 machine (used to be 10.3), and it just flies.<br><br>In fact, it flies without me having to do anything special.<br><br>OTOH, multiple Macs might change the equation. I have heard anecdotal evidence that Macs insist on being the master browser and force constant elections until they win. If true, who knows what happens if multiple macs get together.<br><br>I agree with sporkme. If something about the packets on the link or the topology of the network is slowing it down, it may show the same symptoms with smbd on OS X.<br><SMALL>--<br>-Ryan<BR>What 64 bit CPUs mean for most people: OMFG HUEG NUMBERZ!!!11!! NEED GIGGLEHERTZ AND 128BIT FOR W3RD!</SMALL>]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,14356557</guid>
<pubDate>Tue, 13 Sep 2005 18:12:31 EDT</pubDate>
</item>

<item>
<title>Re: OS X client, linux server, samba pain.</title>
<link>http://www.dslreports.com/forum/remark,14356316</link>
<description><![CDATA[<A HREF="/useremail/u/168864"><b>sporkme</b></A> : <div class="bquote"><SMALL>said by  Crypto <A HREF="/useremail/u/280909"><IMG SRC="http://i.dslr.net/bb/profile.gif" ALT="See Profile" BORDER=0 WIDTH=16 HEIGHT=11></A> :</SMALL><BR><BR>I have not shared out anything on the OS X boxes, because they are not servers, and I dont care how the OS X smbd performs.<br> </DIV>You may not care, but you may gain some insight by trying that.]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,14356316</guid>
<pubDate>Tue, 13 Sep 2005 17:40:36 EDT</pubDate>
</item>

<item>
<title>Re: OS X client, linux server, samba pain.</title>
<link>http://www.dslreports.com/forum/remark,14355791</link>
<description><![CDATA[<A HREF="/useremail/u/280909"><b>Crypto</b></A> : When I say 'slow' I mean that the data moves at under 1MB/sec via samba. Oddly, writing to the linux samba share is a little faster than reading from it.<br><br>It moves at close to wirespeed using any other transfer method, like scp or ftp<br><br>I have not shared out anything on the OS X boxes, because they are not servers, and I dont care how the OS X smbd performs.<br><SMALL>--<br>I may not agree with what you say, but I'll defend your right to encrypt it.</SMALL>]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,14355791</guid>
<pubDate>Tue, 13 Sep 2005 16:29:15 EDT</pubDate>
</item>

<item>
<title>Re: OS X client, linux server, samba pain.</title>
<link>http://www.dslreports.com/forum/remark,14354951</link>
<description><![CDATA[<A HREF="/useremail/u/168864"><b>sporkme</b></A> : Questions:<br><br>-How about ftp transfers?  Similar speeds?<br>-Slow with samba in both directions? (putting vs. getting file)<br>-Slow if the Linux box mounts the OS-X box?<br><br>I highly recommend Netatalk.  Much simpler than samba, and it performs quite well.  Even works well from outside and only requires one TCP port open.]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,14354951</guid>
<pubDate>Tue, 13 Sep 2005 14:31:42 EDT</pubDate>
</item>

<item>
<title>Re: OS X client, linux server, samba pain.</title>
<link>http://www.dslreports.com/forum/remark,14354930</link>
<description><![CDATA[<A HREF="/useremail/u/1057749"><b>manifest</b></A> : When you say slow, do you mean responsiveness of the share or how fast the data is sent?  I have a linux server running gentoo and samba 3 2 pc's and a mac mini.  I can get 9mb/s from linux to mac and vice versa.  When I upgraded from 10.3.9 to 10.4 on the mac I noticed about a 3mb/s increase.  ]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,14354930</guid>
<pubDate>Tue, 13 Sep 2005 14:29:24 EDT</pubDate>
</item>

<item>
<title>Re: OS X client, linux server, samba pain.</title>
<link>http://www.dslreports.com/forum/remark,14354821</link>
<description><![CDATA[<A HREF="/useremail/u/280909"><b>Crypto</b></A> : Yes, I've considered it and utterly rejected the concept as rediculous.<br><br>I've found that NFS is terrible for most client/server installations, honestly. Linux has a lousy NFS server, the protocol itself is terrible for security up until nfsv4 and then it's not well supported. The authentication is ugly as well up to v4 and relies on UID/GID, which arent usually homogenous in my environments. Maybe if you're in an entirely UNIX environment it's okay, but this is not where I am.<br><br>SMB and CIFS are excellent cross-platform implementations. When one's network consists of one Linux server and a bunch of PC's with a few macs thrown in, samba is the logical choice. NFS is a needless security risk and simply asking for trouble, IMO.<br><br>So, no. I'm not going to set up NFS just for a few macs.  I just want to fix whats wrong with samba.<br><SMALL>--<br><br>I may not agree with what you say, but I'll defend your right to encrypt it.</SMALL>]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,14354821</guid>
<pubDate>Tue, 13 Sep 2005 14:15:34 EDT</pubDate>
</item>

<item>
<title>Re: OS X client, linux server, samba pain.</title>
<link>http://www.dslreports.com/forum/remark,14354743</link>
<description><![CDATA[<A HREF="/useremail/u/744594"><b>wmcbrine</b></A> : Have you considered NFS? Or maybe even AppleTalk? IMHO Samba is for talking to Windows.]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,14354743</guid>
<pubDate>Tue, 13 Sep 2005 14:06:23 EDT</pubDate>
</item>

<item>
<title>OS X client, linux server, samba pain.</title>
<link>http://www.dslreports.com/forum/remark,14353410</link>
<description><![CDATA[<A HREF="/useremail/u/280909"><b>Crypto</b></A> : So, here's my basic problem: Samba and OS X arent playing nice together. <br><br>I've been fighting this for over 3 years now, and there's no resolution in sight. I'm convinced that something is broken in OS X's smbclient implementation, but I have no idea what it might be or how to address it. So I'm looking for workarounds , hoping that at least one of you might have run across the following scenario:<br><br>OS X clients (from OS X public beta all the way up to 10.4 Tiger), both when reading and writing, perform absolutely craptacularly when interacting with every version of Samba that Debian or knoppix has come with since 2000. When I saw craptacularly, I'm talking about transfer rates of about 128KB/sec on a gigabit link.<br><br><PRE><br>Client            Server              Result<br>________________________________________________<br>OS X              Samba               Slow<br>OS X              Windows             Fast<br>Windows           Samba               Fast<br></PRE><br><br>All scenarios have been tested with multiple test subjects of each platform<br><br>The problem, it seems, has to be limited to OS X, but I have been unable to find any solutions that have worked. When I look online, everything seems to center around twiddling various options in smb.conf, but none of them so far have made a difference.<br><br>For what it's worth, here's the relevant parts of my current smb.conf<br><br><PRE><br>############ Misc ############<br> <br># Using the following line enables you to customise your configuration<br># on a per machine basis. The %m gets replaced with the netbios name<br># of the machine that is connecting<br>;   include = /home/samba/etc/smb.conf.%m<br> <br># Most people will find that this option gives better performance.<br># See smb.conf(5) and /usr/share/doc/samba-doc/htmldocs/speed.html<br># for details<br># You may want to add the following on a Linux system:<br>#         SO_RCVBUF=8192 SO_SNDBUF=8192<br>#   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192<br> <br># **PERFORMANCE TWEAKS ***<br>socket options = IPTOS_LOWDELAY TCP_NODELAY<br>large readwrite = no<br>deadtime = 15<br>max xmit = 65535<br> <br># The following parameter is useful only if you have the linpopup package<br># installed. The samba maintainer and the linpopup maintainer are<br># working to ease installation and configuration of linpopup and samba.<br>;   message command = /bin/sh -c '/usr/bin/linpopup "%f" "%m" %s; rm %s' &<br> <br># Domain Master specifies Samba to be the Domain Master Browser. If this<br># machine will be configured as a BDC (a secondary logon server), you<br># must set this to 'no'; otherwise, the default behavior is recommended.<br>   domain master = auto<br></PRE><br><br>Any experience you could share on this would be most helpful to me, because I'm frankly disgusted with not being able to fix this.<br><br><SMALL>--<br><br>I may not agree with what you say, but I'll defend your right to encrypt it.</SMALL><br>]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,14353410</guid>
<pubDate>Tue, 13 Sep 2005 11:03:56 EDT</pubDate>
</item>

</channel>
</rss>
