From: Laurent Riffard <laurent.riffard@free.fr>
To: "Philippe Gramoullé" <philippe@gramoulle.com>, reiserfs-list@namesys.com
Subject: Re: 2.6.16-rc6-mm2: slow writes on reiser4.
Date: Wed, 29 Mar 2006 08:16:55 +0200 [thread overview]
Message-ID: <442A2657.1090408@free.fr> (raw)
In-Reply-To: <20060328224945.0A258134@philou.gramoulle.local>
Le 29.03.2006 00:49, Philippe Gramoullé a écrit :
> Hello Laurent,
>
> On Tue, 28 Mar 2006 22:19:01 +0200
> Laurent Riffard <laurent.riffard@free.fr> wrote:
>
> | These FS are quite similars. Now guess what ? I filled these FS with
> | dd.
> |
> | Original FS
> | ===========
> | # sync
> | # time dd if=/dev/zero of=toto bs=1M count=150
> | 103+0 enregistrements lus.
> | 102+0 enregistrements écrits.
> | Command exited with non-zero status 1
>
> Well, at least on my system , such a command exits with a 0 status
Oops ! I trimmed a line when I cut'n'paste. dd exits with the
message "Aucun espace disponible sur le périphérique" which means
"No space left on device".
> Also, not a single of your posts in this thread has this error except this one
> and the one below
Yes I somewhat changed my test. On the previous test, I dd'd 100M to
the FS.
As the original FS and its copy have different free space, writing
100M on each FS results in 3M free versus 30M free. I did this test
and I it takes about 2'20" versus 15". But I feared that one objects
"It's because you have less free space on the first FS".
So I found more conclusive to write 150M and thus to fill up the 2 FS.
> | 0.00user 2.94system 3:32.18elapsed 1%CPU (0avgtext+0avgdata
> | 0maxresident)k
> | # time sync
> | 0inputs+0outputs (0major+279minor)pagefaults 0swaps
> | 0.00user 0.01system 0:00.18elapsed 6%CPU (0avgtext+0avgdata
> | 0maxresident)k
> | 0inputs+0outputs (0major+191minor)pagefaults 0swaps
> |
> | Copy FS
> | =======
> | # sync
> | # time dd if=/dev/zero of=toto bs=1M count=150
> | dd: écriture de `toto': Aucun espace disponible sur le périphérique
> | 132+0 enregistrements lus.
> | 131+0 enregistrements écrits.
> | Command exited with non-zero status 1
>
> Here, i can understand the "exited with non-zero status 1" as
> "Aucun espace disponible sur le périphérique" is french for
> "No space left on device"
yes, see above.
> | 0.00user 4.08system 0:15.95elapsed 25%CPU (0avgtext+0avgdata
> | 0maxresident)k
> | 0inputs+0outputs (1major+279minor)pagefaults 0swaps
> | # time sync
> | 0.00user 0.00system 0:00.17elapsed 0%CPU (0avgtext+0avgdata
> | 0maxresident)k
> | 0inputs+0outputs (0major+190minor)pagefaults 0swaps
> | disk$
> |
> | See ? 3'30" versus 16".
>
> Are the 16" due to the fact that the above command exited earlier than it should have ?
No, (see above), both FS were filled up to 0M free space.
> Thanks,
>
> Philippe
>
Thanks for your comments. I hope this made it clear.
To be fair, you can see there is some differences between the 2 FS :
- the copy is larger than the original one : 995998 bytes vs
1003520, which is 0.75% larger.
- the original FS resides on an extended partition (/dev/hda8) while
the copy is on a logical volume (/dev/vglinux1/test). This LV is
hosted on /dev/hda4.
I hope these differences do not have a high impact on the results.
I'll try to dd of=/dev/hda8 if=/dev/vglinux1/test, and see if it
makes some differences when I dd a 100M file on the FS.
~~
laurent
next prev parent reply other threads:[~2006-03-29 6:16 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-21 21:16 2.6.16-rc6-mm2: slow writes on reiser4 Laurent Riffard
2006-03-22 7:41 ` Hans Reiser
2006-03-22 18:51 ` Laurent Riffard
2006-03-22 19:04 ` Hans Reiser
2006-03-23 18:44 ` Jindrich Makovicka
2006-03-23 21:32 ` Nate Diller
2006-03-28 20:19 ` Laurent Riffard
2006-03-28 20:34 ` Hans Reiser
2006-03-28 20:56 ` Hans Reiser
2006-03-28 22:49 ` Philippe Gramoullé
2006-03-29 6:16 ` Laurent Riffard [this message]
2006-03-29 14:30 ` Philippe Gramoullé
2006-04-01 23:15 ` Pierre Etchemaïté
2006-03-22 17:48 ` Laurent Riffard
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=442A2657.1090408@free.fr \
--to=laurent.riffard@free.fr \
--cc=philippe@gramoulle.com \
--cc=reiserfs-list@namesys.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.