Unix administration - setting up a RAM disk

This is Interesting: Free IT Magazines  
Home > Archive > Unix administration > January 2004 > setting up a RAM disk





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author setting up a RAM disk
Matthew Polder

2004-01-23, 4:51 pm


Hi,

We have a Sun-Fire running SunOS 5.8. I'd like to set up a RAM disk, or
a file partition that resides in RAM. I want to put an application into
RAM along with its attendant data files, run it for a few cases, and see
what improvement there is by having it reside in memory. How does one
set up a RAM disk?

thanks,
matthew
Jaime Cardoso

2004-01-23, 4:51 pm

Matthew Polder wrote:
quote:

> Hi,
>
> We have a Sun-Fire running SunOS 5.8. I'd like to set up a RAM disk, or
> a file partition that resides in RAM. I want to put an application into
> RAM along with its attendant data files, run it for a few cases, and see
> what improvement there is by having it reside in memory. How does one
> set up a RAM disk?
>
> thanks,
> matthew



Hello

You need SUNWdrvs8 package
It is unsupported, made on the free time of someone from Sun. You can
download it from http://developer.sun.com
search for ramd

If you need a suported solution, check out imperialtech
http://www.imperialtech.com

they sell a very interesting solution of small boxes with RAM and with a
small batery and with a Disk Backend (it's ram, seen by solaris has a
disk and without data corruption in case of reboot) supported by Sun and
VOS (Veritas Oracle and Sun) So, you can even mirror the devices.

Hope this helps



CJT

2004-01-23, 4:51 pm



Matthew Polder wrote:
quote:

> Hi,
>
> We have a Sun-Fire running SunOS 5.8. I'd like to set up a RAM disk, or
> a file partition that resides in RAM. I want to put an application into
> RAM along with its attendant data files, run it for a few cases, and see
> what improvement there is by having it reside in memory. How does one
> set up a RAM disk?
>
> thanks,
> matthew



How is what you want to do different from just using /tmp ?


--
After being targeted with gigabytes of trash by the "SWEN" worm, I have
concluded we must conceal our e-mail address. Our true address is the
mirror image of what you see before the "@" symbol. It's a shame such
steps are necessary. ...Charlie
Jaime Cardoso

2004-01-23, 4:51 pm

CJT wrote:
quote:

>
>
> Matthew Polder wrote:
>
>
>
> How is what you want to do different from just using /tmp ?
>
>



I don't know what Mat wants to do but, I used this to implement a low
latency proxy server cache.

With iplanet Proxy server, you define the optimal cache size but, the
server can use up to 2 times the defined so, I wanted to get some
control of the Ram usage proxy cache was consuming.

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com