public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* [ubi][wl] the W/R performance of my wear-leveling unit
       [not found] <1215762163.2784.60.camel@localhost.localdomain>
@ 2008-07-11  7:42 ` xiaochuan-xu
  2008-07-11  7:50 ` Artem Bityutskiy
  1 sibling, 0 replies; 2+ messages in thread
From: xiaochuan-xu @ 2008-07-11  7:42 UTC (permalink / raw)
  To: linux-mtd

Hi,

I've compared the current WL unit algorithm with 
my new WL unit one on the W/R time.


modprobe nandsim + ubi + ubifs.
And then copy a file (9338201 Bytes) to 

##time for i in `seq 1 20`; do sudo dd if=~/tmp/file of=/mnt/ubifs/file
count=1024&> /dev/null; sync; done

in the first time. the time of currenty algorithm and mine is as
following:

current UBI gives:

real	0m3.145s
user	0m0.124s
sys	0m0.700s

mine:
real	0m2.539s
user	0m0.140s
sys	0m0.772s


some more experiment share:

-- 
yours Sincerely,

xiaochuan-xu (许小川)

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ubi][wl] the W/R performance of my wear-leveling unit
       [not found] <1215762163.2784.60.camel@localhost.localdomain>
  2008-07-11  7:42 ` [ubi][wl] the W/R performance of my wear-leveling unit xiaochuan-xu
@ 2008-07-11  7:50 ` Artem Bityutskiy
  1 sibling, 0 replies; 2+ messages in thread
From: Artem Bityutskiy @ 2008-07-11  7:50 UTC (permalink / raw)
  To: xiaochuan-xu; +Cc: linux-mtd


On Fri, 2008-07-11 at 15:42 +0800, xiaochuan-xu wrote:
> Hi,
> 
> I've compared the current WL unit algorithm with 
> my new WL unit one on the W/R time.
> 
> 
> modprobe nandsim + ubi + ubifs.
> And then copy a file (9338201 Bytes) to 
> 
> ##time for i in `seq 1 20`; do sudo dd if=~/tmp/file of=/mnt/ubifs/file
> count=1024&> /dev/null; sync; done
> 
> in the first time. the time of currenty algorithm and mine is as
> following:
> 
> current UBI gives:
> 
> real	0m3.145s
> user	0m0.124s
> sys	0m0.700s
> 
> mine:
> real	0m2.539s
> user	0m0.140s
> sys	0m0.772s

Looks promising. I'll look at this again but a bit later.

Could you please think how your patch may be split on several separate
independent patches? 

-- 
Best regards,
Artem Bityutskiy (Битюцкий Артём)

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-07-11  7:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1215762163.2784.60.camel@localhost.localdomain>
2008-07-11  7:42 ` [ubi][wl] the W/R performance of my wear-leveling unit xiaochuan-xu
2008-07-11  7:50 ` Artem Bityutskiy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox