[Tile-serving] [openstreetmap/mod_tile] memory consumption (#181)

Roland Bosa notifications at github.com
Fri Jun 14 19:46:21 UTC 2024


Here's a quick and dirty visualization of the respective memory footprints. All tests are done consecutively, but plotted on the same (relative) time axis.

Conclusions so far:
* `jemalloc` seems the only one that returns substantial memory to the system
* `tcmalloc` seems to not ever return anything, maybe additional configuration is required?
* `glib` does have a dip here and there - are those just "lucky" allocations that reduced the top-of-heap?

Timeline:
0s: start `renderd` - it loads the mapnik style file within ~10-15 seconds
30s: issue render request for all tiles at zoom level 6
45s-100s: database is churning like crazy, `renderd` threads are mostly idle
100-220s: `renderd` threads are using up CPU and memory
220s-250s: render_list exits, all rendering is done
300s: benchmark stops

![image](https://github.com/openstreetmap/mod_tile/assets/1264759/e6e8359d-dacc-4c21-9c1c-e61c95f71ecb)



-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/mod_tile/issues/181#issuecomment-2168657462
You are receiving this because you commented.

Message ID: <openstreetmap/mod_tile/issues/181/2168657462 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20240614/5109ff6c/attachment.htm>


More information about the Tile-serving mailing list