[josm-dev] josm/jmapviewer / tilecache / single directory
Dirk Stöcker
openstreetmap at dstoecker.de
Wed Apr 3 10:00:13 UTC 2013
On Wed, 3 Apr 2013, Florian Lohoff wrote:
> i send an email a couple of months back about the jmapviewer tilecache
> used by josm using a flat directory for storing the tiles.
>
> Today now i stumbled that doing a find in the .josm directory takes
> upwards of 10 Minutes on my Quad i7 with a 7200 IDE Disk on
> Debian/Wheezy.
>
> Doing a cache cold "ls" in ~/.josm/tilecache/Bing Aerial Maps
> takes
>
> flo at p2:~/.josm/tilecache/Bing Aerial Maps$ time ls >/dev/null
> real 9m3.151s
> user 0m23.133s
> sys 0m26.474s
> flo at p2:~/.josm/tilecache/Bing Aerial Maps$ ls -1 | wc -l
> 1846091
>
> 9 Minutes 3 seconds for a ls - 1.8Mio files in a single directory.
>
> Flo
> PS: Dont get me wrong - large cache is good - but not like this.
Hmm. Did you change any of the cache parameters in config? It should not
get that large. Probably cache clean is broken, if so, please open a bug?
Ciao
--
http://www.dstoecker.eu/ (PGP key available)
More information about the josm-dev
mailing list