https://www.2ndQuadrant.com
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Building Better Benchmarks
PGCon 2020
Building Better Benchmarks PGCon 2020 . . . . . . . . . . - - PowerPoint PPT Presentation
Building Better Benchmarks PGCon 2020 . . . . . . . . . . . . . . . . . . . . https://www. 2ndQuadrant.com . . . . . . . . . . . . . . . . . . . . About me Employed by 2ndQuadrant PostgreSQL
https://www.2ndQuadrant.com
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
PGCon 2020
https://www.2ndQuadrant.com
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
https://www.2ndQuadrant.com
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
https://www.2ndQuadrant.com
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
https://www.2ndQuadrant.com
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
https://www.2ndQuadrant.com
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Only a couple of published Postgres benchmarks:
https://www.spec.org/jAppServer2004/results/res2007q3/
https://www.2ndQuadrant.com
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
SPEC is a nonprofit organization that establishes, maintains and endorses standardized benchmarks and tools to evaluate performance and energy efficiency for the newest generation of computing systems.
computer performance
covering development and administrative costs
http://www.spec.org/
https://www.2ndQuadrant.com
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Transaction Processing Performance Council performs two major activity:
monitoring those benchmarks http://www.tpc.org/
https://www.2ndQuadrant.com
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Many TPC benchmarks are not trivial:
https://www.2ndQuadrant.com
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
https://www.2ndQuadrant.com
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Important data in addition to benchmark metrics:
https://www.2ndQuadrant.com
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
In many cases, researchers and developers are limited to a small number of workloads to evaluate the performance characteristics of their work. This is due to the lack of a universal benchmarking infrastructure, and to the difficulty of gaining access to real data and workloads. This results in lots
evaluation results difficult to compare. http://www.vldb.org/pvldb/vol7/p277-difallah.pdf
https://www.2ndQuadrant.com
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
At least 12 open source projects already exist:
https://www.2ndQuadrant.com
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
While subject to change, EULA may not be agreeable. Excerpt from a previous TPC EULA:
the Materials by You.
…
software or project without the express written consent of the TPC chair.
http://www.tpc.org/tpc_documents_current_versions/current_specifications5.asp
https://www.2ndQuadrant.com
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Want to discuss more in unconference session?
https://ycsb.site
https://www.2ndQuadrant.com
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Benchmarking kits are more helpful if they:
https://www.2ndQuadrant.com
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
https://www.2ndQuadrant.com
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Focusing on just two generate types of workload:
managing orders, brokerage firm executing customer transactions
starschema
https://www.2ndQuadrant.com
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
connection pooler
session?
https://www.2ndQuadrant.com
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
session?
https://www.2ndQuadrant.com
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
A little fun: Compare a Java vs. C implementation of a TPCC derived workload.
https://www.2ndQuadrant.com
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
HP ZBook Studio G5 Mobile Workstation:
threads)
https://www.2ndQuadrant.com
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
OLTPBench vs DBT2:
https://www.2ndQuadrant.com
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
OLTPBench:
neworder TPM
90% utilized
100% processor utilization
processor utilization each
DBT2:
neworder TPM
utilized
utilization
processor utilization each
https://www.2ndQuadrant.com
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Mark Wong Consultant, 2ndQuadrant Contributor, PostgreSQL mark@2ndQuadrant.com https://2ndquadrant.com/contact