Re: FreeBSD 4.x and OS-X tcp performance

From: Daniel Hartmeier (daniel_at_benzedrine.cx)
Date: 03/07/05

  • Next message: Hanspeter Roth: "disabling ipv6 with ppp"
    Date: Mon, 7 Mar 2005 10:08:02 +0100
    To: Charles Sprickman <spork@fasttrackmonkey.com>
    
    

    On Sun, Mar 06, 2005 at 04:45:30PM -0500, Charles Sprickman wrote:

    > For fun I'm going to post a full tcpdump of an ftp session from one box to
    > the other, maybe someone can spot something there? It's attached and
    > bzip'd. It's a tcpdump of both hosts transferring a 1MB tarfile.

    I can only find an FTP control connection and _one_ data connection in
    that dump. Client 192.168.0.40 is uploading one file of about 1.6MB to
    server home.manymonkeys.com.

    There's a pattern in the dump, looks like a TCP problem. The client
    pushes data to the server. Every now and then, packets are lost. Mostly,
    the client retransmits normally. But ten times, it seems to ignore the
    server ACKing below a lost segment. It quickly gets several ACKs but
    only retransmits the lost segment after a full 1.4 seconds. This
    accounts for a total of 14.5 seconds of stalling the upload. The entire
    transfer is 15.02 seconds, so the 1.6MB are actually uploaded in 0.5
    seconds, and the stalling entirely accounts for the slow throughput.

    Looks like the client is at fault. There's window scaling, but with
    scale factors 0. No SACK. I think the client should retransmit earlier.

    Which OS is running on which of those hosts? Which host did you tcpdump
    on (or was it on a third machine, in between)? Could you get a tcpdump
    from both server and client simultanously for the same connection, so we
    can see where packets are lost, and get both peers' point of view?

    Would be interesting to see a tcpdump of a connection from the same
    client (same OS) to a different server OS, which works fine.

    Daniel
    _______________________________________________
    freebsd-net@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-net
    To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"


  • Next message: Hanspeter Roth: "disabling ipv6 with ppp"

    Relevant Pages

    • Re: FreeBSD 4.x and OS-X tcp performance
      ... tcpdump.osx-fbsd - tcpdump ran on os-x box while transferring to FBSD ... > see the client sending payload and the server acknowledging it. ...
      (freebsd-net)
    • Re: VPN works, sort of I guess, maybe?
      ... your vpn client. ... How are you trying to connect to other hosts, ... > or one which allows a client to all resources on the protected LAN. ... > Ethernet adapter Server Local Area Connection: ...
      (microsoft.public.windows.server.sbs)
    • Re: Servers losing sync or not syncing at all.
      ... > I have two problems with my NTP server/client. ... > The server & client are linux servers on a private lan. ... > The bd checksum can be ignored as tcpdump is getting the packet before the ...
      (comp.protocols.time.ntp)
    • Re: FreeBSD 4.x and OS-X tcp performance
      ... It's a tcpdump of both hosts transferring a 1MB tarfile. ... > server home.manymonkeys.com. ... > only retransmits the lost segment after a full 1.4 seconds. ... I think the client should retransmit earlier. ...
      (freebsd-net)
    • Re: Routing with Suse Linux 9.0
      ... Can I prevent my server from being attacked by syn scans and can I block IP ... I also canīt ping from the client any ... >># contained therein. ...
      (alt.linux)