3 ms·
Interestingly, if I install postgres on Ubuntu running under wsl2 (sudo apt install postgres), the performance is twice as good vs running in podman+wsl. direc
by osigurdson 3y ago
Interestingly, if I install postgres on Ubuntu running under wsl2 (sudo apt install postgres), the performance is twice as good vs running in podman+wsl.
directly in ubuntu on wsl
pgbench -c 10 -j 2 -T 60 pgbench
pgbench (14.10 (Ubuntu 14.10-0ubuntu0.22.04.1))
starting vacuum...end.
transaction type: <builtin: TPC-B (sort of)>
scaling factor: 10
query mode: simple
number of clients: 10
number of threads: 2
duration: 60 s
number of transactions actually processed: 197411
latency average = 3.039 ms
initial connection time = 8.475 ms
tps = 3290.474266 (without initial connection time)