User Tools

Site Tools


crypto:chia:cli:plot:plot_with_a_ramdisk

This is an old revision of the document!


Crypto - Chia - CLI - Plot - Plot with a ramdisk

NOTE: This requires at least 256GB of RAM available.


Create a Ramdisk

mkdir /mnt/ramdisk
mount -t tmpfs -o rw,size=240G tmpfs /mnt/ramdisk

NOTE: This mounts a ramdisk with 240GB under the path /mnt/ramdisk.

  • -t tmpfs:
    • tmpfs only uses memory when you it contains files.
    • When it is empty, it will take almost no space in RAM.

See: https://manpages.debian.org/buster/initscripts/tmpfs.5.en.html


Verify the Ramdisk

Verify that the RAMDISK has been created.

df -h

Mount the Ramdisk automatically on system boot

Edit /etc/fstab, and add the following line to the the end of the file.

/etc/fstab
tmpfs  /mnt/ramdisk  tmpfs  rw,size=240G  0   0

crypto/chia/cli/plot/plot_with_a_ramdisk.1624357740.txt.gz · Last modified: 2021/06/22 10:29 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki