FreeBSD 4.x and OS-X tcp performance

Charles Sprickman spork at fasttrackmonkey.com
Fri Mar 4 15:43:46 PST 2005


On Fri, 4 Mar 2005, Darcy Buskermolen wrote:

> On Friday 04 March 2005 14:34, Charles Sprickman wrote:
>> Howdy,
>>
>> Sorry to bring what seems like a simple issue up here.  I had been blaming
>> slow afp filesharing between my OS-X (10.3.8 and previous) and FreeBSD 4.x
>> boxes on netatalk's afp implementation for some time.  Not too long ago I
>> got frustrated with this and tried smb and then ftp.  On a simple 10/100
>> network, and even with just a crossover between two boxes it seems that
>> any tcp transfer tops out at around 250KB/s.
>>
>> On the same network using the same switch I can get near line-rate to an
>> OpenBSD box and to another OS-X box.
>>
>> If I use nfs and force udp as the transport, I *do* get near line-rate
>> between OS-X and FBSD.
>>
>> My 5.3 box is tanked at the moment, so I cannot tell if the problem
>> happens there as well.  I do have a full ADC account, so I will be testing
>> with the latest Tiger preview shortly, and the ADC access does give me a
>> decent bug reporting facility if the fault lies within the OS-X tcp stack.
>>
>> I'm no tcpdump wizard, would anyone care to help me track this down?
>
> I'd start with ensureing your nic's media options are properly set (I've seen
> this exact behavior during duplex mismatches)

Yep, I wouldn't have come here without checking all the basics.  I should 
also add that given three machines in my standard config I get the 
following results which will also help rule out cabling/speed/duplex 
issues:

os-x <-> obsd - good
os-x <-> fbsd - bad
obsd <-> fbsd - good
os-x <-> os-x - good

Charles

>> Thanks,
>>
>> Charles
>> _______________________________________________
>> freebsd-net at freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-net
>> To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"
>


More information about the freebsd-net mailing list