PostgreSQL on ZFS

single 256G SATA SSD, default settings

HTML result view exported from: https://openbenchmarking.org/result/2102245-HA-POSTGRESQ83&grr.

PostgreSQL on ZFSProcessorMotherboardChipsetMemoryDiskGraphicsAudioNetworkOSKernelDesktopDisplay ServerDisplay DriverVulkanCompilerFile-SystemScreen ResolutionOpenGLdefaultsync=disabledrecordsize=32krecordsize=32k + logbias=throughputsingle SSD ext4single SSD xfsAMD Ryzen 5 3600XT 6-Core @ 3.80GHz (6 Cores / 12 Threads)Gigabyte B550M DS3H (F11 BIOS)AMD Starship/Matisse16GB500GB Western Digital WDS500G2B0C-00PXH0 + 2000GB Western Digital WDS200T2B0C-00PXH0 + 256GB Samsung SSD 850 + 2 x 128GB SAMSUNG SSD 830NVIDIA GeForce GTX 1660 SUPER 6GBNVIDIA TU116 HD AudioRealtek RTL8111/8168/8411Linuxmint 20.15.4.0-65-generic (x86_64)XfceX Server 1.20.9NVIDIA1.2.155GCC 9.3.0zfs1024x768NVIDIA GeForce GTX 1660 SUPER 6GB (435/405MHz)4.6.0ext41920x1200NVIDIA GeForce GTX 1660 SUPER 6GB (375/405MHz)xfsOpenBenchmarking.orgKernel Details- Transparent Huge Pages: madviseCompiler Details- --build=x86_64-linux-gnu --disable-vtable-verify --disable-werror --enable-checking=release --enable-clocale=gnu --enable-default-pie --enable-gnu-unique-object --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++,gm2 --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-multiarch --enable-multilib --enable-nls --enable-objc-gc=auto --enable-offload-targets=nvptx-none=/build/gcc-9-HskZEa/gcc-9-9.3.0/debian/tmp-nvptx/usr,hsa --enable-plugin --enable-shared --enable-threads=posix --host=x86_64-linux-gnu --program-prefix=x86_64-linux-gnu- --target=x86_64-linux-gnu --with-abi=m64 --with-arch-32=i686 --with-default-libstdcxx-abi=new --with-gcc-major-version-only --with-multilib-list=m32,m64,mx32 --with-target-system-zlib=auto --with-tune=generic --without-cuda-driver -v Processor Details- Scaling Governor: acpi-cpufreq ondemand (Boost: Enabled) - CPU Microcode: 0x8701021Security Details- itlb_multihit: Not affected + l1tf: Not affected + mds: Not affected + meltdown: Not affected + spec_store_bypass: Mitigation of SSB disabled via prctl and seccomp + spectre_v1: Mitigation of usercopy/swapgs barriers and __user pointer sanitization + spectre_v2: Mitigation of Full AMD retpoline IBPB: conditional STIBP: conditional RSB filling + srbds: Not affected + tsx_async_abort: Not affected

PostgreSQL on ZFSpgbench: 1000 - 100 - Read Write - Average Latencypgbench: 1000 - 100 - Read Writepgbench: 1000 - 1 - Read Write - Average Latencypgbench: 1000 - 1 - Read Writepgbench: 1 - 1 - Read Write - Average Latencypgbench: 1 - 1 - Read Writepgbench: 1 - 100 - Read Write - Average Latencypgbench: 1 - 100 - Read Writedefaultsync=disabledrecordsize=32krecordsize=32k + logbias=throughputsingle SSD ext4single SSD xfs129.61678410.985925.903170578.255173101.42310161.01110030.209479223.4484267103.13699710.073995.830172582.42217295.87410539.5971046.556153660.77415319.50451294.4332263.309302318.97831421.96545554.4572243.304303319.247313OpenBenchmarking.org

PostgreSQL pgbench

Scaling Factor: 1000 - Clients: 100 - Mode: Read Write - Average Latency

OpenBenchmarking.orgms, Fewer Is BetterPostgreSQL pgbench 13.0Scaling Factor: 1000 - Clients: 100 - Mode: Read Write - Average Latencydefaultsync=disabledrecordsize=32krecordsize=32k + logbias=throughputsingle SSD ext4single SSD xfs306090120150SE +/- 7.71, N = 6SE +/- 5.00, N = 12SE +/- 6.34, N = 9SE +/- 3.07, N = 9SE +/- 0.02, N = 3SE +/- 0.13, N = 3129.62101.42103.1495.8719.5021.971. (CC) gcc options: -fno-strict-aliasing -fwrapv -O2 -lpgcommon -lpgport -lpq -lpthread -lrt -ldl -lm

PostgreSQL pgbench

Scaling Factor: 1000 - Clients: 100 - Mode: Read Write

OpenBenchmarking.orgTPS, More Is BetterPostgreSQL pgbench 13.0Scaling Factor: 1000 - Clients: 100 - Mode: Read Writedefaultsync=disabledrecordsize=32krecordsize=32k + logbias=throughputsingle SSD ext4single SSD xfs11002200330044005500SE +/- 41.27, N = 6SE +/- 56.18, N = 12SE +/- 55.65, N = 9SE +/- 36.59, N = 9SE +/- 6.38, N = 3SE +/- 27.63, N = 378410169971053512945551. (CC) gcc options: -fno-strict-aliasing -fwrapv -O2 -lpgcommon -lpgport -lpq -lpthread -lrt -ldl -lm

PostgreSQL pgbench

Scaling Factor: 1000 - Clients: 1 - Mode: Read Write - Average Latency

OpenBenchmarking.orgms, Fewer Is BetterPostgreSQL pgbench 13.0Scaling Factor: 1000 - Clients: 1 - Mode: Read Write - Average Latencydefaultsync=disabledrecordsize=32krecordsize=32k + logbias=throughputsingle SSD ext4single SSD xfs3691215SE +/- 0.375, N = 9SE +/- 0.034, N = 12SE +/- 0.079, N = 3SE +/- 0.180, N = 9SE +/- 0.001, N = 3SE +/- 0.024, N = 310.9851.01110.0739.5974.4334.4571. (CC) gcc options: -fno-strict-aliasing -fwrapv -O2 -lpgcommon -lpgport -lpq -lpthread -lrt -ldl -lm

PostgreSQL pgbench

Scaling Factor: 1000 - Clients: 1 - Mode: Read Write

OpenBenchmarking.orgTPS, More Is BetterPostgreSQL pgbench 13.0Scaling Factor: 1000 - Clients: 1 - Mode: Read Writedefaultsync=disabledrecordsize=32krecordsize=32k + logbias=throughputsingle SSD ext4single SSD xfs2004006008001000SE +/- 2.88, N = 9SE +/- 36.88, N = 12SE +/- 0.78, N = 3SE +/- 1.94, N = 9SE +/- 0.05, N = 3SE +/- 1.19, N = 3921003991042262241. (CC) gcc options: -fno-strict-aliasing -fwrapv -O2 -lpgcommon -lpgport -lpq -lpthread -lrt -ldl -lm

PostgreSQL pgbench

Scaling Factor: 1 - Clients: 1 - Mode: Read Write - Average Latency

OpenBenchmarking.orgms, Fewer Is BetterPostgreSQL pgbench 13.0Scaling Factor: 1 - Clients: 1 - Mode: Read Write - Average Latencydefaultsync=disabledrecordsize=32krecordsize=32k + logbias=throughputsingle SSD ext4single SSD xfs246810SE +/- 0.045, N = 15SE +/- 0.002, N = 3SE +/- 0.082, N = 3SE +/- 0.062, N = 7SE +/- 0.007, N = 3SE +/- 0.004, N = 35.9030.2095.8306.5563.3093.3041. (CC) gcc options: -fno-strict-aliasing -fwrapv -O2 -lpgcommon -lpgport -lpq -lpthread -lrt -ldl -lm

PostgreSQL pgbench

Scaling Factor: 1 - Clients: 1 - Mode: Read Write

OpenBenchmarking.orgTPS, More Is BetterPostgreSQL pgbench 13.0Scaling Factor: 1 - Clients: 1 - Mode: Read Writedefaultsync=disabledrecordsize=32krecordsize=32k + logbias=throughputsingle SSD ext4single SSD xfs10002000300040005000SE +/- 1.25, N = 15SE +/- 51.48, N = 3SE +/- 2.43, N = 3SE +/- 1.42, N = 7SE +/- 0.63, N = 3SE +/- 0.41, N = 317047921721533023031. (CC) gcc options: -fno-strict-aliasing -fwrapv -O2 -lpgcommon -lpgport -lpq -lpthread -lrt -ldl -lm

PostgreSQL pgbench

Scaling Factor: 1 - Clients: 100 - Mode: Read Write - Average Latency

OpenBenchmarking.orgms, Fewer Is BetterPostgreSQL pgbench 13.0Scaling Factor: 1 - Clients: 100 - Mode: Read Write - Average Latencydefaultsync=disabledrecordsize=32krecordsize=32k + logbias=throughputsingle SSD ext4single SSD xfs140280420560700SE +/- 4.95, N = 3SE +/- 0.18, N = 3SE +/- 2.22, N = 3SE +/- 19.58, N = 13SE +/- 0.76, N = 3SE +/- 0.44, N = 3578.2623.45582.42660.77318.98319.251. (CC) gcc options: -fno-strict-aliasing -fwrapv -O2 -lpgcommon -lpgport -lpq -lpthread -lrt -ldl -lm

PostgreSQL pgbench

Scaling Factor: 1 - Clients: 100 - Mode: Read Write

OpenBenchmarking.orgTPS, More Is BetterPostgreSQL pgbench 13.0Scaling Factor: 1 - Clients: 100 - Mode: Read Writedefaultsync=disabledrecordsize=32krecordsize=32k + logbias=throughputsingle SSD ext4single SSD xfs9001800270036004500SE +/- 1.48, N = 3SE +/- 32.46, N = 3SE +/- 0.66, N = 3SE +/- 3.47, N = 13SE +/- 0.75, N = 3SE +/- 0.43, N = 317342671721533143131. (CC) gcc options: -fno-strict-aliasing -fwrapv -O2 -lpgcommon -lpgport -lpq -lpthread -lrt -ldl -lm


Phoronix Test Suite v10.8.4