From: "Joakim Tjernlund" <Joakim.Tjernlund@lumentis.se>
To: "Vipin Malik" <vipin.malik@daniel.com>
Cc: <mtd@infradead.org>, "Nicolas Pitre" <nico@cam.org>,
"David Woodhouse" <dwmw2@infradead.org>
Subject: Re: JFFS2 as root FS
Date: Thu, 19 Apr 2001 21:59:37 +0200 [thread overview]
Message-ID: <001b01c0c90b$47543ca0$8b96143e@jocke> (raw)
In-Reply-To: 3ADF15EF.DBCD9EA@daniel.com
Wow, that was an impressive analysis!
Regarding my HW, it is a PPC860T and it is running at 50MHz(48 to be exact
since the ext. clock is 8MHz
and the multiplier 6). The bus is supposed to run at the same speed, 48
MHz,(how do I check that?)
The Flash is on a 32 bit bus(4 in x8 mode), erase sector is 256KB.
hmm, mounting my fs should be quicker than 90 seconds.
Jocke
----- Original Message -----
From: "Vipin Malik" <vipin.malik@daniel.com>
To: <joakim.tjernlund@lumentis.se>
Cc: <mtd@infradead.org>; "Nicolas Pitre" <nico@cam.org>; "David Woodhouse"
<dwmw2@infradead.org>
Sent: den 19 april 2001 18:44
Subject: Re: JFFS2 as root FS
> > Now I am having some other problems :-(
> > First it takes about 1 min 30 sec to mount my root FS. Is that expected?
I
> > was hoping for a much shorter
> > mount time, 10-20 sec
> > The root partition is 15 MB and df reports:
> >
> > Filesystem 1k-blocks Used Available Use% Mounted on
> > /dev/mtdblock1 15104 6580 8524 44% /mnt/mtdblock1
>
> Just for reference, my AMD SC520 -100MHz (a 100MHz 486+) with a 8MB, 57%
full
> JFFS2 f/s takes ~19 seconds to mount.
> The flash is connected on a 32bit bus. Even if it takes 700us (for max
wait
> states on my system) per quad word read (32bits), the entire flash can be
> read in 1.46 seconds.
>
> Even if your flash is connected x8 wide, your flash read times should not
be
> more than 10-12seconds.
>
> Obviously, as my flash read time is only ~2 seconds of my 19s fs mount
time,
> the processor speed plays quite a significant role in the mount process.
>
> To test this theory, I upped the speed to 133MHz and then it took
~15seconds
> to mount.
> The increase in clock speed was 33%, the mount was (19-15)/15 = 26%
faster.
> However, if I remove the "constant" portion of the two mounts- the flash
read
> which is not any faster, then the increase in
> mount speed = ((19-1.46) - (15-1.46))/ (15 - 1.46) = 29.5% faster, almost
> linear with the increase with clock speed!
> (This also tells me that the code is executing primarily out of cache).
>
> If you say, that your system takes ~90seconds to mount. Let's say that
your
> flash read time is ~10 seconds (for 16MB), then if all else is
> ok, your processor should be ~80/17.5 = 4.5 times slower than mine. This
> assumes equal amount of processing. But your processor is doing about
> (6580/4636 = 140%) more
> processing than mine. Assuming linear overhead, then the new factor is
~57/18
> = 3.1X slower. (your flash usage is 6580 blocks, mine is 4636 blocks).
>
> Now you say that you are using a MPC869T. I did not find a 869T on the
web. I
> presume that you meant 860T. At what MHz?
>
> The 860T is claimed to have a performance of ~66 Dhrystone MIPS at 50MHz.
I
> downloaded Dhrystone 2.1 and that give me 51 mips at 100Mhz (and 67.7at
> 133MHz).
>
> However, my 486 has a 16KB combined cache and a 66MHz SDRAM bus. The FLASH
is
> not cached, so the entire cache can be used for the instruction execution.
> The 860T has only 4KB of instruction cache. Under some circumstances (when
> the code fits in the cache in my processor and not in yours), the SC520
will
> behave like a 100MHz machine while the PPC will be limited to the bus
clock
> speed. What is you bus clock speed (and your core clock speed).
>
> If your BUS clock is ~25-33 MHz, it's not unbelievable that your processor
> runs ~2-3X slower, specially if your processor core is running at <50MHz.
> Also remember that execution from cache is significantly faster than
> execution from EDO DRAM on the bus.
>
> Something to think about. Of course it could be something completely
> different, like a bug in David's code ;)
>
> Vipin
>
To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org
next prev parent reply other threads:[~2001-04-19 19:56 UTC|newest]
Thread overview: 38+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-04-17 16:42 A pair of stupid questions, I hope Ian S. Nelson
2001-04-17 22:11 ` David Woodhouse
2001-04-18 0:04 ` Ian S. Nelson
2001-04-18 8:02 ` David Woodhouse
2001-04-18 16:41 ` JFFS2 as root FS Joakim Tjernlund
2001-04-18 16:50 ` David Woodhouse
2001-04-18 17:00 ` Joakim Tjernlund
2001-04-18 17:05 ` David Woodhouse
2001-04-18 18:58 ` Joakim Tjernlund
2001-04-18 17:11 ` Vipin Malik
2001-04-18 19:24 ` Joakim Tjernlund
2001-04-18 20:19 ` Vipin Malik
2001-04-18 22:00 ` Joakim Tjernlund
2001-04-19 8:28 ` Florian Schirmer / TayTron
2001-04-19 10:26 ` Joakim Tjernlund
2001-04-19 13:02 ` Florian Schirmer / TayTron
2001-04-19 12:45 ` Joakim Tjernlund
2001-04-19 13:02 ` David Woodhouse
2001-04-19 14:55 ` Nicolas Pitre
2001-04-19 16:44 ` Vipin Malik
2001-04-19 19:59 ` Joakim Tjernlund [this message]
-- strict thread matches above, loose matches on Subject: below --
2001-04-18 20:33 Williams, Kevin M.
2001-04-19 13:44 mkfs.jffs2 again Joakim Tjernlund
2001-04-19 13:52 ` David Woodhouse
2001-04-19 20:06 ` JFFS2 as root FS Joakim Tjernlund
2001-04-20 16:26 ` David Woodhouse
2001-04-21 8:07 ` Joakim Tjernlund
2001-04-21 11:22 ` David Woodhouse
2001-04-21 20:22 ` Joakim Tjernlund
2001-04-23 1:52 ` David Schleef
2001-04-23 6:15 ` Joakim Tjernlund
2001-04-23 9:28 ` Joakim Tjernlund
2001-04-23 9:31 ` David Woodhouse
2001-04-23 11:00 ` David Schleef
2001-04-23 11:04 ` David Woodhouse
2001-04-24 1:56 ` David Schleef
2001-04-21 12:08 ` David Woodhouse
2001-04-21 20:14 ` Joakim Tjernlund
2001-04-21 22:18 ` David Woodhouse
[not found] <3AE43929.3695C91D@daniel.com>
2001-04-24 12:22 ` Joakim Tjernlund
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='001b01c0c90b$47543ca0$8b96143e@jocke' \
--to=joakim.tjernlund@lumentis.se \
--cc=dwmw2@infradead.org \
--cc=mtd@infradead.org \
--cc=nico@cam.org \
--cc=vipin.malik@daniel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox