Thursday, May 2, 2024
 Popular · Latest · Hot · Upcoming
8
rated 0 times [  8] [ 0]  / answers: 1 / hits: 5426  / 2 Years ago, sun, september 18, 2022, 3:22:48

I had a smallish (4gb) SD card laying around and I was wondering if it's possible or advisable to use it as swap space. Ideally, I'd like to free up some hard drive space by removing the swap on it and solely using the SD card but if that's not possible/advisable I'd be just fine with having a little extra.


More From » swap

 Answers
5

All the stuff that can't or shouldn't stay in your RAM is written out to swap and read back in when needed. This means that the swap medium needs to be fast and resilient to lots of writes.



Your SD card fails on both counts. It is slower at reading/writing than a hard drive, and each of its constituent sectors can only be written to a limited number of times before they wear out and can no longer reliably store data.



If you really want to use it to free hard drive space and will be keeping it in your reader at all times, my recommendation would be to consider moving any media files you might have to the card. Media files are usually written once but read many times, and don't need the full transfer speed of a hard drive to play back smoothly in real-time. They are thus the perfect candidates to offload to an SD card.


[#37692] Monday, September 19, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
elecerna

Total Points: 140
Total Questions: 121
Total Answers: 107

Location: Northern Ireland
Member since Sun, Nov 21, 2021
3 Years ago
;