Computing.Net > Forums > Solaris > max ramdisk size

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

max ramdisk size

Reply to Message Icon

Name: u98f6s14
Date: December 23, 2004 at 07:29:04 Pacific
OS: Solaris 9
CPU/Ram: 32GB
Comment:

I am using Solaris 9 and have 32GB Physical Memory in my server. I would like to create a 16GB ramdisk. Since, by default, the percentage of available physical memory that can be allocated to ramdisks is fixed at 25%, I can't create a 16GB ramdisk. I have tried to add "set rd_percent_physmem=50" in /etc/system, but that doesn't work. Does anyone know how I can increase the percentage of available physical memory that can be allocated to the ramdisks? I would be very grateful if anyone could help me out. Thanks.




Sponsored Link
Ads by Google

Response Number 1
Name: joem33
Date: December 29, 2004 at 08:44:47 Pacific
Reply:

Just as a quick bit of information, Solaris 9 needs at least 128 MB for Minimum RAM. As far as ramdisk. Are you sure you are not looking just to increase your swap? you can do a mkfile as follows.

you can add swap space by using free space from another partition.

To create a swapfile:
mkfile size swapfile

Here is an example to create an additional 512M swapfile:
mkfile 512M /swapfile

Add the swapfile to system swap space:
swap -a /swapfile

Add an /etc/vfstab entry to have the swapfile added after each reboot:
/swapfile - - swap - no -



0

Response Number 2
Name: u98f6s14
Date: December 29, 2004 at 15:14:28 Pacific
Reply:

I will need to create a RAMDISK. Using the swap can't do what I need to do. But, anyway, I really appreciate your response. Thanks!


0

Response Number 3
Name: bw
Date: January 6, 2005 at 08:39:05 Pacific
Reply:

The solaris docs are incorrect, try using
the following command to set the percent:

set ramdisk:rd_percent_physmem xx

where xx is your percent.


0

Response Number 4
Name: bw
Date: January 7, 2005 at 08:55:13 Pacific
Reply:

oops - sorry I had a typo use = instead of " "

set ramdisk:rd_percent_physmem=xx

where xx is your percent.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


system shutting down Solaris Install!



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Solaris Forum Home


Sponsored links

Ads by Google


Results for: max ramdisk size

Why solaris only recognize 6G? www.computing.net/answers/solaris/why-solaris-only-recognize-6g/790.html

Fixed size directory www.computing.net/answers/solaris/fixed-size-directory/765.html

getting CPU speed, RAM size www.computing.net/answers/solaris/getting-cpu-speed-ram-size/664.html