Version 3 (modified by rock, 17 years ago) (diff) |
---|
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 fast disk. We use tmpfs to accomplish.
2. Check our RAM size
$ top
2. Use RAM in Kerrighed
$ mount -t /dev/shm /home/ram -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
2. Check RAM status
$ df -h
$ mount | grep /home/ram
Attachments (3)
- krg_ram_top.png (21.9 KB) - added by rock 17 years ago.
- krg_ram_df.png (24.0 KB) - added by rock 17 years ago.
- krg_ram_mount.png (9.9 KB) - added by rock 17 years ago.
Download all attachments as: .zip