From owner-cvs-all@FreeBSD.ORG Wed Oct 29 08:10:45 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 63F2416A4EC; Wed, 29 Oct 2003 08:10:45 -0800 (PST) Received: from mailhub.fokus.fraunhofer.de (mailhub.fokus.fraunhofer.de [193.174.154.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 12EAC43FBD; Wed, 29 Oct 2003 08:10:42 -0800 (PST) (envelope-from brandt@fokus.fraunhofer.de) Received: from beagle (beagle [193.175.132.100])h9TGAdP18042; Wed, 29 Oct 2003 17:10:39 +0100 (MET) Date: Wed, 29 Oct 2003 17:10:39 +0100 (CET) From: Harti Brandt To: John Baldwin In-Reply-To: Message-ID: <20031029170404.E72806@beagle.fokus.fraunhofer.de> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: RE: cvs commit: src/sys/dev/hatm if_hatm.c if_hatm_intr.c if_hatmvar.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Hartmut Brandt List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Oct 2003 16:10:45 -0000 On Wed, 29 Oct 2003, John Baldwin wrote: JB> JB>On 29-Oct-2003 Hartmut Brandt wrote: JB>> harti 2003/10/29 04:59:44 PST JB>> JB>> FreeBSD src repository JB>> JB>> Modified files: JB>> sys/dev/hatm if_hatm.c if_hatm_intr.c if_hatmvar.h JB>> Log: JB>> Get rid of the mutexes for the exernal buffer free lists. Use JB>> atomic instructions instead. Remove the stuff used to track JB>> whether an external mbuf travels through the system. This is JB>> temporary only and will come back soon. JB> JB>Do the atomic operations buy you significant performance? Yes. I'm trying to receive and send around 150kpkt/sec. Up to now it stopped at 120kpkts because the (2-CPU) machine was 50% in interrupt state. Now I'm up to 180kptks with around 45%. I'm not sure how much of this is due to getting rid of the mutexes, but I may have to try it with the mutexes because I got another mail that says, that the algorithm may not be safe. I'll take a look. harti -- harti brandt, http://www.fokus.fraunhofer.de/research/cc/cats/employees/hartmut.brandt/private brandt@fokus.fraunhofer.de, harti@freebsd.org