[Asterisk-Users] Re: update - 512 Simultaneous Callswith DigitalRecording

Boris Bakchiev boris at jildent.com.au
Tue Apr 11 17:19:47 MST 2006


> Are there any advantages/disadvantages to using tmpfs as opposed to
the
> following method:

Matt,

Its simple. To quote the docs, "tmpfs lives entirely in the kernel's
caches"
It will shrink and grow to accommodate the files that currently on the
filesystem.

So if you allocate 10GB for your /tmp but only use 500MB it will only
use 500MB of RAM. Think of the time your server run out space on your
RAM drive...
With tmpfs you would still be ok for few weeks (provided you allocated
enough space). :) This will also benefit whole system if /tmp is located
on tmpfs, not that a stable, production asterisk system would actually
use /tmp much (if at all).

In short it gives you the benefits of LARGE RAM disk without allocating
all that memory beforehand and you don't have to format anything during
startup.

For further info look at the following link to tmpfs.txt from kernel's
docs
http://www.kernelhq.cc/browse-view.py?fv_nr=232372






More information about the asterisk-users mailing list