pabs3 | swap on an SD card sounds like a bad idea :) | 02:34 |
---|---|---|
Maxdamantus | That's what I did, because if I'm going to potentially wear down some flash memory, I'd rather wear down flash memory that can be replaced. | 02:36 |
Maxdamantus | I think I've only had one card go read-only. | 02:37 |
Maxdamantus | I might have had some other cards fail in some other way, can't remember. | 02:37 |
pabs3 | seems reasonable I guess. is there enough RAM and CPU cycles to use zram (compressed RAM) as swap instead? | 02:42 |
pabs3 | if so, that should reduce the amount of writes to the SD card swap | 02:43 |
Maxdamantus | I imagine it would depend what your priorities are. | 02:45 |
Maxdamantus | Presumably adding compression will mostly use more battery. | 02:46 |
Maxdamantus | You want to avoid thrashing swap in any case. | 02:46 |
joerg | pabs3: we had a ... 230MB of RAM iirc | 03:00 |
pabs3 | I guess that is not enough :( | 03:08 |
joerg | well, it's plenty for IRC clients, for MP3 player, even for playback of video DVDs right from a USB connected optical drive, for chess and angry birds and... Microb browser... until you run into a "web2.0" webpage | 03:11 |
joerg | or into a fsck.fat of a few GB of SDcard storage ;-) | 03:15 |
joerg | the latter reportedly might take literally days to finish | 03:15 |
joerg | iirc there's even a package "reswap" | 03:19 |
sicelo | i think freemangordon did some benchmarks and found zram wasn't so helpful for N900 indeed | 03:54 |
joerg | :-) | 06:03 |
sixwheeledbeast | yep swap on uSD was to reduce wear on the device I also recall the zram tests. | 09:27 |
sixwheeledbeast | I have realised this was a cheap card that came with something and it's done 5ish years. i thought it was my sandisk althou that will be older come to think of it. | 09:30 |
sixwheeledbeast | It was also pretty full by the look of it. i thought it was the 64 sandisk when it was a 16. | 09:31 |
KotCzarny | if the card was mostly used by non-updating data, then effectively it was acting like available-GB max card | 09:32 |
KotCzarny | if ie. on 16gb if 12gb was pics/movies, and you were using swap on it, it was acting like 4gb card | 09:32 |
KotCzarny | or worse, if wear levelling algo was braindead | 09:33 |
sixwheeledbeast | yep | 09:33 |
Maxdamantus | Is that necessarily true? Presumably cards could work around that by moving the old data to the worn cells. | 15:00 |
Maxdamantus | Maybe they don't do that for power/reliability reasons, dunno, but I highly suspect that modern SSDs will at least do that. | 15:01 |
Maxdamantus | I would imagine SD cards would do that as well, which would presumably explain why SD cards have such varying write speeds (because as you write to them, they might decide to move old data to worn cells, to reuse the relatively fresh cells—adding extra read/write operations within the FTL) | 15:05 |
KotCzarny | see the 'braindamaged wear levelling' | 15:05 |
KotCzarny | cheap cards have dumb firmware | 15:06 |
Maxdamantus | Right, but wouldn't it only behave like a 4 GB card in the case of "braindead wear levelling"? | 15:06 |
KotCzarny | who knows what is really on the card | 15:07 |
Maxdamantus | It's still obviously better to have more space free, since it means you don't have as much data to shuffle around, but 4 GB would really be the worst case. | 15:07 |
* Maxdamantus has only bought Samsung/Sandisk cards anyway, except one time. | 15:08 | |
KotCzarny | for me samsung evo+ 128gb failed way too early, not going to buy again | 15:09 |
* Maxdamantus wonders if removable MTD drives will ever become a thing. | 15:11 |
Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!