<p></p>
<p dir="auto">In an attempt to isolate what's going on, I left the load normal and used render_list to render z17 tiles. It started off behaving as above, with 4 seconds per tile rendered and CPU usage <50%. Then without changing anything, throughput spiked up, time/tile went down, and CPU usage went to 100%.</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer" href="https://user-images.githubusercontent.com/1190866/268131863-a278a4cb-0f60-4828-a30b-126029eac01a.png"><img src="https://user-images.githubusercontent.com/1190866/268131863-a278a4cb-0f60-4828-a30b-126029eac01a.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto">render_list was with <code class="notranslate">-n 80</code> and num_threads is 120, and the machine has 80 hardware threads</p>
<p dir="auto">In an effort to reduce the problem down, I shut off apache2/mod_tile and tried render_list with an assortment of -n. Increasing -n doesn't increase throughput or CPU usage, except that sometimes it goes from not running at capacity to generating more tiles and being CPU bottlenecked.</p>
<p dir="auto">I'm wondering, could some kind of lock be limiting how many requests per second it can deal with? But that wouldn't explain the bursts of good performance.</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/openstreetmap/mod_tile/issues/333#issuecomment-1720312015">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AA6353VBBXATJW6TAP7EG7TX2OMSFANCNFSM6AAAAAA4YXYQ6U">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AA6353QXIJOBQJFRMEC5453X2OMSFA5CNFSM6AAAAAA4YXYQ6WWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTGRHQM6.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><openstreetmap/mod_tile/issues/333/1720312015</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/mod_tile/issues/333#issuecomment-1720312015",
"url": "https://github.com/openstreetmap/mod_tile/issues/333#issuecomment-1720312015",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>