[josm-dev] josm/jmapviewer / tilecache / single directory
Florian Lohoff
f at zz.de
Wed Apr 3 09:21:51 UTC 2013
Hi,
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.
--
Florian Lohoff f at zz.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 828 bytes
Desc: Digital signature
URL: <http://lists.openstreetmap.org/pipermail/josm-dev/attachments/20130403/c42a170a/attachment.pgp>
More information about the josm-dev
mailing list