Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
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.

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 swapfileHere is an example to create an additional 512M swapfile:
mkfile 512M /swapfileAdd the swapfile to system swap space:
swap -a /swapfileAdd an /etc/vfstab entry to have the swapfile added after each reboot:
/swapfile - - swap - no -

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!

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.

oops - sorry I had a typo use = instead of " "
set ramdisk:rd_percent_physmem=xx
where xx is your percent.

![]() |
system shutting down
|
Solaris Install!
|

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