Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Jun 2009 19:44:07 +0400 (MSD)
From:      Dmitry Morozovsky <marck@rinet.ru>
To:        Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl>
Cc:        freebsd-hackers@freebsd.org, freebsd-current@freebsd.org, d@delphij.net, Ivan Voras <ivoras@freebsd.org>
Subject:   Re: tmpfs experimental?
Message-ID:  <alpine.BSF.2.00.0906171942200.6042@woozle.rinet.ru>
In-Reply-To: <alpine.BSF.2.00.0906161327350.27588@wojtek.tensor.gdynia.pl>
References:  <h162mo$jj2$1@ger.gmane.org> <4A36930F.2000302@delphij.net> <alpine.BSF.2.00.0906161327350.27588@wojtek.tensor.gdynia.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 16 Jun 2009, Wojciech Puchar wrote:

WP> > > In other words, is there still reason for the "highly experimental
WP> > > feature" warning?
WP> > 
WP> > Last time when I added the warning, it was because some data corruption
WP> > issue that can be identified by fsx which I didn't got a chance to
WP> > investigate further.  I think tmpfs is Ok for some usual work but maybe
WP> > not ready for production at that moment.  alc@ and kib@ has made a lot
WP> > of changes on it recently so perhaps we need to re-visit the problems,
WP> > tmpfs would be a great feature for us.
WP> 
WP> as an ordinary user not programmer of tmpfs i can say that:
WP> 
WP> 1) runs fine for months in production environments, including case with over
WP> 40 mountpoints (jails)
WP> 2) runs really fast when memory is available.
WP> 3) performance is bad in case that swapping actually is used. It reads from
WP> swap with too small chunks. it's a place for improvement here.
WP> 
WP> Its great thing as it does it properly - memory is immediately freed on
WP> delete, and no caching of memory disk like with md(4).

Actually, buffer cache is used, so excessive memory usage are still in place; 
also, on rather heavy tmpfs usage (building large ports, for example) I still 
can panic and/or hang the machione with exhausted maxswzone, so there 
definitely is a place to improve things ;)

-- 
Sincerely,
D.Marck                                     [DM5020, MCK-RIPE, DM3-RIPN]
[ FreeBSD committer:                                 marck@FreeBSD.org ]
------------------------------------------------------------------------
*** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru ***
------------------------------------------------------------------------



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.0906171942200.6042>