[mapserver-users] MapCache - A way to reduce BerkeleyDB Cache size ?

thomas bonfort thomas.bonfort at gmail.com
Wed May 30 01:48:55 PDT 2012


I did not do any extensive testing of the performance overhead induced
by the change in cache size. A very unscientific quick test showed
that with 1k pages the bdb cache was marginally slower than the disk
cache, but the difference wasn't significant enough to be able to come
up with any conclusions.
To summarize, I would be interested in any results you obtain if you
want to run some benchmarks against different pagesizes ;)

--
thomas

On Wed, May 30, 2012 at 10:37 AM, Ludovic Gnemmi <lgnemmi at rgd73-74.fr> wrote:
> Salut Thomas,
> I've changed the default page size (pagesize=1k)  as you mention and the
> size of my Berkeley test DB is now exactly the same as SQLite DB (48 Mo in
> my test) :)
>
> Yes it would be great to make it configurable in mapcache.xml as an advanced
> configuration option.
>
> But do you think that the use of pagesize=1ko will have a lot of effects on
> read/write process? I'm afraid of loosing performance.
>
> Thanks your help.
>
> Ludovic
>
> --
> View this message in context: http://osgeo-org.1560.n6.nabble.com/MapCache-A-way-to-reduce-BerkeleyDB-Cache-size-tp4976403p4977971.html
> Sent from the Mapserver - User mailing list archive at Nabble.com.
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users


More information about the mapserver-users mailing list