9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] wrarenas
@ 2009-04-24 17:49 Steve Simon
  2009-04-24 17:54 ` erik quanstrom
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Steve Simon @ 2009-04-24 17:49 UTC (permalink / raw)
  To: 9fans

Is wrarenas (write venti arenas back to disk) really really
slow or have I a hardware problem.

reading 10 arenas took 30secs or so, writing them into
a new venti (even with a bloom filter and DMA turned on)
took about 36 hours.

is this expected?

-Steve



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [9fans] wrarenas
  2009-04-24 17:49 [9fans] wrarenas Steve Simon
@ 2009-04-24 17:54 ` erik quanstrom
  2009-04-24 17:56 ` erik quanstrom
  2009-04-28 22:45 ` Russ Cox
  2 siblings, 0 replies; 4+ messages in thread
From: erik quanstrom @ 2009-04-24 17:54 UTC (permalink / raw)
  To: 9fans

On Fri Apr 24 13:51:18 EDT 2009, steve@quintile.net wrote:
> Is wrarenas (write venti arenas back to disk) really really
> slow or have I a hardware problem.
>
> reading 10 arenas took 30secs or so, writing them into
> a new venti (even with a bloom filter and DMA turned on)
> took about 36 hours.
>
> is this expected?

sidestepping the question about venti, a modern disk
with modern hardware should give >40mb/s; that is
	dd -if /dev/sdXX/data -of /dev/null -bs 512k -count 1000
should take < 12.5s.

- erik



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [9fans] wrarenas
  2009-04-24 17:49 [9fans] wrarenas Steve Simon
  2009-04-24 17:54 ` erik quanstrom
@ 2009-04-24 17:56 ` erik quanstrom
  2009-04-28 22:45 ` Russ Cox
  2 siblings, 0 replies; 4+ messages in thread
From: erik quanstrom @ 2009-04-24 17:56 UTC (permalink / raw)
  To: 9fans

and, writing should take the same amount of
time as reading.  that is you can switch -if and -of
and you should get the same results.

it could be that you are seeking around all over
the place.  on modern hardware, if you are doing
significant seeks between each write, you can get down
below 1mb/s.

i addressed this problem in the diskless fileserver paper.

- erik



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [9fans] wrarenas
  2009-04-24 17:49 [9fans] wrarenas Steve Simon
  2009-04-24 17:54 ` erik quanstrom
  2009-04-24 17:56 ` erik quanstrom
@ 2009-04-28 22:45 ` Russ Cox
  2 siblings, 0 replies; 4+ messages in thread
From: Russ Cox @ 2009-04-28 22:45 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

rdarenas reads directly from disk.
wrarenas writes to venti, which means
all of the network and seek overhead.
36 hours is too long, but it definitely
isn't going to run at disk speeds.
it sounds like your bloom filter wasn't
doing anything useful.

russ


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-04-28 22:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-24 17:49 [9fans] wrarenas Steve Simon
2009-04-24 17:54 ` erik quanstrom
2009-04-24 17:56 ` erik quanstrom
2009-04-28 22:45 ` Russ Cox

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).