From owner-freebsd-arch@FreeBSD.ORG Thu Mar 27 07:04:00 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 36D6137B401 for ; Thu, 27 Mar 2003 07:04:00 -0800 (PST) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 68F1F43FAF for ; Thu, 27 Mar 2003 07:03:59 -0800 (PST) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (fledge.pr.watson.org [192.0.2.3]) by fledge.watson.org (8.12.8/8.12.8) with SMTP id h2RF3ojK066871; Thu, 27 Mar 2003 10:03:50 -0500 (EST) (envelope-from robert@fledge.watson.org) Date: Thu, 27 Mar 2003 10:03:50 -0500 (EST) From: Robert Watson X-Sender: robert@fledge.watson.org To: "Daniel C. Sobral" In-Reply-To: <3E82F7EE.6080802@tcoip.com.br> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Status: No, hits=-23.5 required=5.0 tests=AWL,EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT, REPLY_WITH_QUOTES,USER_AGENT_PINE autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) cc: arch@freebsd.org Subject: Re: Threading code review please. X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Mar 2003 15:04:01 -0000 On Thu, 27 Mar 2003, Daniel C. Sobral wrote: > Jeff Roberson wrote: > > I'm going to reply to the threads on 1:1 vs M:N tomorrow. I'd like to > > request that people actually read the patch and give me feedback on the > > code and not the approach. > > > > I have no outstanding behavior problems with mozilla. It actually runs > > much faster now with libthr in place of libc_r. On pages with LOTS of > > images it scrolls much smoother. I suspect its the amount of io waits. > > This is an SMP system you are talking about? Both 1:1 and M:N threading will improve performance of interactive applications if they spend any moderate amount of time I/O bound. I've noticed substantial performance differences between instances of openoffice linked for libc_r and openoffice linked for linuxthreads -- serializing I/O operations substantially impacts throughput and interactivty due to latency. Try running the Linux-linked mozilla, the FreeBSD libc_r mozilla, and the FreeBSD linuxthreads mozilla and see how they compare. Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Network Associates Laboratories