9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: andrey mirtchovski <mirtchov@cpsc.ucalgary.ca>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] venti/fmtarenas approximate duration?
Date: Tue, 24 Jun 2003 08:43:36 -0600	[thread overview]
Message-ID: <Pine.LNX.4.44.0306240841500.18127-100000@fbsd.cpsc.ucalgary.ca> (raw)
In-Reply-To: <37008ea12e2342f5883967e918beebf0@plan9.bell-labs.com>

On Tue, 24 Jun 2003, Sape Mullender wrote:

> echo dma on >/dev/sdCx/ctl
>
> will help a lot.
>
> Having said that, the initial snapshot of a 35 GB file system still took 40 hours
> (but everything -- fossil, arenas, index -- was on one disk (a temporary
> necessity to free up disk space elsewhere)).
>

following jmk's fix a fmtarenas on a 60gb arena took less than 30 minutes
(more like 15, don't have exact numbers). fmtisect on a 3.04Gb index
partition took about two minutes. this one i actually measured with iostats,
but the numbers are strange:


# iostats venti/fmtisect isect /dev/sdD0/isect
clearing the partition
configuring index section isect with space for index config bytes=65536

read      80863 bytes, 7.896778e+07 Kb/sec
write     3273810527 bytes, 3.197081e+12 Kb/sec
protocol  3287480890 bytes, 3.210431e+12 Kb/sec
rpc       399684 count

Message    Count   Low  High  Time Averg          in      out
version        1     0     0     0     0 ms       19       19 bytes
attach         1     0     0     0     0 ms       25       20 bytes
walk           9     0     0     0     0 ms      259      293 bytes
open           5     0     0     0     0 ms       60      120 bytes
read          21     0     0     0     0 ms      483    81094 bytes
write      399638     0     0     0     0 ms 3283002201  4396018 bytes
clunk          8     0     0     0     0 ms       88       56 bytes
stat           1     0     0     0     0 ms       11       81 bytes

Opens    Reads  (bytes)   Writes  (bytes) File
    1        0        0        2       95 (stderr)
    1        0        0   399636 3273810432 /dev/sdD0/isect
    1       21    80863        0        0 /bin/venti/fmtisect
#



      reply	other threads:[~2003-06-24 14:43 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-23 23:04 andrey mirtchovski
2003-06-23 23:14 ` Russ Cox
2003-06-24  1:10   ` andrey mirtchovski
2003-06-24  1:31     ` jmk
2003-06-24  1:42       ` andrey mirtchovski
2003-06-24  1:54         ` jmk
2003-06-24  2:25           ` andrey mirtchovski
2003-06-24  3:00     ` Russ Cox
2003-06-25  7:55       ` Fco.J.Ballesteros, nemo
2003-06-25  7:53         ` Lucio De Re
2003-06-25  8:07           ` Fco.J.Ballesteros, nemo
2003-06-25  8:04             ` Lucio De Re
2003-06-25  9:38               ` Fco.J.Ballesteros, nemo
2003-06-25 10:16                 ` Lucio De Re
2003-06-24 14:36 ` Sape Mullender
2003-06-24 14:43   ` andrey mirtchovski [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=Pine.LNX.4.44.0306240841500.18127-100000@fbsd.cpsc.ucalgary.ca \
    --to=mirtchov@cpsc.ucalgary.ca \
    --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).