you follow these instructions If you are in linux.

mkdir /mnt/ram

1) Make a filesystem on the ramdisk (i.e. mkfs.ext2 /dev/ramdisk).
2) Mount it (i.e. mount -t ext2 /dev/ramdisk /mnt/ram).

It is important that you make the filesystem at least the first time you
try to use it after a reboot, since the contents get dumped when you shut
down, and it won't have any valid filesystem until you make one.
(instructions are courtesy of Jakob 'Sparky' Kaivo [[EMAIL PROTECTED]])

Also, after a reboot (or normal shutdown process) the ramdisk gets saved 
and restored during kernel reboot if your kernel supports it.  Mine, 
(kernel 2.0.32 rh 5.0) does save and restore it.--which is something i 
didn't know it did and I don't know why it does..but...i do not look a gift 
horse in the mouth.

Jann



Jann Linder
Web Developer/CH2M Hill - SFO
[EMAIL PROTECTED]
Home Page:
     http://www.jann.com/
CalendarPlus Web Site:
     http://www.calendarplus.com/


-----Original Message-----
From:   Abraham J. Stephens [SMTP:[EMAIL PROTECTED]]
Sent:   Wednesday, June 10, 1998 11:56 AM
To:     Jann Linder
Cc:     '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]'
Subject:        Re: [CGI] Does linux/Apache cache recent files

>  Would i get better results if i put these required files on ramdisk? 
(they
> are about 100k total)...
>
> I would like to eek out every millisecond of time savings I can.  And I 
can
> afford the ram.

I must admit I'm not an expert, but doesn't a ramdisk almost always
decrease access time?  Also how do you go about creating a RAM disk?




-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
         To unsubscribe: mail [EMAIL PROTECTED] with 
                       "unsubscribe" as the Subject.

Reply via email to