Closed
Description
Feature request
Build & publish ARM64 version of the Docker image.
Is your feature request related to a problem? Please describe.
AMD64 images have terrible performance on M1 Macs (even M1 Pro/M1 Max)
Describe the solution you'd like
It would be cool to build & publish linux/arm64 version of the Docker image to Docker Hub, it would help a lot with local development on M1 Macs.
Describe alternatives you've considered
Running existing linux/amd64 image.
Additional context
sysbench
CPU benchmark results for linux/amd64
version of the base postgres
image:
root@c0af6e852479:/# sysbench cpu --threads=2 run
sysbench 1.0.20 (using system LuaJIT 2.1.0-beta3)
Running the test with following options:
Number of threads: 2
Initializing random number generator from current time
Prime numbers limit: 10000
Initializing worker threads...
Threads started!
CPU speed:
events per second: 360.03
General statistics:
total time: 10.0029s
total number of events: 3602
Latency (ms):
min: 5.33
avg: 5.55
max: 11.34
95th percentile: 5.67
sum: 19994.19
Threads fairness:
events (avg/stddev): 1801.0000/0.00
execution time (avg/stddev): 9.9971/0.00
sysbench
CPU benchmark results for linux/arm64
version of the base postgres
image:
root@3cd6496ebf2a:/# sysbench cpu --threads=2 run
sysbench 1.0.20 (using system LuaJIT 2.1.0-beta3)
Running the test with following options:
Number of threads: 2
Initializing random number generator from current time
Prime numbers limit: 10000
Initializing worker threads...
Threads started!
CPU speed:
events per second: 21270.60
General statistics:
total time: 10.0001s
total number of events: 212719
Latency (ms):
min: 0.09
avg: 0.09
max: 2.68
95th percentile: 0.10
sum: 19970.88
Threads fairness:
events (avg/stddev): 106359.5000/5.50
execution time (avg/stddev): 9.9854/0.00
60x faster!