From owner-freebsd-net@FreeBSD.ORG Sat Aug 20 17:29:57 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 07BC616A41F for ; Sat, 20 Aug 2005 17:29:57 +0000 (GMT) (envelope-from andre@freebsd.org) Received: from c00l3r.networx.ch (c00l3r.networx.ch [62.48.2.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4C02243D55 for ; Sat, 20 Aug 2005 17:29:55 +0000 (GMT) (envelope-from andre@freebsd.org) Received: (qmail 4732 invoked from network); 20 Aug 2005 17:09:41 -0000 Received: from unknown (HELO freebsd.org) ([62.48.0.54]) (envelope-sender ) by c00l3r.networx.ch (qmail-ldap-1.03) with SMTP for ; 20 Aug 2005 17:09:41 -0000 Message-ID: <43076895.7C238E6E@freebsd.org> Date: Sat, 20 Aug 2005 19:29:57 +0200 From: Andre Oppermann X-Mailer: Mozilla 4.8 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: Christian Vogt References: <4307628A.9050102@tm.uka.de> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org, TM-RO2 Subject: Re: Deactivate TCP Hostcache? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Aug 2005 17:29:57 -0000 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