Как расширить оперативную память с помощью ssd, у меня 512 оперативной памяти на старом оборудовании, можно ли расширить оперативную память с помощью SSD? У меня убунту 18.04 !! Установка идет очень медленно, и у меня всего 30 м свободного времени, я пытаюсь использовать Zram, но я думаю, что это не то, что я ищу! Пожалуйста, помогите мне Спасибо
The basic issue is that your RAM is separate to your SSD. They are not the same thing. ZRAM is a RAM based memory block that pretends to be a hard drive. So instead of freeing up RAM, it actually consumes memory and uses it to store data just like a small hard drive or USB memory stick.
For example, if you have 512MB of RAM, and you set aside 64MB of that for ZRAM, then you will only have 448MB of system memory available, and a 64MB virtual RAM Drive.
Your only real option is creating a swap file/partition, and using that in combination with your current RAM. As pa4080 stated in the comments, it is not a great option, as even SSD's are much slower than RAM. More information about Swap can be found in the FAQ
A swap partition or file is space where the operating system can temporarily store data that it can no longer store in RAM, so any stale data can be paged out to swap space, while keeping fresh data in RAM. In theory this should allow you to complete the installation process, albeit at a slower rate than if using physical memory.
During the installation of Ubuntu, while creating the Partition table for your hard drive, you can add; adjust or remove your swap partition. More information can be found here.
The basic steps when you get to the partition stage of your install:
nb. You don't need to specify a filesystem for swap space like you would have to for your root partition
This will not make much of a difference on a machine with very low specs. 18.04 is quite a heavy distribution, and you may need something lighter such as Lubuntu to be able to make it usable.
If you choose to forge ahead with using a swap partition of swap file, then you may be able to tweak it a little bit after installation by adjusting the "swappiness" in /proc/sys/vm/swappiness
You can do this using the methods outlined here
I hope this helps, and good luck!