<p></p>
<p>I tried to migrate and update to a different server, but the read/write performance has went drastically down even though it should have went up.</p>
<p><strong>Old Setup</strong>: Ubuntu 16, AWS with 32gb ram, 4 threads, 2.5ghz, EBS SSD, postgresql 9.5<br>
Loads the bbox in 18 seconds: /api/0.6/map?bbox=-97.58167,35.385,-97.51833,35.44833</p>
<p><strong>New Setup:</strong> Ubuntu 20, 128gb ram, 128 threads, 3.8ghz, m.2 500k IOPS read/write, postgresql 12<br>
Loads the bbox in 144 seconds</p>
<p>Postgresql config is the same, but shared_buffers was changed from 10GB to 90GB.</p>
<p>The production server fetches the bbox in 2.5 seconds.</p>
<p>Any idea what could be causing the performance issue?</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/issues/2980">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLI34626BD7AZDXN7QLSRP3BJANCNFSM4UBH6CBA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAK2OLM3I6WM6FCY7CGLPEDSRP3BJA5CNFSM4UBH6CBKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4LFTFWZQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/issues/2980",
"url": "https://github.com/openstreetmap/openstreetmap-website/issues/2980",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>