From owner-freebsd-ipfw@FreeBSD.ORG Thu Nov 6 03:06:07 2003 Return-Path: Delivered-To: freebsd-ipfw@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8DBB816A4CF for ; Thu, 6 Nov 2003 03:06:07 -0800 (PST) Received: from mail.latnet.lv (mail.latnet.lv [159.148.108.13]) by mx1.FreeBSD.org (Postfix) with SMTP id E785D43FF2 for ; Thu, 6 Nov 2003 03:06:05 -0800 (PST) (envelope-from ac@latnet.lv) Received: (qmail 1306 invoked by uid 64014); 6 Nov 2003 11:06:04 -0000 Received: from ac@latnet.lv by mail by uid 64011 with qmail-scanner-1.16 (clamscan: 0.54. Clear:. Processed in 1.012002 secs); 06 Nov 2003 11:06:04 -0000 Received: from unknown (HELO artis) (159.148.107.1) by mail.latnet.lv with SMTP; 6 Nov 2003 11:06:03 -0000 From: "Artis Caune" To: Date: Thu, 6 Nov 2003 13:04:31 +0200 Organization: Latnet MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Thread-Index: AcOkVcESgGV4G1+cRX6QPq8UZluBdw== X-Qmail-Scanner-Message-ID: <10681167635261277@mail> Message-Id: <20031106110605.E785D43FF2@mx1.FreeBSD.org> Subject: loading lot of rules takes very long time X-BeenThere: freebsd-ipfw@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: IPFW Technical Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Nov 2003 11:06:07 -0000 Hello, We have about 10000-20000 pipes for different subnets, and it takes very long time to load them - about 10-15min. 92.8% interrupt, 0.0% idle strange that things slow down when count reaches 2000-2500 rules. is there something we can do to speed things up? rules are added like: ipfw -q add 1 pipe 1 src-ip 1.1.1.1 out via em0 ipfw pipe 1 config bw 30Kbytes/s queue 10 ... soo 'ipfw' is invoked '2 x client_count' !!! maybe ipfw need feature like: ipfw -f /etc/rc.firewall # FreeBSD-4.9, IPFW2, # HZ=2000, DEVICE_POLLING, # 1G RAM, 2.4xeon on Intel server board ..... Artis