2
1
I'm using Ubuntu, a Linux distro.
I read some years ago about the possibility to increase the RAM by using a pen-drive USB as additional memory RAM.
I already googled that but I found only articles talking about using pen-drive as additional swap.
There is a way to do this? The pen-drive as swap is the same as additional RAM?
Thanks a lot
5The swap file is technically acts like RAM... but the speed on USB will be atrociously slow. Are you sure you wanted to do this? – Darius – 2018-03-19T11:38:20.700
sure, I bought a 16 GB USB only to do that. My need is to speed up my notebook for at least some months – user2342558 – 2018-03-19T11:41:21.443
2Why not use a swapfile on the hard drive? It will be much faster than a USB key. – Ignacio Vazquez-Abrams – 2018-03-19T11:47:35.950
Linux doesn't have a hybrid solution like Windows readyboost AFAIK. Note that it's just storing some pages in an external memory, the RAM amount is not increased in any cases – phuclv – 2018-03-19T11:54:45.057
@IgnacioVazquez-Abrams, I thought that using the hard drive it may be compromised or damaged at the long period. So I thought to use a USB because if it'll be broken, I'll lose few money. – user2342558 – 2018-03-19T11:54:50.923
2Even the worst SSD has a lifetime much longer than most USB keys. – Ignacio Vazquez-Abrams – 2018-03-19T11:55:53.587
@IgnacioVazquez-Abrams the USB drive will have much better access time, that's why Windows stores small items that need to be accessed frequently on flash, the remainings will still be on HDD – phuclv – 2018-03-19T11:56:01.893
1@LưuVĩnhPhúc: Depends on how much you pay for it. If you spend "few money" then there's no way it will keep up with anything from the past 5 years. – Ignacio Vazquez-Abrams – 2018-03-19T11:57:36.083
The USB is 3.0 with 130 Mb/s of read or write speed. So, whit it can I increase the speed of my notebook in case of the RAM is entirely in use? The swap option on that USB may solve my problem? – user2342558 – 2018-03-20T10:07:55.223
The swap file does not "technically act like RAM". There is no memory address the CPU can assert that will directly, without intervention from the OS, read or write the contents of the swap file. Not if it's on a hard drive, nor an SSD, nor a USB key. – Jamie Hanrahan – 2018-03-21T17:23:14.107