From: Artem Bityutskiy <dedekind@infradead.org>
To: KeunO Park <lastnite@gmail.com>
Cc: linux-mtd <linux-mtd@lists.infradead.org>
Subject: Re: ubifs, ubiblk(formatted with vfat) and yaffs2 test.
Date: Fri, 30 May 2008 15:05:02 +0300 [thread overview]
Message-ID: <1212149102.31023.138.camel@sauron> (raw)
In-Reply-To: <1212148942.31023.135.camel@sauron>
On Fri, 2008-05-30 at 15:02 +0300, Artem Bityutskiy wrote:
> On Fri, 2008-05-30 at 16:15 +0900, KeunO Park wrote:
> > > Yes, yaffs, jffs2 are "special" class of file-systems and they were not
> > > designed to be what you call "mass storage class func". They should
> > > rather be used as root file system on "internal" flash, which is smaller
> > > than "mass memory", where you store your core libraries, etc.
> > >
> > >> yaffs2
> > >> write: 10.20s, 12.09s, 12.24s avg:11.51s (868KB/s)
> > >> load avg right after copy&sync: 0.03 -> 0.11
> > >>
> > >> ubifs (LZO)
> > >> write: 14.45s, 14.40s, 14.45s avg:14.43s (693KB/s)
> > >> load avg right after copy&sync: 0.03 -> 0.53
> > >>
> > >> ubifs (ZLIB)
> > >> write : 27.17s, 27.18s, 27.21s avg:27.18 (367KB/s)
> > >> load avg right after copy&sync: 0.03 -> 0.80
> > >>
> > >> ubifs (No Compression)
> > >> write: 6.69s, 10.90s, 10.98s avg:9.52s (1050KB/s)
> > >> load avg right after copy&sync: 0.03 -> 0.43
> > > We beat yaffs2? Sounds nice :-)
> >
> > according to the above result(and only with no compressor option :-), yes.
> > but, I think that load avg result is too much higher than yaffs2's.
>
> So what you do is you write a large file, this does not go to the flash
> but instead sits in the kernel buffers, in the page cache, then you call
> fsync() which causes _massive_ page-cache write-back (flushing) and
> consume a lot of CPU.
But I have to add that of course, YAFFS/JFFS2 are more light-weight
file-system, because they do not maintain the FS index on the flash
media. UBIFS does and this costs extra CPU cycles and extra I/O.
--
Best regards,
Artem Bityutskiy (Битюцкий Артём)
next prev parent reply other threads:[~2008-05-30 12:03 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-30 6:01 ubifs, ubiblk(formatted with vfat) and yaffs2 test KeunO Park
2008-05-30 6:33 ` Artem Bityutskiy
2008-05-30 7:15 ` KeunO Park
2008-05-30 11:34 ` Josh Boyer
2008-05-30 12:51 ` KeunO Park
2008-05-30 12:02 ` Artem Bityutskiy
2008-05-30 12:05 ` Artem Bityutskiy [this message]
2008-05-30 13:00 ` KeunO Park
2008-05-30 13:49 ` Artem Bityutskiy
2008-05-30 15:08 ` KeunO Park
2008-06-02 6:10 ` Artem Bityutskiy
2008-06-04 4:06 ` KeunO Park
2008-06-04 8:05 ` Artem Bityutskiy
2008-10-24 11:41 ` Artem Bityutskiy
[not found] <5ed5c4730805291914h187e0b0et2de31d595b52f125@mail.gmail.com>
2008-05-30 15:17 ` KeunO Park
-- strict thread matches above, loose matches on Subject: below --
2008-06-02 5:29 References:ubifs, " Nancy
2008-06-02 6:18 ` ubifs, " Artem Bityutskiy
2008-06-02 6:47 ` Nancy
[not found] <bae050c10806012138p6167f30eu9450563efa5429ab@mail.gmail.com>
2008-06-02 5:55 ` KeunO Park
2008-06-02 6:06 ` Nancy
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=1212149102.31023.138.camel@sauron \
--to=dedekind@infradead.org \
--cc=lastnite@gmail.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 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.