[elektro] sd kártya

Zoltán Radó levlista at maxcore.hu
Sun Mar 22 23:18:32 CET 2015


Wear leveling csak írásnál van.

Z.

2015-03-14 11:45 keltezéssel, Acs Gabor írta:
> Ez annyiból lehet érdekes, hogy vajon a wear leveling akkor is
> rendezkedik a kártyán, ha nincs rá írás, csak olvasások?
> Konkrétan arra gondolok, hogy read only mountolod a kártyát, de a kártya
> hardvere mégis molyolgat rajta valamilyen megfontolásból.
>
> De ilyen alapon semmilyen SD kártyás oprendszer nem működhetne tartósan,
> hacsak nincs kommunikáció ami a shutdown-al együtt leállítja a wear
> levelinget is.
>
>
> Gábor
>
> 2015.03.12. 7:35 keltezéssel, Xorn írta:
>> The SD card spec has NO entry for wear leveling. That is completely
>> dependent on the SD manufacturer to handle that if they so choose. We
>> have seen that some likely do, while others very much do not (beware
>> the super cheap knock-off SD cards). SDXC may have changed that to
>> include wear leveling, but I am unsure of that. Unfortunately the only
>> way to really show that is to get your hands on the official spec. You
>> can find it online most likely, but the SD association really wants
>> you to pay for it. As a side note, taking a 2GB card and writing it
>> beginning to end over and over again averages about 10TB before the
>> card is dead and no longer is writable. Also, SD cards will not let
>> you know when data is bad, i.e. wont return an I/O error like a PC
>> harddrive will."
>>
>> Vagyis hogy specifikáció szerint nincs wear leveling, gyártófüggő. Az
>> is fontos, hogy a kártya soha nem fogja azt mondani, mint egy HDD,
>> hogy nem sikerült az írás. Biztosra csak akkor mehetsz, ha külön
>> visszaolvasod és ellenőrzöd.
>>
>> Azután meg ezt írják kimondottan a SanDisk SD kártyákról:
>>
>> "Quoting the SD card product manual: 1.9 Wear Leveling. Wear leveling
>> is an intrinsic part of the erase pooling functionality of the SD
>> Card, using NAND memory."
>>
>> Vagyis hogy a SanDisknek van.
>>
>> Azután írnak ilyet is:
>>
>> "Yes, SD/MMC cards have controllers that do wear leveling. If they
>> didn't, you could destroy one in a matter of minutes with the wrong
>> write patterns.
>>
>> That's actually a problem for some embedded projects. There's
>> absolutely no way (apparently) to know what sectors might be wear
>> leveled at any time, so a power cycle at the wrong time can destroy
>> data anywhere on the card, no matter where you THINK you're writing."
>>
>> Vagyis éppenhogy a beágyazott rendszereknél van gond, mert egy
>> rosszkor jött kikapcs után a wear leveling nem ott folytatja, ahol
>> kellene neki, és ha rossz helyre írja - szerinte - folytatólagosan az
>> adatot, hamar ki tudja nyírni a kártyát.
>>
>> Best regards,
>> Andy
>>
>> 2015-03-12 0:00 GMT+01:00 Pipi <lista at puzsar.hu>:
>>> Hali!
>>> szerintetek mennyi idő alatt amortizálódik le egy sdkártya ha kb 1 percenként írok rá nem nagy mennyiséget(5kbyte), vagyis soha nem lesz tele.
>>> Az sdkártyában is van okosság mint az ssd-ben, hogy nem mindig ugyanoda ír ((pl fat, directory)?
>>>
>>>
>>>
>>>
>>>
>>> --
>>> Pipi
>>> http://www.puzsar.hu
>>>
>>> -----------------------------------------
>>>             elektro[-flame|-etc]
>> -----------------------------------------
>>             elektro[-flame|-etc]
> -----------------------------------------
>            elektro[-flame|-etc]



More information about the Elektro mailing list