4 ms·
...the card is highly likely to reuse the same sectors over and over. One would have expected this to be an area of focus for RasPi developers? Surely some dri
by jessaustin 8y ago
...the card is highly likely to reuse the same sectors over and over.
One would have expected this to be an area of focus for RasPi developers? Surely some driver could be updated to avoid this?
- walrus01 8y agoThe Linux kernel in raspbian treats the SD card like a normal block device. I'm not aware of any special optimization for write wear leveling at the OS level, or on the board's sd card controller.
- fenwick67 8y agoSD card wear-levelling is usually supposed to be handled on the controller inside the SD card. SD cards aren't like having raw access to flash, you basically write over SPI and the controller in the SD card decides where to actually put it. This talk about SD cards is really great and explains some of this: https://youtu.be/r3GDPwIuRKI?t=197 https://youtu.be/r3GDPwIuRKI?t=197
- StavrosK 8y agoFantastic talk, thanks for the link!
- monocasa 8y agoNot without making the card unreadable in other systems. And even then I'd be surprised if you could game physical sector offsets by playing with the virtual offsets you have access to.