From owner-freebsd-current Sat Nov 2 2:42:56 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4688A37B401 for ; Sat, 2 Nov 2002 02:42:55 -0800 (PST) Received: from gull.mail.pas.earthlink.net (gull.mail.pas.earthlink.net [207.217.120.84]) by mx1.FreeBSD.org (Postfix) with ESMTP id D69BB43E75 for ; Sat, 2 Nov 2002 02:42:54 -0800 (PST) (envelope-from tlambert2@mindspring.com) Received: from pool0019.cvx21-bradley.dialup.earthlink.net ([209.179.192.19] helo=mindspring.com) by gull.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 187vjw-0001EN-00; Sat, 02 Nov 2002 02:42:52 -0800 Message-ID: <3DC3ABA0.97988F96@mindspring.com> Date: Sat, 02 Nov 2002 02:40:32 -0800 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Michal Mertl Cc: Bill Fenner , current@FreeBSD.ORG Subject: Re: crash with network load (in tcp syncache ?) References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Michal Mertl wrote: > This patch fixes the panics for me. Thanks a lot. I believe it should be > commited. I agree (Mark Murray -- this was the patch I was talking about). > BTW: I get about 850 fetches pers second on UP an 600 SMP (the same > machine and settings). Don't know if it's expected in this usage pattern. It's expected. "Fetches per second" isn't a very good benchmark, FWIW. It doesn't tell us how to repeat it. A better measure is connections per second (at least for a server box). With proper tuning, and some minor patches, 7000/second isn't hard to get. If you add the Duke University version of the Rice University patches for LRP, modify the mbuf allocator for static freelisting and then pre-populate it, and tune the kernel properly, you should be able to get over 20,000 connections per second. The best I've managed with a modified FreeBSD 4.2, before the SYN-cache code, was 32,000/second. Use "MAST" or "http_load" on a number of simultaneous clients to get in the neighborhood of those numbers. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message