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] Is this Plan9 performance, Ok
Date: Thu,  9 Apr 2009 07:53:27 -0400	[thread overview]
Message-ID: <92e8edf26599c26371e550871320c827@quanstro.net> (raw)
In-Reply-To: <7qgva6x0f8.ln2@news.homelinux.net>

On Thu Apr  9 05:18:31 EDT 2009, bdheeman@gmail.com wrote:
> Extraction of only a 180M archive knelled down a 1.8Ghz/P-M4/i686/1Gb
> RAM/40GiB IDE HDD machine running vanilla Plan9 installed natively:
>
> term% cat /dev/sdC0/ctl |grep dma
> config 0040 capabilities 2F00 dma 00550020 dmactl 00550020 rwm 8 rwmctl 0
> term% time /n/mon/mnt/sda9/Downloads/Plan9/mroot-linuxemu.tbz2
> ...
> 183.27u 31.06s 623.86r   tar zxf
> /n/mon/mnt/sda9/Downloads/Plan9/mroot-linuxemu.tbz2
> term% ls -l /n/mon/mnt/sda9/Downloads/Plan9/mroot-linuxemu.tbz2
> --rw-rw-r-- M 47 root wheel 188569960 Apr  8 16:15

a laptop drive of that general description is probablly good for 20mb/s
sequential io.  assuming that the uncompressed archive is 3x larger,
you're getting about 1mb/s writes even with the slow decompression.

it looks like that archive is pulled over the network.  since you have
a 3c905, that would be at a maximum of about 10mb/s.  if you're
linked at 10mb/s, the limit is about 1mb/s.

i'd recommend checking the drive's speed with dd.
	time dd -if /dev/sdC0/data -of /dev/null -count 5000 -bs 64k

i don't recall if the 3c905 will tell you its link speed.  you can
try /dev/kmesg or /net/ether0/ifstats under mbps.  the latter may be
the maximum mbps the card is capable of, due to the fact mbps is
used to size queues.

i like the suggestion to time pulling down the archive and sending it
to /dev/null.  since you have enough memory.  you could seperately
time extracting it to ramfs.

> Moreover, it is strange that Plan9 running under QEMU on 2.4Ghz/Core2
> Duo/2Gb RAM/250GiB SATA/IDE HDD machine out performs a natively
> installed one.

what is slower, exactly?

- erik



      parent reply	other threads:[~2009-04-09 11:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-09  9:13 Balwinder S Dheeman
2009-04-09 11:44 ` maht
2009-04-09 11:53 ` erik quanstrom [this message]

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=92e8edf26599c26371e550871320c827@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).