9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: erik quanstrom <quanstro@quanstro.net>
To: 9fans@9fans.net
Subject: Re: [9fans] some measurements in plan 9
Date: Wed, 15 Apr 2009 13:25:07 -0400	[thread overview]
Message-ID: <8bb82d734dec86d799e6b96942a4d6e5@quanstro.net> (raw)
In-Reply-To: <138575260904150753j74048448q2ba2f33a1b06f2f@mail.gmail.com>

On Wed Apr 15 10:55:34 EDT 2009, uair00@gmail.com wrote:
> Hi,
> I want to compare the memory consumption of two versions of the same
> program. I think /proc it's the way to go and acid should give me the
> tools to do so, am I right? is there a better way to do so? Just
> asking before reading the acid papers.
> Also, I am interested in the speed of both versions, and I am planning
> to use the time command with some rc scripts. Am I in the right path?
> thanks and saludos

leak should give you a very detailed picture of memory allocation.

ron's comments notwithstanding, i have found nsec() to be very helpful
in tuning most user mode programs.  i wasn't doing supercomputer
applications, but the chances are you aren't either.

- erik



  parent reply	other threads:[~2009-04-15 17:25 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-15 14:53 hugo rivera
2009-04-15 15:07 ` ron minnich
2009-04-15 15:18   ` hugo rivera
2009-04-15 15:22     ` ron minnich
2009-04-15 14:42       ` Eris Discordia
2009-04-15 15:36       ` hugo rivera
     [not found]       ` <76AC46BF74173E9B2C3BD019@192.168.1.2>
2009-04-15 16:03         ` ron minnich
2009-04-15 17:25 ` erik quanstrom [this message]
2009-04-15 18:06   ` hugo rivera

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=8bb82d734dec86d799e6b96942a4d6e5@quanstro.net \
    --to=quanstro@quanstro.net \
    --cc=9fans@9fans.net \
    /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).