who's using tmpfs?
Jerry McBride
mcbrides9
Mon May 17 11:37:43 PDT 2004
On Sun, 15 Sep 2002 12:36:48 -0700 Net Llama! <netllama at linux-sxs.org> wrote:
> Jerry McBride wrote:
> > On Thu, 12 Sep 2002 18:03:07 -0700 "Net Llama!" <netllama at linux-sxs.org>
> > wrote:
> >
> >
> >>I'm working on a project where i think tmpfs might be beneficial. Can
> >>anyone provide any hints or gotchas that i should be aware of? Also,
> >>anyone willing to write a brief SxS?
> >>
> >
> >
> >
> > If tmpfs isn't a block device... would it therefore have faster I/O than a
> > regular ramdisk? Seems to me that it would be, with less overhead...
>
> Dunno. I would think it would be the same speed, since its all in
> memory regardless.
>
Something else in the article mentioned elsewhere... it claims to be dynamic,
grows as needed and then shrinks when possible and... it swaps to the swap
partiton when/if needed...
At first glance I had the idea that it was quite fast, but there could be
performance hits is your data set changes size often or forces a commit to the
swap space...
I would hazard a guess that a simple ramdisk, of the correct size, would be
either faster or as fast as a tmpfs "disk". If I can find the time, I'd be
willing to run some simple benchmarks if anyone would be interested.
Cheers.
--
******************************************************************************
Registered Linux User Number 185956
http://groups.google.com/groups?hl=en&safe=off&group=linux
4:29pm up 186 days, 21:38, 6 users, load average: 1.82, 1.57, 1.58
More information about the Linux-users
mailing list