Hello all! I have a quick question:
Is a ram disk possible in Solaric 2.5.1 ?
thanks!
Morgan Henning
Hello all! I have a quick question:
Is a ram disk possible in Solaric 2.5.1 ?
thanks!
Morgan Henning
> Hello all! I have a quick question:
> Is a ram disk possible in Solaric 2.5.1 ?
--
========================================================================
|____ __ | "If Buddha had intended men to |
| ) / __ / ) _ __ __ | understand women, He wouldn't |
| / /_ /(_) / _ / ) / ) /)/) /(_)| have given us aspirin." |
|/ / ( (___ (__) / ( (__/ / '( (___ | Confucius. |
|_____________________________________|________________________________|
========================================================================
> Hello all! I have a quick question:
> Is a ram disk possible in Solaric 2.5.1 ?
> thanks!
> Morgan Henning
/tmp has been a tmpfs file system in all Solaris 2 releases.
tmpfs also existed in Solaris 1.x. I used it for /tmp on
4.1.3 as well.
Just remember that it isn't locked into RAM, but rather lives in swap,
so if you save big files in a tmpfs they will get swapped out
to disk. And filling a tmpfs file system uses the swap area your
apps want as memory. So make shure you have enough swap set up!
tmpfs should only be used for file systems with small and short-lived
files. That's why apps should write small files to /tmp and
large temporary files to /var/tmp.
--
Birger Wathne
: Hello all! I have a quick question:
:
: Is a ram disk possible in Solaric 2.5.1 ?
:
yea- it's called /tmp
:)
--
Two households, both alike in dignity,
In fair Verona, where we lay our scene,
From ancient grudge break to new mutiny,
Where civil * makes civil hands unclean.
From forth the fatal loins of these two foes
A pair of star-cross'd lovers take their life;
>> Hello all! I have a quick question:
>> Is a ram disk possible in Solaric 2.5.1 ?
>I don't know, but I just want to remind you that, in Unix, disks are
>cached in RAM. So, ram disks are not really useful...
swap - /foobar tmpfs - yes -
See also: vfstab(4)
>>> Hello all! I have a quick question:
>>> Is a ram disk possible in Solaric 2.5.1 ?
>>I don't know, but I just want to remind you that, in Unix, disks are
>>cached in RAM. So, ram disks are not really useful...
>Adding the following line to /etc/vfstab wil mount a 'ramdisk' (tmpfs) at the
>directory /foobar. Make sure you have enough ram, otherwise your
>system may run out of swap space as you fill up the 'ramdisk'.
It would, actually, be nice if there were an option to lock the space used
into physical memory. This is a one-liner change to the BSD mount_mfs but
might be harder for Sun to implement; I have no way of knowing.
--
Stumbling drunk in the railyard looking for God: http://www.panix.com/~tls/
=>
=> Hello all! I have a quick question:
=>
=> Is a ram disk possible in Solaric 2.5.1 ?
=>
=> thanks!
Yes, it's called tmpfs. Try this:
mount -F tmpfs swap /mnt
You can also limit it's size with the "-o size=" option. It's
most commonly used for the /tmp directory. It's also not completely
like a PC ramdisk, since the operating system can swap out chunks of
it as needed.
--
Jason C. Austin
> >>> Hello all! I have a quick question:
> >>> Is a ram disk possible in Solaric 2.5.1 ?
> >>I don't know, but I just want to remind you that, in Unix, disks are
> >>cached in RAM. So, ram disks are not really useful...
> >Adding the following line to /etc/vfstab wil mount a 'ramdisk' (tmpfs) at the
> >directory /foobar. Make sure you have enough ram, otherwise your
> >system may run out of swap space as you fill up the 'ramdisk'.
> That is *not* a "ramdisk". It may be freely paged out to disk as the system
> feels necessary.
> It would, actually, be nice if there were an option to lock the space used
> into physical memory. This is a one-liner change to the BSD mount_mfs but
> might be harder for Sun to implement; I have no way of knowing.
seems like a lot of bother compared to /tmpfs, but
you can "be a purist" about this if ya just wanna.
j.
--
Jay Scott 512-835-3553
Applied Research Labs, Computer Science Div.
University of Texas at Austin
go to www.datram.com, they made a ramdisk for dec, sun etc. but how about
a bunch of 64mb simms instead. princeton univ built a sun with 2 gig of
main memory, if the memory manager is still available from sun
UPS SUN SCSI Barracudas GSA schedule Maryland
home page http://www.digitalcity.com/powerstar
ph:800-209-5556
> >: Is a ram disk possible in Solaric 2.5.1 ?
> e-yup. If you're willing to do a device driver,
> one of the samples you get with the device driver
> writer's manual is a ram disk.
> seems like a lot of bother compared to /tmpfs, but
> you can "be a purist" about this if ya just wanna.
> j.
--
-----------------------------------------------
2 + 2 = 5 for relatively large values of 2.
Tmpfs will offer you fast meta data as well and is as good as a RAMdisk
for most purposes. If you use some data repeatedly, it will mostlikely
remain cached in main memory, if access speed is the concern.
For the most parts, RAMdisks are a waste of memory and tmpfs is really
the "in between" you want.
Casper
--
Expressed in this posting are my opinions. They are in no way related
to opinions held by my employer, Sun Microsystems.
Statements on Sun products included here are not gospel and may
be fiction rather than truth.
Unless you want all the benefits of tmpfs without having to worryQuote:> For the most parts, RAMdisks are a waste of memory and tmpfs is really
> the "in between" you want.
--
Roger Salisbury Voice (210)967-6741
AKS4U Networking Inc. Fax (210)967-6735
> > For the most parts, RAMdisks are a waste of memory and tmpfs is really
> > the "in between" you want.
> Unless you want all the benefits of tmpfs without having to worry
> about running out of swap.
Regards,
Andrey
> Unless you want all the benefits of tmpfs without having to worry
>about running out of swap.
Besides, you can limit tmpfs swap usage and not run out of swap
by filling up tmpfs.
Casper
--
Expressed in this posting are my opinions. They are in no way related
to opinions held by my employer, Sun Microsystems.
Statements on Sun products included here are not gospel and may
be fiction rather than truth.
1. diskless booting using a ramdisk root filesystem; possible ?
I have seen packages (etherboot, netboot-nfs) that allow Linux to boot
using BOOTP and TFTP, but they all depend on NFS for the root file system.
Would it be possible to have the bootprom download a filesystem image
containing a Linux kernel, put the image into a ramdisk, and continue
booting from there ?
Has this been done ?
Thanks,
Pim
--
S-mail : Laan Copes van Cattenburch 70, 2585 GD The Hague, The Netherlands
Phone : +31 70 3542302
Fax : +31 70 3512837
2. qmail setup under Red Hat 6.2
3. Is a "Ramdisk" possible under SysV 3.2.2?
5. ramdisk possible for 4.3.2?
7. RAMDISK under Linux possible?
8. HELP! Xlib error crashes my netscape (repost)
9. how many Mega byte is possible to ramdisk size.
10. In search of Solaris 2.5 Netscape Navigator 3.0 plug ins
11. problem with creating ramdisk: kernel loads, but hangs when it tries to mount ramdisk
12. - ramdisk.image.gz (0/78) Re: potato on beige G3: where is ramdisk?
13. ramdisk for linux: mount /ramdisk