From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <93578bee964f44a86003b1e0a06a3a71@terzarima.net> From: Charles Forsyth Date: Sun, 1 Apr 2007 21:26:05 +0100 To: 9fans@cse.psu.edu Subject: Re: [9fans] slow performance In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="upas-qeqoutjsktmuqymgtvqgnccygn" Topicbox-Message-UUID: 3af89034-ead2-11e9-9d60-3106f5b1d025 This is a multi-part message in MIME format. --upas-qeqoutjsktmuqymgtvqgnccygn Content-Disposition: inline Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit then there is some confusion, because when i run your program as-is (except for the bug fix) on my Plan 9 system, i get roughly the 2+ seconds you mentioned as the time for the Linux system, and that also compares with the time i get when i run the same code on a Linux system. i can only get 20+ seconds on Plan 9 IF i have the program do the unbuffered print AND redirect to a file system across the network (if i do the unbuffered print and send the output to /dev/null, it's still about 2 seconds). --upas-qeqoutjsktmuqymgtvqgnccygn Content-Type: message/rfc822 Content-Disposition: inline Received: from mail.cse.psu.edu ([130.203.4.6]) by lavoro; Sun Apr 1 21:12:10 BST 2007 Received: from psuvax1.cse.psu.edu (localhost [127.0.0.1]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id 9369BC77AD for ; Sun, 1 Apr 2007 16:12:00 -0400 (EDT) X-Original-To: 9fans@cse.psu.edu Delivered-To: 9fans@cse.psu.edu Received: from localhost (localhost [127.0.0.1]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id 62DB5C77AD for <9fans@cse.psu.edu>; Sun, 1 Apr 2007 16:11:16 -0400 (EDT) Received: from mail.cse.psu.edu ([127.0.0.1]) by localhost (psuvax1 [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 13526-01-39 for <9fans@cse.psu.edu>; Sun, 1 Apr 2007 16:11:14 -0400 (EDT) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.232]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id 5EEE7C77A6 for <9fans@cse.psu.edu>; Sun, 1 Apr 2007 16:11:14 -0400 (EDT) Received: by wx-out-0506.google.com with SMTP id s17so1054473wxc for <9fans@cse.psu.edu>; Sun, 01 Apr 2007 13:11:12 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=moIRajAOZ3aLcH1QKOQH12afrYT6OZb3JSvYl2hn128pbTeWpfzBT10BBw+EyGP8VkXK+K1nuzLf4oMxHtlQ/o2HYJqt8sXkj22O1vCsdYQ/AOxJohIFFrHI4XeRgybWfX2D9a3TiypJ2tpi2di5/EMjHcNwuut5JKfOTFFsr6I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=euOmYQoda3faJ97DCwRKUxbsTNrw7t/UForBZni4uMUzbKlKorpfGCUm1CxnfcjN8TTxFMjmNDJzU0fwXYXdYskH6ewaBJMVKUDmAMv/PLiA8EXXNGxfIEH0jeVg7XRT1Mb9Q0BWKm+63ZnkSNXzH8YuLVCQOL80K+eG5y0pT90= Received: by 10.90.90.16 with SMTP id n16mr2775924agb.1175458272907; Sun, 01 Apr 2007 13:11:12 -0700 (PDT) Received: by 10.90.80.11 with HTTP; Sun, 1 Apr 2007 13:11:12 -0700 (PDT) Message-ID: Date: Sun, 1 Apr 2007 17:11:12 -0300 From: "pedro henrique antunes de oliveira" To: "Fans of the OS Plan 9 from Bell Labs" <9fans@cse.psu.edu> Subject: Re: [9fans] slow performance In-Reply-To: <1eb89280c77a80750662f0114c3468b5@terzarima.net> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_91701_32793595.1175458272852" References: <1eb89280c77a80750662f0114c3468b5@terzarima.net> X-Virus-Scanned: by amavisd-new at cse.psu.edu X-BeenThere: 9fans@cse.psu.edu X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> List-Id: Fans of the OS Plan 9 from Bell Labs <9fans.cse.psu.edu> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: 9fans-bounces+forsyth=terzarima.net@cse.psu.edu Errors-To: 9fans-bounces+forsyth=terzarima.net@cse.psu.edu ------=_Part_91701_32793595.1175458272852 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Ok, but when i'd test the program with 'time program' i do comment the print line, so the program was only sorting the things into the data structure, not printing it.. even i need to consider the print function? ------=_Part_91701_32793595.1175458272852 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Ok, but when i'd test the program with 'time program' i do comment the print line, so the program was only sorting the things into the data structure, not printing it..

even i need to consider the print function?
------=_Part_91701_32793595.1175458272852-- --upas-qeqoutjsktmuqymgtvqgnccygn--