[maemo-developers] [maemo-developers] Adding swapon/off to Jakub's Load-Plugin applet

From: Heike C. Zimmerer hcz at hczim.de
Date: Fri Feb 24 11:02:39 EET 2006
"David D. Hagood" <wowbagger at sktc.net> writes:

> Koen Kooi wrote:
>
>> Please tell me I'm reading this wrong: 'swap file on the internal
>> flash'. You do know that flash is broken after ~100k writes/cell, right?
>> And you know that will break your 770, right?
>> 
>
> I think you are living in the past. Modern flash chips have a write 
> endurance of greater than a million cycles.

You're sure?  Maybe I'm not up to date, but I remember figures in the
order of typically around 100,000 or even as low as 10,000, depending
of the kind of write cycle (like MLC) for today's standard devices.  A
pointer to the data of the device actually used by the 770 would be
much appreciated.

> Also, wear leveling means 
> that even if you repeatedly write to the same logical sector number a 
> million times, you will NOT have written to any one flash location over 
> a million times. Life cycle endurance is not a reason not to use 
> internal flash as swap.

Again, maybe I'm not up to date: isn't wear leveling only effective if
there's enough room left on your flash which gets freed from time to
time?  IOW, the more static data there is on a flash (like programs
and fixed data), the less is gained from any leveling algorithm?


- hcz

More information about the maemo-developers mailing list