public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* FW: [OT] Cf Card vs DiskOnChip
@ 2002-01-28 18:36 Alex Lennon
  2002-01-29 19:57 ` FW: [OT] Cf Card vs DiskOnChip -->CF wear levelling Charles Manning
  0 siblings, 1 reply; 3+ messages in thread
From: Alex Lennon @ 2002-01-28 18:36 UTC (permalink / raw)
  To: manningc2; +Cc: MTD for Linux

Hi Charles,

>>move stuff around and level out the wearing.  Some devices do not apply
wear
>>levelling (eg. Compact Flash and SmartMedia). Some do (eg. full-size
PCMCIA
>>cards, DOC, JFFS).

The lack of wear-levelling on CF comes as a surprise - could you comment on
whether the various manufacturers, such as Sandisk are making this
assertion?

The closest we have seen is in the CF Sandisk spec. where they state they
support wear levelling - but that this '.. is an intrinsic part of the Erase
Pooling functionality of NAND memory...', '...if necessary, CF cards will
rewrite data from a defective sector to a good sector...'.

With this type of statement it certainly doesn't appear that our flash
lifetime calculations for a 'true' wear-levelling implementation would
hold for CF.

Best,

-Alex


_____________________________________________________________________
The message in this transmission is sent in confidence for the attention of the addressee only and should not be disclosed to any other party. Unauthorised recipients are requested to preserve this confidentiality. Please advise the sender if the addressee is not resident at the receiving end.

This message has been checked for all viruses by MessageLabs Virus Control Centre. 

Company registered in England No. 1608562.
Registered Office: Unit 8, Clifton Road, Cambridge, CB1 7EA, United Kingdom, Tel: 01223 411200.

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

* Re: FW: [OT] Cf Card vs DiskOnChip -->CF wear levelling
  2002-01-28 18:36 FW: [OT] Cf Card vs DiskOnChip Alex Lennon
@ 2002-01-29 19:57 ` Charles Manning
  2002-02-20 11:46   ` Alex Lennon
  0 siblings, 1 reply; 3+ messages in thread
From: Charles Manning @ 2002-01-29 19:57 UTC (permalink / raw)
  To: Alex Lennon; +Cc: MTD for Linux

I did read this some time back, I believe on the Sandisk www before it got 
restructured (Hey, that happy looking face on their home page sure looks like 
she's getting wear levelling).

I can no longer find the Sandisk reference, so I can't really support the 
assertion any more. If I recall correctly, they did wear levelling on the 
full-size cards but not on CF. They use (or did use) different controllers in 
these cards. Here is something I found on google 
http://www.technoir.nu/hplx/hplx-l/0006/msg00714.html

I guess it also comes down to your interpretation of wear levelling.  
SmartMedia, for instance, does not store a count of the number of times a 
block was programmed and does not do explicite wear levelling. However the 
block allocation strategy will tend to provide some sort of wear levelling 
(consistent with the intrinsic pool management blaah you mention below). I 
hunch therefore that CF uses the same strategy. 

OK so how does this translate into system reliability? Well my take on this 
is as follows:
* So what? NAND is expected to fail and NAND block drivers/file systems 
handle block failure. So if you wear out a block, it just gets mapped out. 
THis, combined with the intrinsic blaah, is probably good enough.
* CF is far more likely to be corrupted by removing half-way through a write 
or being de-powered while a write is active. 

I must also apologize for saying that a FlashDrive is a wrapped up CF card. I 
actually believe it is architectually similar to a full-size PCMCIA ATA card. 
They look the same to the PCMCIA/IDE bus, but the full-size card provides 
more space to use a better controller. This makes them more reliable.



-- CHarles



On Tue, 29 Jan 2002 07:36, Alex Lennon wrote:
> Hi Charles,
>
> >>move stuff around and level out the wearing.  Some devices do not apply
>
> wear
>
> >>levelling (eg. Compact Flash and SmartMedia). Some do (eg. full-size
>
> PCMCIA
>
> >>cards, DOC, JFFS).
>
> The lack of wear-levelling on CF comes as a surprise - could you comment on
> whether the various manufacturers, such as Sandisk are making this
> assertion?
>
> The closest we have seen is in the CF Sandisk spec. where they state they
> support wear levelling - but that this '.. is an intrinsic part of the
> Erase Pooling functionality of NAND memory...', '...if necessary, CF cards
> will rewrite data from a defective sector to a good sector...'.
>
> With this type of statement it certainly doesn't appear that our flash
> lifetime calculations for a 'true' wear-levelling implementation would
> hold for CF.
>
> Best,
>
> -Alex

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

* RE: FW: [OT] Cf Card vs DiskOnChip -->CF wear levelling
  2002-01-29 19:57 ` FW: [OT] Cf Card vs DiskOnChip -->CF wear levelling Charles Manning
@ 2002-02-20 11:46   ` Alex Lennon
  0 siblings, 0 replies; 3+ messages in thread
From: Alex Lennon @ 2002-02-20 11:46 UTC (permalink / raw)
  To: manningc2
  Cc: Tony Questad, Mark Cullen, Paul Hogan, Arlen Nipper,
	Glen Middleton, MTD for Linux

[-- Attachment #1: Type: text/plain, Size: 662 bytes --]

Hi Charles,

>>I can no longer find the Sandisk reference, so I can't really support
the
>>assertion any more. If I recall correctly, they did wear levelling on
the
>>full-size cards but not on CF. They use (or did use) different
controllers in

The SanDisk folks came back with a white-paper on wear levelling, as
relating
to life-expectancy in CF.

I've put it here, http://www.embeddedsoftware.co.uk/wearlevelling.doc,
for interest sake.

Most interestingly the text (pp2 'Analysis of host dependence') seems  to
be
saying that static data is _not_ wear levelled, which will certainly
impact
our choice of CF sizes for embedded NT and the like.

Best,

-Alex

[-- Attachment #2: smime.p7s --]
[-- Type: application/x-pkcs7-signature, Size: 2218 bytes --]

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

end of thread, other threads:[~2002-02-20 11:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-01-28 18:36 FW: [OT] Cf Card vs DiskOnChip Alex Lennon
2002-01-29 19:57 ` FW: [OT] Cf Card vs DiskOnChip -->CF wear levelling Charles Manning
2002-02-20 11:46   ` Alex Lennon

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