Sample Header Ad - 728x90

Can Linux take advantage of removable ram?

1 vote
1 answer
135 views
Some RAM pci-e card were manufactured https://linustechtips.com/topic/1118940-wtf-is-this-thing-ram-on-a-pci-card/ Say I got a removable 16gb version of this card that is available 95% of time (eg: down for 1 period of 15 minutes in 4 hours). Could Linux take advantage of this extra 16gb of PCI-RAM in a host that already have 16gb (non upgradable) ? How much tweaking should be made to a typical installation? Of course it won't go offline abruptly, a signal will be sent to the host. The time and duration of interruption will be decided by user. Solution 1: As user expects the machine to be "paused" until the PCI-RAM is plugged again, I thought of going to hibernate mode. If the content of PCI-ram is preserved is it just a matter of going to hibernate mode, remove pci, replug pci, wake up ? Solution 2: Another solution would be to write all the content of ram to the local SSD before the PCI-RAM is removed. How could I achieve that ? Mount 2 swap partitions and give priority to the 16gb PCI swap ? And unmount/remount the swap when the pci is turned off/on ?
Asked by v1nce (111 rep)
Mar 30, 2021, 12:35 PM
Last activity: Mar 30, 2021, 02:40 PM