Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
That is essentially what swap space is used for, but you aren't technically replacing RAM. Swap space is used when the system runs out of actual RAM; but it is much much slower than real RAM, it is used as a last ditch effort to keep the system from locking up or losing data. It is not acceptable for full time use.
Especially flash media, which would be even slower than on a standard HDD.
IF you had a SD card reader that did not go through usb it would not be as bad.
True, but you do not want to use flash memory as swap due to the limited number of write/erase cycles and also its write speed being slower then a physical hard drive.
IF you had a SD card reader that did not go through usb it would not be as bad.
Most internal SD readers are still on the USB bus, so the speed difference wouldn't be any different.
At any rate, the USB part of the equation is not what limits the speed of using SD, it is the fact that SD simply doesn't have very fast read or write compared to other storage technologies, certainly not enough to saturate a USB 2.0 reader.
I guess my assumption was that he was maxed out on the motherboard for ram, indicating older technology. That probably would mean USB 1.0 which maxes out at 1.5 MB/s. Many of the newer SD cards are 15 MB/s or faster. There are also a number of companies that sell SD to IDE adapters. The limitation seems to be in the SD cards themselves as opposed to Flash.
The rewrite issue has been mostly taken care of now by the controller on the chip. It spreads the writes across the drive rather than continually rewriting in the same spot.
The rewrite issue has been mostly taken care of now by the controller on the chip. It spreads the writes across the drive rather than continually rewriting in the same spot.
This is true if the card is being used for normal storage, but I wouldn't think it true if it was going to be used for swap, especially if there is limited real memory in the system.
Is it possible to turn memory from an sd card into ram?
My first question is what you would be using the SD for? As indicated a swap is for moving data/information in/out of system RAM.
There's nothing wrong with using a SD/Flash or other memory device for intermediate storage space. Heck, you can setup a ramdisk to speed exchanges between applications. That is done all the time, especially with servers.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.