Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Aug 2005 19:29:57 +0200
From:      Andre Oppermann <andre@freebsd.org>
To:        Christian Vogt <chvogt@tm.uka.de>
Cc:        freebsd-net@freebsd.org, TM-RO2 <tm-ro2@tm.uka.de>
Subject:   Re: Deactivate TCP Hostcache?
Message-ID:  <43076895.7C238E6E@freebsd.org>
References:  <4307628A.9050102@tm.uka.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Christian Vogt wrote:
> 
> Hi everybody,
> 
> is there a way to deactivate the TCP hostcache?
> 
> I could modify the kernel, but probably there is a more convenient way
> to do this.

No, there is no other way.

> The reason I want to deactivate the hostcache is because I am doing
> experiments and later measurements should not be different than earlier
> ones due to cached information.

Comment out the tcp_hc_update() call on line 737 in netinet/tcp_subr.c
and it won't cache metrics anymore.  The discovered path MTU is still
stored though.

-- 
Andre



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43076895.7C238E6E>