From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <66b2af3667a4bbd0af8fc574fb87c96d@vitanuova.com> To: 9fans@cse.psu.edu Subject: Re: [9fans] ports performance From: rog@vitanuova.com In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="upas-eiuafwyfhecldmblarrerpnigb" Date: Thu, 8 Apr 2004 19:59:50 +0100 Topicbox-Message-UUID: 561c4612-eacd-11e9-9e20-41e7f4b1d025 This is a multi-part message in MIME format. --upas-eiuafwyfhecldmblarrerpnigb Content-Disposition: inline Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit it probably doesn't cache user-id->name mappings. --upas-eiuafwyfhecldmblarrerpnigb Content-Type: message/rfc822 Content-Disposition: inline Received: from mail.cse.psu.edu ([130.203.4.6]) by doppio; Thu Apr 8 19:57:41 BST 2004 Received: by mail.cse.psu.edu (CSE Mail Server, from userid 60001) id C89521A09D; Thu, 8 Apr 2004 14:52:17 -0400 (EDT) Received: from psuvax1.cse.psu.edu (psuvax1.cse.psu.edu [130.203.4.6]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id BF3641A09D; Thu, 8 Apr 2004 14:52:11 -0400 (EDT) X-Original-To: 9fans@cse.psu.edu Delivered-To: 9fans@cse.psu.edu Received: by mail.cse.psu.edu (CSE Mail Server, from userid 60001) id C6B371A0A3; Thu, 8 Apr 2004 14:51:26 -0400 (EDT) Received: from ella.bx.psu.edu (ella.bx.psu.edu [128.118.201.41]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id A1CF81A0A3 for <9fans@cse.psu.edu>; Thu, 8 Apr 2004 14:51:25 -0400 (EDT) Received: from schwartz by ella.bx.psu.edu with local (Exim 3.36 #1 (Debian)) id 1BBecX-0000je-00 for <9fans@cse.psu.edu>; Thu, 08 Apr 2004 14:51:25 -0400 To: 9fans@cse.psu.edu Message-Id: From: Scott Schwartz Subject: [9fans] ports performance Sender: 9fans-admin@cse.psu.edu Errors-To: 9fans-admin@cse.psu.edu X-BeenThere: 9fans@cse.psu.edu X-Mailman-Version: 2.0.11 Precedence: bulk Reply-To: 9fans@cse.psu.edu List-Id: Fans of the OS Plan 9 from Bell Labs <9fans.cse.psu.edu> List-Archive: Date: Thu, 08 Apr 2004 14:51:25 -0400 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on psuvax1.cse.psu.edu X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no version=2.63 X-Spam-Level: I've noticed that running (the ported version of) ls under OS X (10.2), it is very very slow. Profiling tools (is gprof+"recompile the world" all there is? why doesn't everyone have pixie!) didn't reveal much, but top shows that lookupd is burning lots of cycles. Apparently we're doing lots of lookups (of passwd entries I guess) that the native version doesn't do? Under linux the difference is very much less, but it's there. At first I attributed it to something minor like bio doing less buffering than stdio, but maybe that's not the whole story. --upas-eiuafwyfhecldmblarrerpnigb--