[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Mounting /tmp on ram disk
- To: Gilad Ben-Yossef <gilad(at-nospam)benyossef.com>
- Subject: Re: Mounting /tmp on ram disk
- From: Matan Ziv-Av <matan(at-nospam)svgalib.org>
- Date: Sun, 5 Aug 2001 20:40:12 +0300 (IDT)
- cc: Iftach Hyams <paraduma(at-nospam)elbit.co.il>, ILUG <linux-il(at-nospam)linux.org.il>
- Delivered-To: linux.org.il-linux-il@linux.org.il
- In-Reply-To: <3B6D8263.5080807@benyossef.com>
- Reply-To: Matan Ziv-Av <matan(at-nospam)svgalib.org>
- Sender: linux-il-bounce(at-nospam)cs.huji.ac.il
On Sun, 5 Aug 2001, Gilad Ben-Yossef wrote:
> Using a RAM disk as /tmp is really useless on Linuxand will actually
> buy worse perfomance, not better.
That depends on the usage pattern. Consider this:
Playing two video files in a loop (1212...), one 3/4 size of physical
RAM, and the other 1/4. With the current VM, this means no caching. If
you put the large file in a ram disk, you have 75% of accesses from
memory. Huge win.
--
Matan Ziv-Av. matan@svgalib.org
=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il