9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Russ Cox <russcox@gmail.com>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] ports performance
Date: Thu,  8 Apr 2004 22:32:08 -0400	[thread overview]
Message-ID: <2385D6D1.9278905@mail.gmail.com> (raw)
In-Reply-To: <E1BBecX-0000je-00@ella.bx.psu.edu>

> 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

Slightly off-topic, but pct (see http://pdos.lcs.mit.edu/cb/pct/)
provides the functionality of Plan 9's tprof and, like tprof, doesn't
require recompiling.  It probably wouldn't have found your problem
(ls wasn't the one chewing cycles), but I've found it much more
useful than gprof.  The invocation is a little odd.  It really needs a 
better wrapper.

Russ


  parent reply	other threads:[~2004-04-09  2:32 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-08 18:51 Scott Schwartz
2004-04-08 18:59 ` rog
2004-04-08 18:57   ` Rob Pike
2004-04-08 19:07     ` Scott Schwartz
2004-04-08 19:28 ` Geoff Collyer
2004-04-08 19:45   ` Russ Cox
2004-04-08 19:51     ` Scott Schwartz
2004-04-08 19:57       ` Russ Cox
2004-04-09  2:32 ` Russ Cox [this message]
2004-04-08 19:10 Ben Huntsman
2004-04-08 19:21 ` rog
2004-04-08 19:35 ` a
2004-04-08 19:44 ` Scott Schwartz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2385D6D1.9278905@mail.gmail.com \
    --to=russcox@gmail.com \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).