close
Warning:
Can't synchronize with repository "(default)" (Unsupported version control system "svn": /usr/lib/python2.7/dist-packages/libsvn/_fs.so: failed to map segment from shared object: Cannot allocate memory). Look in the Trac log for more information.
- Timestamp:
-
Mar 18, 2008, 3:55:35 PM (18 years ago)
- Author:
-
rock
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v3
|
v4
|
|
5 | 5 | 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. |
6 | 6 | |
| 7 | [[BR]] |
7 | 8 | == 2. Check our RAM size == |
8 | 9 | {{{ |
9 | 10 | $ top |
| 11 | Each node has 2G, we have 7 nodes. Total RAM size is 14G. |
10 | 12 | }}} |
11 | 13 | [[Image(krg_ram_top.png)]] |
12 | 14 | |
| 15 | [[BR]] |
13 | 16 | == 2. Use RAM in Kerrighed == |
14 | 17 | {{{ |
| 18 | We use 7g RAM to be disk. |
15 | 19 | $ mount -t /dev/shm /home/ram -o size=7g |
16 | 20 | $ dd if=/dev/zero of=/home/ram/tmp_3g.img bs=1m count=3000 |
… |
… |
|
18 | 22 | }}} |
19 | 23 | |
20 | | == 2. Check RAM status == |
| 24 | [[BR]] |
| 25 | == 3. Check RAM status == |
21 | 26 | {{{ |
22 | 27 | $ df -h |