[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Running a repository out of RAM?

From: Carsten Koch <Carsten.Koch_at_icem.com>
Date: 2007-06-17 20:15:20 CEST

Troy Curtis Jr wrote:
> and is a BDB. (Actually, running from RAM might improve FSFS enough
> that I could switch to it!)
> Ideas anyone?

FSFS is a zillion tiny files, so what you can do is

* use FSFS for your repository.

* set vfs_cache_pressure to 0, so inodes will stay in RAM.

* maybe preload the inodes to RAM by running a
    find /path-to-repository > /dev/null
  at boot time.

If you still have lots of available RAM after that,
you could preload even the data to RAM by running a
    find /path-to-repository -type f | xargs cat > /dev/null


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Jun 17 20:15:54 2007

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.