From owner-cvs-all Wed Jun 27 14:34: 6 2001 Delivered-To: cvs-all@freebsd.org Received: from sneakerz.org (sneakerz.org [216.33.66.254]) by hub.freebsd.org (Postfix) with ESMTP id 5B9F937B437; Wed, 27 Jun 2001 14:33:56 -0700 (PDT) (envelope-from bright@sneakerz.org) Received: by sneakerz.org (Postfix, from userid 1092) id AF8DA5D010; Wed, 27 Jun 2001 16:33:45 -0500 (CDT) Date: Wed, 27 Jun 2001 16:33:45 -0500 From: Jonathan Lemon Alfred Perlstein To: Doug Rabson Cc: Matt Dillon , John Baldwin , "Brian F. Feldman" , Mike Silbersack , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org, jlemon@FreeBSD.org, bmilekic@FreeBSD.org Subject: Re: cvs commit: src/sys/netinet tcp_input.c tcp_output.c tcp_sub Message-ID: <20010627163345.H74703@sneakerz.org> References: <200106271537.f5RFbIQ40573@earth.backplane.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: ; from dfr@nlsystems.com on Wed, Jun 27, 2001 at 09:38:12PM +0100 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG * Doug Rabson [010627 15:39] wrote: > > Since we don't have sufficient lock pushdown to get any significant part > of the kernel outside the scope of Giant, any implementation of > lightweight ithreads would not make a noticeable performance improvement > because it will be contending on Giant too often. This same problem tends > to double the number of context switches in our existing implementation > which is a major performance issue. > > In the long run, we need to implement lightweight ithreads but until we > can get a significant fraction of the kernel out from under Giant, > performance is not going to improve. Well for the most part the network drivers should be mpsafe, since mbuf and ifq queues are protected by locks we should be able to get them out from under giant. -Alfred To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message