How do I increase the size of my ramdisks?
This probably should be explained better in the text, but I’ll put an answer here for the time being. First, do not attempt to use the rdev or ramsize commands to do this, no matter what their documentation says. The ramdisk word no longer determines the size of ramdisks. Second, keep in mind that ramdisks are actually dynamic; when you set a ramdisk size you aren’t allocating any memory, you’re just setting the limit of how large it can grow. Don’t be afraid to set these fairly large (eg, 8 or even 16 meg). The RAM space is not actually consumed until you need it. You can set these limits in one of several ways. • Use the ramdisk_size=NNN command line parameter. You can either enter this manually or use a command like append=”ramdisk_size=NNN” with LILO. • If you’re using LILO, you can use a kernel option like ramdisk=8192K in the lilo.conf file. • Change the kernel configuration option CONFIG_BLK_DEV_RAM_SIZE and recompile your kernel.
Related Questions
- What option can be specified as an argument to the jdk to increase the thread heap size used by the JDK in the context of the webserver?
- I want to increase flow to my waterfall from 1,500 gph (gallon per hour) to almost 4,000 gph, what size pipe should I use?
- How do I increase the size of my ramdisks?