[[PageOutline]] = Use RAM in Kerrighed (tmpfs) = == 1. Introduction == Because Kerrighed can merge all client RAM (like shared memory architecture). So we can use partial RAM to be a fast disk. In this article, we utilize tmpfs to accomplish it. [[BR]] == 2. Check our RAM size == {{{ $ top Each node has 2G, we have 7 nodes. Total RAM size is 14G. }}} [[Image(krg_ram_top.png)]] [[BR]] == 2. Use RAM in Kerrighed == {{{ We use 7g RAM to be a disk. $ mount tmpfs /home/ram -t tmpfs -o size=7g $ dd if=/dev/zero of=/home/ram/tmp_3g.img bs=1m count=3000 $ dd if=/dev/zero of=/home/ram/tmp_3g.img2 bs=1m count=3000 }}} [[BR]] == 3. Check RAM status == {{{ $ df -h }}} [[Image(krg_ram_df.png)]] {{{ $ mount | grep /home/ram }}} [[Image(krg_ram_mount.png)]] [[BR]] [[BR]]