Replies: 3 comments 3 replies
-
|
The S3 issue seems to be handshake related, so it may well be related to the fact Ubuntu 22.04 uses OpenSSL 3.0. Per openssl/openssl#17064 & openssl/openssl#17950 it seems the issue may lie there. Not sure if this also explains the higher CPU usage we see, as we connect to MySQL over TLS it may well have an overall impact. |
Beta Was this translation helpful? Give feedback.
-
|
We also see very poor performance on ubuntu 22.04 and 24.04 php packages, either stock ubuntu or ppa:ondrej/php the 20.04 php8.1 builds on ppa:ondrej/php were fine. Did you find a solution? |
Beta Was this translation helpful? Give feedback.
-
|
The best mitigation I've found is to use persistent connections for things like redis, and proxysql or pgbouncer for the database connections so you can do cheap localhost connections without ssl. For http requests I don't have a silver bullet that depends on your use cases, but hopefully ubuntu26.04 will finally address some of this as it should use a newer openssl than the 3.0 series. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Frequently asked questions
Describe the bug
We just upgraded to Ubuntu 22.04 and took the chance to switch to ARM / graviton2 AWS instances and we are now seeing much more CPU usage for the same workload (~50% increase in CPU usage). I also noticed much slower HTTP downloads from S3.
I don't know if you can or should do anything here, this is mostly a question (and a way to gather feedback from others perhaps) whether this PPA has ARM-optimized builds or not? Should we rather use something else? Any feedback welcome.
As per AWS PHP should work well if not better on ARM, so I am quite surprised by this finding and I'm hoping it's something we can fix.
Distribution:
Package(s):
Beta Was this translation helpful? Give feedback.
All reactions