[Fwd: TCP RTO]

From: Julian Elischer (julian_at_elischer.org)
Date: 09/08/04

  • Next message: Guy Harris: "Re: [tcpdump-workers] [PATCH] Add ioctl to disable bpf timestamping"
    Date: Wed, 08 Sep 2004 11:52:30 -0700
    To: net@freebsd.org
    
    
    

    
    

    attached mail follows:


    Date: Wed, 8 Sep 2004 17:43:36 +0100
    To: freebsd-hackers@freebsd.org
    
    

    Hi,

    I'm not sure if this list is appropriate to ask about the FreeBSD kernel
    source or not. If not, could somebody direct me in an appropriate
    list?

    My curiosity is if we see the tcp.cc code inside, there are two
    different version of srtt (smoothed rtt) and rttvar (smoothed mean
    deviation estimator). The one is simply 'srtt' and 'rttvar' and the
    other is 't_srtt' and 't_rttvar'. The unit of t_srtt is 'ticks * 8'
    and the unit of t_rttvar is 'ticks * 4'.

    These variables are used to calculate the TCP RTO. But why do they
    have the two different version of variables? The interesting thing is
    the 't_' variables are a fixed-point integer, and the original
    variables are just floating-point values. I assume the reason why they
    have is to avoid the floating-point arithmetic in the kernel. Is this
    really only reason for being two different version of those?

    Cheers,
    Soo-Hyun
    _______________________________________________
    freebsd-hackers@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
    To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"

    
    

    _______________________________________________
    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: Guy Harris: "Re: [tcpdump-workers] [PATCH] Add ioctl to disable bpf timestamping"

    Relevant Pages

    • TCP RTO
      ... I'm not sure if this list is appropriate to ask about the FreeBSD kernel ... different version of srtt (smoothed rtt) and rttvar (smoothed mean ... The one is simply 'srtt' and 'rttvar' and the ... I assume the reason why they ...
      (freebsd-hackers)
    • TCP RTO calculation
      ... I'm not sure if this list is appropriate to ask the FreeBSD kernel ... different version of srtt (smoothed rtt) and rttvar (smoothed mean ... The one is simply 'srtt' and 'rttvar' and the ... I assume the reason why they ...
      (freebsd-questions)
    • Re: rwlocks
      ... > Are there any realizations of rwlock in FreeBSD kernel? ... DES ... To unsubscribe, ...
      (freebsd-current)
    • Kernel Debugging
      ... How do we debug a freeBSD kernel? ... "KGDB" that linux offers? ... To unsubscribe, ...
      (freebsd-hackers)
    • Re: Xnu, and L4BSD
      ... reason to sandbox the FreeBSD kernel and force it to run as a user- ... land service on top of the L4::Pistachio kernel? ...
      (freebsd-hackers)