
Some years ago, Windows Vista offered users who plugged in a USB flash drive the option of using the device as extra ram. I never actually tried this due to large amount of doubt about the functional ability of the claim. However I now have a number of Linux machines with DDR2 that I am unable to increase the physical memory of and wonder if this is a feasible option for these machines. Cheers John

Hi, A quick Google the initial references point to using the USB as addition swap space. I would think that the performance may be an issue. Probably have better preformance putting the swap on a second hard drive. On Wed, 15 Apr 2020, 4:12 PM john, <jaytee21(a)slingshot.co.nz> wrote:
Some years ago, Windows Vista offered users who plugged in a USB flash drive the option of using the device as extra ram. I never actually tried this due to large amount of doubt about the functional ability of the claim. However I now have a number of Linux machines with DDR2 that I am unable to increase the physical memory of and wonder if this is a feasible option for these machines.
Cheers John _______________________________________________ wlug mailing list -- wlug(a)list.waikato.ac.nz | To unsubscribe send an email to wlug-leave(a)list.waikato.ac.nz Unsubscribe: https://list.waikato.ac.nz/postorius/lists/wlug.list.waikato.ac.nz

Hi John I see you are managing to keep your brain active during lockdown. I understand it made a bit of a difference if you had a high spec USB flash drive - something a bit better than swapping to disk, but I never tried it. I have an HP Compaq dc7900 Small Form Factor Core2 Duo with with 4GB RAM and 1TB SATA hard drive currently dual-booting Sparky and Mint Debian. You could wipe the disk and install any distro(s) you want. Also has a rather worse for wear DVI monitor if you want that. You are welcome to it if you can work out a way of getting it from me to you. Stay well. Rod On Wed, 15 Apr 2020 at 16:12, john <jaytee21(a)slingshot.co.nz> wrote:
Some years ago, Windows Vista offered users who plugged in a USB flash drive the option of using the device as extra ram. I never actually tried this due to large amount of doubt about the functional ability of the claim. However I now have a number of Linux machines with DDR2 that I am unable to increase the physical memory of and wonder if this is a feasible option for these machines.
Cheers John _______________________________________________ wlug mailing list -- wlug(a)list.waikato.ac.nz | To unsubscribe send an email to wlug-leave(a)list.waikato.ac.nz Unsubscribe: https://list.waikato.ac.nz/postorius/lists/wlug.list.waikato.ac.nz

-----Original Message----- From: john <jaytee21(a)slingshot.co.nz> Sent: Wednesday, 15 April 2020 16:12 To: wlug(a)list.waikato.ac.nz Subject: [wlug] ddr2 ram
Some years ago, Windows Vista offered users who plugged in a USB flash drive the option of using the device as extra ram. I never actually tried this due to large amount of doubt about the functional ability of the claim. However I now have a number of Linux machines with DDR2 that I am unable to increase the physical memory of and wonder if this is a feasible option for these machines.
I don't recall it being able to use it as "physical ram", but I have seen a number of posts using a thumb drive as virtual memory (In windows). I see no reason you couldn't do the same in linux - format the usb as swap, mount and that would increase the virtual memory - not sure how much that would help. (I would assume that you need to use USB3 memory sticks, USB2 seemed to be plagued by flakey hardware when pushed) My google-fu is lacking on showing any way that you can use the USB stick as RAM - you *might* find a performance increase - I would think that investigating zRam might be useful as well. HTH

Hi John, I see that others have already responded to your query, however I throw my two cents onto the pile...
Some years ago, Windows Vista offered users who plugged in a USB flash drive the option of using the device as extra ram.
Sort of, see... https://www.howtogeek.com/123780/htg-explains-is-readyboost-worth-using/ ... back in the Windows Vista days USB drives may have had better performance than mechanical hard disk. As always a program would be loaded from a hard drive into RAM and then instructions would be read in from RAM and they would be executed by the CPU. The data files that program needed to use could be moved from the hard disk drive to a USB drive. Thus when the executing program called for data from a data file, then it was retrieved quicker from the USB drive. The only real way of increasing RAM is to plug more in if you have spare slots or pull out low capacity RAM and replace it with higher capacity RAM. Many DDR2 computers only have two RAM slots. While single 4GB DDR2 DIMM's were manufactured they are rare. So there is not much chance of getting 2 x 4GB DDR2's and having a 8GB computer and if its a 32 bit CPU then its only going to access the first 4GB of RAM. The best you are likely to find is 2GB DDR2 DIMM's which will give you a 4GB computer. Probably the best way to speed up an old computer with DDR2 RAM and with a Sata disk drive, is to replace the mechanical disk drive with a solid state drive. As well as the OS and applications, place a large swapfile on the solid state drive. When the use of the computer results in it running out of RAM and needing to swap, then swapping to a solid state drive is an almost tolerable amount of time to wait. Swapping to a mechanical drive is likely to be intolerable. Some developers find swapping so intolerable that they don't have a swap file and whenever they run out of RAM they prefer the system to crash and reboot so they can get back to work than to sit there watching massive amounts of disk i/o accessing the swap file while they can do nothing. As in, if they are writing a program and it has a memory leak that consumes all the RAM, then they want to get on with fixing the memory leak rather than watch a system performing swapping because of a memory leak. The rule-of-thumb that I would suggest you apply these days is that if a computer has less than 4GB of RAM and a mechanical disk drive then don't even bother turning it on. Get something better from a recycler and pick up a solid state drive from PB-Tech. You probably only need a 100GB solid state drive for your OS, applications and swap. If you have lots many gigabytes of photos or movies then put your /home partition on a large mechanical drive. cheers, Ian.

Thanks to all respondents.. On 15/04/20 4:12 pm, john wrote:
Some years ago, Windows Vista offered users who plugged in a USB flash drive the option of using the device as extra ram. I never actually tried this due to large amount of doubt about the functional ability of the claim. However I now have a number of Linux machines with DDR2 that I am unable to increase the physical memory of and wonder if this is a feasible option for these machines.
Cheers John _______________________________________________ wlug mailing list -- wlug(a)list.waikato.ac.nz | To unsubscribe send an email to wlug-leave(a)list.waikato.ac.nz Unsubscribe: https://list.waikato.ac.nz/postorius/lists/wlug.list.waikato.ac.nz

Thanks for the responses, It took me a while to action but the answer seems to have been to stick with the ddr2 memory and install a solid state drive. This been done I now only have a short wait to have a usable system. Cheers John..
_______________________________________________ wlug mailing list -- wlug(a)list.waikato.ac.nz | To unsubscribe send an email to wlug-leave(a)list.waikato.ac.nz Unsubscribe: https://list.waikato.ac.nz/postorius/lists/wlug.list.waikato.ac.nz
participants (5)
-
Gregory Machin
-
Ian Stewart
-
john
-
Roderick Aldridge
-
Warren Boyd