* Testing JFFS2 using mtdram
@ 2005-08-22 7:43 Bernhard Priewasser
2005-08-22 8:47 ` Ferenc Havasi
0 siblings, 1 reply; 6+ messages in thread
From: Bernhard Priewasser @ 2005-08-22 7:43 UTC (permalink / raw)
To: linux-mtd
Good morning,
I'm going to run some performance and stability testing on JFFS2. Using
mtdram makes basic testing issues very comfortable. My question is how
far mtdram can substitute a "real" flash (not for absolute measurement
of course, only comparisons)?
Am I right with my first approach:
read operations - yes
write operations - no?
Regards,
Bernhard Priewasser
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Testing JFFS2 using mtdram
2005-08-22 7:43 Testing JFFS2 using mtdram Bernhard Priewasser
@ 2005-08-22 8:47 ` Ferenc Havasi
2005-08-22 8:58 ` Artem B. Bityuckiy
0 siblings, 1 reply; 6+ messages in thread
From: Ferenc Havasi @ 2005-08-22 8:47 UTC (permalink / raw)
To: Bernhard Priewasser; +Cc: linux-mtd
Hello Bernhard,
> I'm going to run some performance and stability testing on JFFS2.
> Using mtdram makes basic testing issues very comfortable. My question
> is how far mtdram can substitute a "real" flash (not for absolute
> measurement of course, only comparisons)?
> Am I right with my first approach:
> read operations - yes
> write operations - no?
mtdram emulates NOR flash (both read and write operations), but does not
emulate delays. You can test stability with it, but for performance I
suggest Artem's nand simulator. It's included in the official MTD. It
can emulate delays and ceratinly you can test the NAND functionalities
of JFFS2, too.
Ferenc
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Testing JFFS2 using mtdram
2005-08-22 8:47 ` Ferenc Havasi
@ 2005-08-22 8:58 ` Artem B. Bityuckiy
2005-08-22 9:44 ` Jörn Engel
0 siblings, 1 reply; 6+ messages in thread
From: Artem B. Bityuckiy @ 2005-08-22 8:58 UTC (permalink / raw)
To: Ferenc Havasi; +Cc: Bernhard Priewasser, linux-mtd
Ferenc Havasi wrote:
> mtdram emulates NOR flash (both read and write operations), but does not
> emulate delays. You can test stability with it, but for performance I
> suggest Artem's nand simulator. It's included in the official MTD. It
> can emulate delays and ceratinly you can test the NAND functionalities
> of JFFS2, too.
Albeit you cannot emulate > 128 MB flashes (just because 128 MB is the
vmalloc()'s limit). This may be fixed, I just did not bother. And I
never used that delays, just added them to make nandsim look cooler
(kidding) :-)
--
Best Regards,
Artem B. Bityuckiy,
St.-Petersburg, Russia.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Testing JFFS2 using mtdram
2005-08-22 8:58 ` Artem B. Bityuckiy
@ 2005-08-22 9:44 ` Jörn Engel
2005-08-23 14:47 ` Bernhard Priewasser
0 siblings, 1 reply; 6+ messages in thread
From: Jörn Engel @ 2005-08-22 9:44 UTC (permalink / raw)
To: Artem B. Bityuckiy; +Cc: Bernhard Priewasser, linux-mtd
On Mon, 22 August 2005 12:58:25 +0400, Artem B. Bityuckiy wrote:
>
> Albeit you cannot emulate > 128 MB flashes (just because 128 MB is the
> vmalloc()'s limit). This may be fixed, I just did not bother.
I did that for ramtd. Allocate an array of pointers and then lazily
allocate memory for those pointers. Moves the limit to 128G on i386.
For even bigger flashes, a 2-3 level tree would work, but I rarely
need more than a gig.
Jörn
--
Invincibility is in oneself, vulnerability is in the opponent.
-- Sun Tzu
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Testing JFFS2 using mtdram
2005-08-22 9:44 ` Jörn Engel
@ 2005-08-23 14:47 ` Bernhard Priewasser
2005-08-23 14:57 ` Jörn Engel
0 siblings, 1 reply; 6+ messages in thread
From: Bernhard Priewasser @ 2005-08-23 14:47 UTC (permalink / raw)
To: Jörn Engel; +Cc: Artem B. Bityuckiy, linux-mtd
> I did that for ramtd. Allocate an array of pointers and then lazily
> allocate memory for those pointers.
Did anyone do something similar for mtdram too?
I tried it quick & dirty, but didn't work :-) If there's a solution for
mtdram I would be grateful, otherwise I had to try further.
mtdram's/vmalloc()'s total size limit indeed is rather low for extensive
testing.
Regards,
Bernhard
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Testing JFFS2 using mtdram
2005-08-23 14:47 ` Bernhard Priewasser
@ 2005-08-23 14:57 ` Jörn Engel
0 siblings, 0 replies; 6+ messages in thread
From: Jörn Engel @ 2005-08-23 14:57 UTC (permalink / raw)
To: Bernhard Priewasser; +Cc: Artem B. Bityuckiy, linux-mtd
On Tue, 23 August 2005 16:47:34 +0200, Bernhard Priewasser wrote:
>
> > I did that for ramtd. Allocate an array of pointers and then lazily
> > allocate memory for those pointers.
>
> Did anyone do something similar for mtdram too?
> I tried it quick & dirty, but didn't work :-) If there's a solution for
> mtdram I would be grateful, otherwise I had to try further.
> mtdram's/vmalloc()'s total size limit indeed is rather low for extensive
> testing.
Ramtd was supposed to replace mtdram. There were the usual problems
with parameter parsing, and writing a new one was easier than fixing
the old.
Jörn
--
He who knows that enough is enough will always have enough.
-- Lao Tsu
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2005-08-23 14:57 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-22 7:43 Testing JFFS2 using mtdram Bernhard Priewasser
2005-08-22 8:47 ` Ferenc Havasi
2005-08-22 8:58 ` Artem B. Bityuckiy
2005-08-22 9:44 ` Jörn Engel
2005-08-23 14:47 ` Bernhard Priewasser
2005-08-23 14:57 ` Jörn Engel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox