i've made a ramdisk this way:
mkdir -p /media/ramdisk
mount -t tmpfs -o size=512M tmpfs /media/ramdisk/
The reason for this is because i run a lot of node.js scripts and their execution time is very small, but i suspect that the time overhead is because it reloads the node.js executable from disk and destroys it on each subsecuent run.
So i think this might be the solution to gain a bit, if not
Hello,
I am trying to use hugetlb to make a faster ramdisk .. but ...
I do,
#mount -t hugetlbfs none /media/ramdisk -o size=256M,mode=0777
#df
none 262144 0 262144 0% /media/ramdisk
all seem ok ...
I found that the iso make by remastersys always use half of the memory size to be ramdisk.
But I am very sure that I don't need that much space but I do really need many memory.
Is there anyway to specify the ramdisk size for a liveCD(DVD/USB)?
P.S. I modify the isolinux/isolinux.cfg in the ISO and add ramdisk=1048576 to APPEND, but useless.
Since the update to 4.1.2 I have been on a ROM and kernel flashing binge and now seem to be getting some anomalies, especially in that I can't get bricked kernel to create zram with some ROMs. I am wondering if somehow I have got the old ramdisk installed or something?
Is there a way to check ramdisk version? A way to update the ramdisk?
Tia :)
Sent from my Nexus 7 using Tapatalk 2
Hi guys, I interested to know how much ramdisk size of each custom kernel. Anyone know that how much ramdisk size of each Xperia Arc/S ICS kernel like KTG and Advance stock ? and how much size of system partition ? I'm on .587
Thanks for advice
Sent from my LT15i using xda premium
howdy.
So I have a ramdisk. I did not create it so I don't exactly know what it is, but it's called a ramdisk, and it's used during boot time of an embedded linux system im working with. Now if I want to edit the contents of that ramdisk?
I have a ramdisk mounted by fstab, and it works pretty well. It also works pretty well with samba, sharing it to some windows PCs. When I start the PC, it doesn't require any intervention for things to be running smoothly.
The downside to a ramdisk, though, is the volatility. It's absolutely fine by me, but I'd like somewhat of a structure there.
Since the OP is asking for a ramdisk, that means the files are smaller than RAM, so it is also plausible to just pre-read them into cache by "cat file1 file2 > /dev/null" or if you have a whole dir... [by cschanzle]
It is often suggested to me that to improve the performance of the Eclipse development environment, that I should move the Java JDK/JVM (and possibly Eclipse) to a Ramdisk.
I know that the Ubuntu has this /dev/shm device always available, but whats the right way to set up a ram disk with Java on it that will be there everytime I boot up?