mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Pavel Machek <pavel@suse.cz>
To: Andrew Morton <akpm@zip.com.au>
Cc: kernel list <linux-kernel@vger.kernel.org>
Subject: Re: Sync over loop devices takes ages? [2.4.17]
Date: Thu, 28 Feb 2002 21:12:48 +0100	[thread overview]
Message-ID: <20020228201248.GA20466@atrey.karlin.mff.cuni.cz> (raw)
In-Reply-To: <20020228095955.GH774@elf.ucw.cz> <3C7E716E.9DC59B12@zip.com.au>
In-Reply-To: <3C7E716E.9DC59B12@zip.com.au>

Hi!

> > I have a script (attached). At one point it tries to do sync... That
> > sync take a long time, with disk mostly unused.
> 
> When doing (say) ext2-on-loop-on-ext2 you should always ensure
> that the blocksize for the topmost filesystem is the same as
> the one underneath.  So probably you wanted `mkfs.ext2 -b 4096'.
> 
> If you have a 1k blocksize filesystem loop-mounted on a 4k blocksize
> filesystem, every write of a 1k block requires a read of the underlying
> 4k block. Which is excrutiatingly slow.

Oh, but I *want* to do 1k filesystem test!

Performance seems okay in 2.4.19-pre?aa?.... And even 2.4.18 is
slightly faster. [BTW it is fully cached (100MB test on 256MB machine)
so 4k reads should not be such a big problem.]
								Pavel
-- 
Casualities in World Trade Center: ~3k dead inside the building,
cryptography in U.S.A. and free speech in Czech Republic.



      reply	other threads:[~2002-02-28 20:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-28  9:59 Pavel Machek
2002-02-28 11:52 ` Bjorn Wesen
2002-02-28 18:05 ` Andrew Morton
2002-02-28 20:12   ` Pavel Machek [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=20020228201248.GA20466@atrey.karlin.mff.cuni.cz \
    --to=pavel@suse.cz \
    --cc=akpm@zip.com.au \
    --cc=linux-kernel@vger.kernel.org \
    /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

all inboxes | Powered by JetHome®