From: Hans Reiser <reiser@namesys.com>
To: Gorazd Golob <gorazdg@noviforum.si>
Cc: reiserfs-list@namesys.com, Alexander Zarochentcev <zam@namesys.com>
Subject: Re: umount and sync delays
Date: Mon, 14 Mar 2005 11:49:01 -0800 [thread overview]
Message-ID: <4235EAAD.1070205@namesys.com> (raw)
In-Reply-To: <Pine.LNX.4.61.0503142008090.26303@dacun>
Gorazd Golob wrote:
> Hi!
>
>>>
>> Probably you just have a lot of dirty buffers in RAM and they need to
>> flush to disk?
>>
> Hmm.. I'll try explain .. Before I did sync or unmount, application,
> that previosly wrote to reiser4 partition was closed. In moment of
> running sync or umount OS had about 1.7gb of data in cache memory.
> Sync was finished in about 45 minutes after. I'm not sure why does it
> take so long on u320s scsi. The problem can be in files which are
> written to this partition - a lot (>1M) of really small files. . Do we
> have to use some mount arguments?
I have no idea, and so I must guess. I guess that if you try the same
application on a different computer it will work reasonably fast and
that the problem is hardware doing extensive retries.
Or, you are doing completely random IO with tiny little bits of dirty
data in a large file, and so each 4k is a seek. I doubt this, but in
theory....
Or you have something else on that machine dirtying lots of memory after
the application closes, and perhaps there is a flaw in our method for
forcing atoms to disk after they get old that we should look into.
Finally, it could be none of the above and something is wrong in our
sync algorithms, and somebody should log onto your machine and look at it.
Probably all guesses are wrong, but I have to ask them as a start.
Zam can probably login and look at things for you. Zam, this guy is a
friend of mine, could you do that?
> It's not really practical if server goes out of power and ups will
> last only 5 minutes - not enought time to safe shutdown of system..
>
> Thanks, Gorazd
>
>
next prev parent reply other threads:[~2005-03-14 19:49 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-14 12:45 umount and sync delays Gorazd Golob
2005-03-14 17:41 ` Hans Reiser
2005-03-14 19:30 ` Gorazd Golob
2005-03-14 19:49 ` Hans Reiser [this message]
2005-03-14 19:59 ` Gorazd Golob
2005-03-15 9:55 ` Alex Zarochentsev
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=4235EAAD.1070205@namesys.com \
--to=reiser@namesys.com \
--cc=gorazdg@noviforum.si \
--cc=reiserfs-list@namesys.com \
--cc=zam@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.