From owner-freebsd-net@FreeBSD.ORG Thu May 4 01:55:42 2006 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 85CE316A400 for ; Thu, 4 May 2006 01:55:42 +0000 (UTC) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (gate.funkthat.com [69.17.45.168]) by mx1.FreeBSD.org (Postfix) with ESMTP id C7F7943D49 for ; Thu, 4 May 2006 01:55:41 +0000 (GMT) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (s2nozbxyv2ocv97j@localhost.funkthat.com [127.0.0.1]) by hydrogen.funkthat.com (8.13.4/8.13.3) with ESMTP id k441tThj050740; Wed, 3 May 2006 18:55:30 -0700 (PDT) (envelope-from jmg@hydrogen.funkthat.com) Received: (from jmg@localhost) by hydrogen.funkthat.com (8.13.4/8.13.3/Submit) id k441tONt050739; Wed, 3 May 2006 18:55:24 -0700 (PDT) (envelope-from jmg) Date: Wed, 3 May 2006 18:55:24 -0700 From: John-Mark Gurney To: tpeixoto@widesoft.com.br Message-ID: <20060504015524.GV728@funkthat.com> Mail-Followup-To: tpeixoto@widesoft.com.br, "."@babolo.ru, Lee Johnston , freebsd-net@freebsd.org, Julian Elischer , mihai@duras.ro References: <1146645702.297895.80691.nullmailer@cicuta.babolo.ru> <44595B76.9010901@widesoft.com.br> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <44595B76.9010901@widesoft.com.br> User-Agent: Mutt/1.4.2.1i X-Operating-System: FreeBSD 5.4-RELEASE-p6 i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html Cc: Lee Johnston , "."@babolo.ru, Julian Elischer , mihai@duras.ro, freebsd-net@freebsd.org Subject: Re: Packet loss with traffic shaper and routing X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: John-Mark Gurney List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 May 2006 01:55:42 -0000 tpeixoto@widesoft.com.br wrote this message on Wed, May 03, 2006 at 22:40 -0300: > Anyway, I am very curious about the result of test 2. Why do the pipes > have influence on system performance if there is nothing passing through > them? It looks like each tick all the pipes are scanned... In dummynet: /* Sweep pipes trying to expire idle flow_queues. */ for (i = 0; i < HASHSIZE; i++) SLIST_FOREACH(pipe, &pipehash[i], next) That bit of code should probably be run less often... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."