From owner-freebsd-performance@FreeBSD.ORG Wed Dec 5 02:57:47 2007 Return-Path: Delivered-To: freebsd-performance@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9341616A418 for ; Wed, 5 Dec 2007 02:57:47 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.182]) by mx1.freebsd.org (Postfix) with ESMTP id 3B45A13C45B for ; Wed, 5 Dec 2007 02:57:47 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by py-out-1112.google.com with SMTP id u77so8811181pyb for ; Tue, 04 Dec 2007 18:57:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; bh=5O7m0aXz4lh5sb8czjWVdKOGKZE097XQhidl4Q9CsCw=; b=UH/XwjfbL5NTbB08dDZeBMQWaqATNNvZUbE4dy6V0j6S08iWF0qzCFtQb/zL0BlJ73dXsC9Oz/uXqsa30kBym0CNky23j1orSfU51AYxAN8bTU4a6XXySVrT/mOiHK8+4qa0Nep8NQW+KELV8LM9150Bzx64fbEbop4N09HLfbk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=PMhO+jZuqZ9BeZE9NP5rmkiorNwOXeZ0BTw5uyDLmM6aviQ0q3gyCta5axgRbbjlV4Xx7ZZE+Vgfux+f8KQQo7VwKz0DMv7rVbTamPhBqZqmycOmuz0IOckT6eWocfcHZusHF1d+g0vdJa2umRAqflV1WyI+sPX6qdRO2w0ZZlU= Received: by 10.65.116.10 with SMTP id t10mr19609761qbm.1196822020632; Tue, 04 Dec 2007 18:33:40 -0800 (PST) Received: by 10.65.155.16 with HTTP; Tue, 4 Dec 2007 18:33:40 -0800 (PST) Message-ID: Date: Wed, 5 Dec 2007 11:33:40 +0900 From: "Adrian Chadd" Sender: adrian.chadd@gmail.com To: "Philipp Wuensche" In-Reply-To: <4755FAD8.5030805@h3q.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <4755ED57.6030603@h3q.com> <20071204195131.56cb1307.wmoran@collaborativefusion.com> <4755FAD8.5030805@h3q.com> X-Google-Sender-Auth: 567193e87acb3134 Cc: "freebsd-performance@freebsd.org" Subject: Re: tuning for high connection rates X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Dec 2007 02:57:47 -0000 On 05/12/2007, Philipp Wuensche wrote: > As I understand it, and correct me if I'm wrong, polling helps against > high interrupt rates but for that intel gigabit cards have interrupt > moderation. We don't have a problem with interrupts (20% CPU) at the > moment but with system (100% CPU) as you can see in the system > monitoring graphs. Interrupts sometimes peak at, but usually are under, > the 2k interrupts/sec limit. Begin by reading up on the hardware profiling support (hwpmc, pmc, etc) and see if you can get some system and process-specific profiling information. Kernel/System profiling will probably show you an interesting thing or two. One thing I noticed was high in my high-TCP-transaction tests (but not on hardware anywhere near as nice as yours!) was crypto calls for, IIRC, syncookies. Adrian -- Adrian Chadd - adrian@freebsd.org