[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mounting /tmp on ram disk



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