tcp mss MCLBYTES restriction

From: Andrew Gallatin (gallatin_at_cs.duke.edu)
Date: 01/20/04

  • Next message: Andre Oppermann: "Re: tcp mss MCLBYTES restriction"
    Date: Tue, 20 Jan 2004 15:29:34 -0500 (EST)
    To: freebsd-net@freebsd.org
    
    

    For the case where the mtu is larger than MCLBYTES (2048), FreeBSD's
    TCP implementation restricts the mss to a multiple of MCLBYTES. This
    appears to have been inherited from 4.4BSD-lite.

    On adapters with 9000 byte jumbo frames, this limits the mss to 8192
    bytes, and wastes nearly 1KB out of each frame. This is especially
    annoying because many drivers for adapters which support 9000 byte mtus
    allocate their own 9000 byte receive buffers and don't even use mbufs
    which are MCLBYTES in length. In this case, the mss restriction guarantees
    a nearly 1000 byte wastage per frame.

    Would it be OK if I made this code optional via a sysctl?

    Drew

    _______________________________________________
    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: Andre Oppermann: "Re: tcp mss MCLBYTES restriction"

    Relevant Pages

    • Re: tcp mss MCLBYTES restriction
      ... > For the case where the mtu is larger than MCLBYTES, ... > TCP implementation restricts the mss to a multiple of MCLBYTES. ...
      (freebsd-net)
    • Re: sl2tps, MRU, MTU, and MSS
      ... When the client opens a TCP connection, it offers an MSS of 1360 ... datagrams which are 1400 bytes with DF bit set, the ng0 interface with MTU ... When I bring up the tunnel, LCP negotiates an MRU of 1400. ...
      (freebsd-net)
    • Re: ICMP-based blind performance-degrading attack
      ... read/write packets are generally 8k in size. ... above can possibly be reproduced with TCP. ... they would normally send me (with an MSS of 1436). ... just as there is no "minimum MTU" size for IP. ...
      (Bugtraq)
    • [Full-disclosure] Re: ICMP-based blind performance-degrading attack
      ... read/write packets are generally 8k in size. ... above can possibly be reproduced with TCP. ... they would normally send me (with an MSS of 1436). ... just as there is no "minimum MTU" size for IP. ...
      (Full-Disclosure)
    • 2.6.20.7 mss negotiation and path mtu discovery mostly broken?
      ... kernel still attempts to increase the MSS rather aggressively. ... The sending host has an MTU of 9000. ... which will drop packets with the "DF" flag when they don't fit the ...
      (Linux-Kernel)