Speeding up Samba file copying?
You know how copying large files between a Mac and PC can be so painfully slow? Part of this surely comes from some magical file allocation nonsense translation that occurs between NTFS and HFS, but plenty comes from a little neworking problem. See, according to an anonymous poster at macosxhints, TCP winds up delaying packet acknolegements, which in turn revs Samda down, which means my dang ripped movies don't copy as quickly. Er, I mean those peskly PPT files... At any rate, the tip is to turn off the delay. Sounds easy, but the method is a little scary. I have noticed my mixed-client transfers going faster in Tiger, but I'm too scared to try this one out. Anyone game?Share
Categories
You know how copying large files between a Mac and PC can be so painfully slow? Part of this surely comes from some magical file allocation...
Add a Comment
One way to improve SMB is to turn on sendfile support (i.e. on your linux box, though i don't know if you can do this on XP or 2000). Though this will break NT4, ME, and 98 clients. But who cares about that =P
November 15 2005 at 1:14 PM Report abuse Permalink rate up rate down ReplyOne way to improve SMB is to turn on sendfile support (i.e. on your linux box, though i don't know if you can do this on XP or 2000). Though this will break NT4, ME, and 98 clients. But who cares about that =P
November 15 2005 at 1:14 PM Report abuse Permalink rate up rate down ReplyI tried Cocktail: it has a wonderful checkbox with "turn off delayed acks" on it. Not so scary.
November 15 2005 at 12:26 PM Report abuse Permalink rate up rate down ReplyTread carefully making these changes. I went the whole hog and implemented the changes recommended by adcha in that thread, and found after I rebooted I couldn't log in! I had to boot into single user mode, fsck, mount my drive, delete /etc/sysctl.conf and reboot to get back in. Not good.
November 15 2005 at 11:30 AM Report abuse Permalink rate up rate down ReplySamba can be really wierd, if you are doing a Linux to Mac transfere I suggest you look at http://www.evath.net/archives/mac_os_x_and_samba_too_slow.shtml It really gave me a headache till I found those results
November 15 2005 at 10:07 AM Report abuse Permalink rate up rate down ReplyHot Apps on TUAW
Deals of the Day
more deals- Refurb Apple MacBook Air Laptops: 12" 64GB SSD for $699 + free shipping
- JVC Motion Sensing Clock Radio with Dual iPod Docks for $55 + free shipping
- Apple iPhone Headset with Mic for $4 + $2 s&h
- miFrame Picture Frame Dock for iPad for $64 + $8 s&h
- Refurb Apple iPod nano 8GB MP3 Player for $99 + free shipping, 16GB for $119
- Hannspree Apple-Shaped 28" 1080p LCD HDTV for $270 + free shipping
Software Updates
more updates- EFI Firmware Update brings Lion Internet Recovery to 2010-model Macs
- OS X Lion 10.7.3 released with Safari 5.1.3, Wi-Fi bug fix
- Aperture updated to 3.2.2, addresses Photo Stream issue
- Apple updates Keynote to address Lion issues
- Google Search app gets new look on iPad
- Apple releases Apple TV Software Update 4.4.3



5 Comments