Score:1

Increasing usable RAM with an external harddrive

in flag

I am trying to run a simulation and need more RAM for a big array. I'm at about 24 GB and need about 100 GB.

I have an external hard drive with 2 TB of memory, so is there a way I can use this to increase my current RAM? I am not too good in Ubuntu and know how to do this with Windows, and am hoping someone can help (or at least tell me yes I can do this.). Thanks!

ar flag
Does this answer your question? [How to Increase Ubuntu's Virtual Memory and/or Swap for Matlab?](https://askubuntu.com/questions/799834/how-to-increase-ubuntus-virtual-memory-and-or-swap-for-matlab)
HuHa avatar
es flag
While you _can_ use an external drive for swap, that will be very slow.
paladin avatar
kr flag
If you can, use a SSD drive instead.
N0rbert avatar
zw flag
NVMe or Intel Optane should be good. External HDD will give you <250 Mb/s, you should know this before the start.
Score:0
ng flag

https://de.wikihow.com/Eine-SSD-als-RAM-verwenden So I think this is just a swap I do not know if it is possible to do that! You could use zram (a swap in the ram) or a regular swap but I never heard of that... An HDD as a swap So I would apprechiate it but

  1. It is very slow if SSD or not! It is like 10x and more slower! So quite not really usable
  2. Here is also one with SSD and nobody had the effort to find the correct solution so I just recommend to buy more ram or make a swap: https://superuser.com/questions/408352/using-ssd-as-linux-ram

I hope I help, Sorry I can't comment but I see this as a solution

EDIT: Found another one: It is posibble to Expand memory with SSD?

And important: I heard of small disks that can be connected to a module and operate as a RAM but if you are one like me with apple you can't change RAM or add

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.