public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Sergei Sharonov <sergei.sharonov@halliburton.com>
To: linux-mtd@lists.infradead.org
Subject: Re: mounting jffs2
Date: Wed, 13 Apr 2005 14:22:15 +0000 (UTC)	[thread overview]
Message-ID: <loom.20050413T160136-559@post.gmane.org> (raw)
In-Reply-To: 1113400225.23175.9.camel@sauron.oktetlabs.ru

Hi,

> Believe me, if you'll write in 4K chunks, you'll effect much better
> JFFS2 performance. 

I will try that. My log data is comming in 1 kB chunks, so in order to do
4 kB at a time I will have to implement some sort of <power fail safe>
buffering.

> It isn't bug, it is a feature. To facilitate faster mount JFFS2 defers a
> lot of work to the GC thread and performs this work just after mount.
> You may read filesystem but can't write. Any writer will be blocked - in
> your case on 11m10.058s time interval.

Hmm.. ls is not a writer but it is blocked as well.
 
> > Mount and touch were run immediately one after another. I think it may be
> > related to the long umount time problem that I reported before.
> Measure the time of unmount just after mount. If if is also around
> 11m10.058s - this is a bug. Theoretically GC thread must forget its
> deferred work and quit immediately.

Doesn't seem to be the case. Continuing the previous test:

# time mount /mnt/flash/

real    1m33.527s
user    0m0.010s
sys     1m33.471s
# time touch /mnt/flash/junk

real    11m26.228s
user    0m0.010s
sys     0m0.000s
#
#   <------------- previous post ends here ----------
#
# time umount /mnt/flash/

real    0m0.255s
user    0m0.010s
sys     0m0.240s
# time mount /mnt/flash/

real    1m33.517s
user    0m0.010s
sys     1m33.431s
# time umount /mnt/flash/

real    11m25.534s
user    0m0.000s
sys     0m0.250s
#

  reply	other threads:[~2005-04-13 14:30 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-13 13:25 mounting jffs2 Sergei Sharonov
2005-04-13 13:50 ` Artem B. Bityuckiy
2005-04-13 14:22   ` Sergei Sharonov [this message]
2005-04-13 15:02     ` Artem B. Bityuckiy
2005-04-13 17:51       ` Sergei Sharonov
2005-04-14  8:41         ` Artem B. Bityuckiy
2005-04-14 12:39           ` Sergei Sharonov
2005-04-14 13:11             ` Artem B. Bityuckiy
2005-04-14 14:15               ` Sergei Sharonov
2005-04-14 15:18                 ` Artem B. Bityuckiy
2005-04-13 15:18     ` Artem B. Bityuckiy
2005-04-14 20:39   ` Sergei Sharonov
2005-04-14  9:01 ` Ferenc Havasi
2005-04-14  9:15   ` Artem B. Bityuckiy
2005-04-20 14:59     ` Sergei Sharonov
2005-04-20 15:20       ` Artem B. Bityuckiy
2005-04-20 16:34         ` Sergei Sharonov
2005-04-21  7:48       ` Artem B. Bityuckiy
2005-04-21 14:30       ` Ferenc Havasi
2005-04-21 15:31         ` Artem B. Bityuckiy
2005-04-26 13:35           ` Zoltan Sogor
2005-04-26 13:51             ` Artem B. Bityuckiy
2005-04-27  9:39               ` Zoltan Sogor
2005-04-21 15:34         ` Sergei Sharonov

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=loom.20050413T160136-559@post.gmane.org \
    --to=sergei.sharonov@halliburton.com \
    --cc=linux-mtd@lists.infradead.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