Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I increase the size of my ramdisks?

increase ramdisks size
0
Posted

How do I increase the size of my ramdisks?

0

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 is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123