===== RAM Disc =====
To create a ramdisk of size 2000MB on ww8-node1.
sudo /usr/net/local/mkramdisc
Create a dynamically growing ramdisc. Perhaps useful for Davids Simulation.
[[http://www.vanemery.com/Linux/Ramdisk/ramdisk.html]]
#!/bin/sh
sudo mke2fs /dev/ram0
sudo mount /dev/ram0 /media/ram0
sudo chown BENUTZERNAME /media/ram0
sudo chmod u+rwx /media/ram0
To fix the size of the ramdisc you have to add a parameter to the kernel boot line.
//''%%/etc/default/grub%%''//
$KERNELPARAMTER ramdisk_size=[how many kB]
The maximum size of one ramdisk is limited to 4 GB (32Bit??), you can have several ramdisks.
The default size of a ramdisk is 64 MB.
For example to create a ramdisk of 2GB size:
ramdisk_size=2000000
To see the possible maximum size of the ramdisc as defined in the ramdisk-size parameter you can take a look in the kernel messages.
dmesg | grep RAMDISK