From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <80c99e790907240136p46bcf8ebn6232bbd85f25d21c@mail.gmail.com> References: <80c99e790907240136p46bcf8ebn6232bbd85f25d21c@mail.gmail.com> Date: Fri, 24 Jul 2009 12:17:47 +0200 Message-ID: <5d375e920907240317q7fcb306ek6e2b34905e9a93a3@mail.gmail.com> From: Uriel To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [9fans] plan9port tools speed Topicbox-Message-UUID: 2c122f14-ead5-11e9-9d60-3106f5b1d025 My bet is on file system performance. Where did the data come from? 9vx is also much faster, even if binaries are identical, because fossil is such a dog. uriel P.S.: In my experience with werc ( http://werc.cat-v.org ) statically linking p9p tools further increases performance considerably, p9p tools are also insanely faster than gnu tools. On Fri, Jul 24, 2009 at 10:36 AM, Lorenzo Bolla wrote: > Hi all, > > I've just installed the plan9port as described here > (http://swtch.com/plan9port/man/man1/install.html) on a debian box. > I was comparing the speed of some commands between the plan9 and the GNU > version, and I get consistently poorer results for the plan9 ones. > 'grep' for example, is at least twice as slow as its GNU counterpart. > > Moreover, the executables in plan9/bin are bigger. Again, plan9's 'grep' is > 40% bigger: > $ ll /bin/grep /usr/local/plan9/bin/grep > -rwxr-xr-x 1 root root 100500 2009-03-28 22:06 /bin/grep > -rwxr-xr-x 1 root root 141512 2009-07-24 09:06 /usr/local/plan9/bin/grep > > Is it expected? Why? Should I re-compile the plan9port with some > optimization switches? How? > > Thanks! > L. >