Re: Deactivate TCP Hostcache?
From: Andre Oppermann (andre_at_freebsd.org)
Date: 08/20/05
- Previous message: Christian Vogt: "Deactivate TCP Hostcache? (2)"
- In reply to: Christian Vogt: "Deactivate TCP Hostcache?"
- Next in thread: Christian Vogt: "Re: Deactivate TCP Hostcache?"
- Reply: Christian Vogt: "Re: Deactivate TCP Hostcache?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 20 Aug 2005 19:29:57 +0200 To: Christian Vogt <chvogt@tm.uka.de>
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 _______________________________________________ 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"
- Previous message: Christian Vogt: "Deactivate TCP Hostcache? (2)"
- In reply to: Christian Vogt: "Deactivate TCP Hostcache?"
- Next in thread: Christian Vogt: "Re: Deactivate TCP Hostcache?"
- Reply: Christian Vogt: "Re: Deactivate TCP Hostcache?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|