This has results for sysbench with MyRocks, MySQL/InnoDB and Postgres using public cloud servers. The goal is to document how relative performance changes from single-threaded to high-concurrency workloads.
By relative performance I mean that I present performance as a ratio: throughput on an Arm server / throughput on an x86 server. By throughput I mean QPS for all of the workloads except for scan, which does a full scan, and throughput for scan is millions of rows read/second.
I compare c7g vs c6i instance types from AWS and then t2a vs c2 server types from GCP. I am comparing absolute performance rather than price performance. For AWS the c7g list price is a bit lower than c6i while for GCP the t2a and c2 list prices are about the same.
Regardless, my goal is only to understand how relative throughput changes with concurrency. Of course, I also look for perf bugs that might be fixable.
tl;dr:
- Results for MyRocks have the most variance and for Postgres have the least variance
- x86 usually gets more throughput than Arm although the advantage is smaller to non-existent when the CPU is fully/over-subscribed. A common throughput ratio for Arm was between 0.7 and 0.9 meaning that Arm got between 70% and 90% of the throughput (QPS) compared to an x86 in the same price range. Alas, there is much detail and nuance. In some cases the Arm server got the same or better throughput. Relatively, the Arm does much better when the CPU is saturated (number of concurrent requests and background threads >= number of Arm cores) because it has more cores but the per-core perf on the x86 is better.
- InnoDB does the worst on Arm relative to x86 with AWS (c7g vs c6i) as the workload & server size are scaled up for write-heavy workloads. MyRocks is similar but not as bad in this respect.
- The advantage for x86 vs Arm is smaller on the write heavy benchmark steps, especially with the workloads where the CPU is fully/over-subscribed
- The advantage for x86 vs Arm is larger when comparing t2a vs c2 (GCP) than c7g vs c6i (AWS)
Note that I disable hyperthreading on the x86 servers because from past experience the use of hyperthreading hurts DBMS performance. I don't reevaluate this (hyperthreading enabled vs disabled) for every benchmark because that takes more time but I will revisit the topic. The impact of disabling hyperthreading is that the Arm server has 2X more cores than the comparable x86. For example, the 16xlarge instances on AWS (c7g is Arm, c6i is x86) have 64 vcpu and there are 64 cores on Arm, 64 cores on x86 with hyperthread enabled and 32 cores on x86 with hyperthread disabled.
Benchmark
I use upstream
sysbench with a few extra Lua scripts
from here driven by shell scripts
from here. Read the Lua scripts to see what SQL statements are used. For example, the
scan query does a full scan with a WHERE clause that filters all rows on the DBMS and returns 0 rows (and read this
fun bug to learn what the MongoDB planner does for such queries).
There are 42 Lua scripts for which I provide results. Each of them represent a (micro)benchmark step that was run for 10 minutes. I place them into three groups -- point, range, write -- based on the common operation done for each where point does point queries, range does range queries and write does insert/update/delete.
The benchmark is invoked by
this script (r.sh) which then invoked
cmp_pg.sh,
cmp_in.sh and
cmp_rx.sh. All scripts end up calling
all_small.sh to run sysbench for a sequence of Lua scripts. Each Lua script was run for 10 minutes using 8 tables with 32 clients (threads, connections). Note that the scripts linked above (r.sh, cmp_??.sh) are similar to the scripts I used but I had to edit them for different levels of concurrency and server size.
In all cases there were 20M rows/table but the number of tables increased with the server size. The benchmark was run twice -- once with most queries done against a primary key index and then again with a secondary index used for most queries (sysbench --secondary).
I used Postgres 15.1, MySQL 8.0.31 for InnoDB and FB MySQL 8.0.28 for MyRocks.
The test database always fit in the database buffer pool (or RocksDB block cache).
For each server size the benchmark is repeated first with a number of clients so that the CPU is under-subscribed (WRT to number of x86 cores) and second with a number of clients so that the CPU is full subscribed for queries and possibly over-subscribed for writes. For example on the 2xlarge AWS instances both have 8 vcpu, the c6i has 4 cores (hyperthreading disabled) and the c7g has 8 cores. The test was run with 1 and 4 clients. With 4 cliens the x86 CPU is fully subscribed for queries and over-subscribed for writes because background threads must also run for b-tree checkpoint or LSM compaction.
The impact of under-subscribed vs fully/over-subscribed is visible on the graphs. The difference between x86 and Arm is larger on the read heavy microbenchmarks because the x86 instances have better per-core performance than Arm. On the write-heavy tests the difference is smaller.
Hardware
Tests were repeated on AWS and GCP servers. For AWS I used
c7g (Arm) and
c6i (x86). For GCP I used
t2a (Arm) and
c2 (x86). The c7g and c6i servers are closer in performance than the t2a and c2. Benchmarks were repeated for several instance/server sizes.
All servers used Ubuntu 22.04. I did not enable huge pages for Postgres or InnoDB.
AWS
- 2xlarge
- Has 8 vcpu and 16G RAM. There are 8 cores on c7g and 4 on c6i because I disabled hyperthreading. Both servers used EBS for the database (io2, 256G, 10K IOPs).
- Sysbench was run with 1 table and 20M rows for 1 and 4 clients.
- The database config files are here for MyRocks, for Postgres and for InnoDB.
- 8xlarge
- Has 32 vcpu and 64G RAM. There are 32 cores on c7g and 16 on c6i because I disabled hyperthreading. Both servers used EBS for the database (io2, 1TB, 49K IOPs).
- Sysbench was run with 4 tables and 20M rows/table for 8 and 16 clients.
- The database config files are here for MyRocks, for Postgres and for InnoDB.
- 16xlarge
- Has 64 vcpu and 128G RAM. There are 64 cores on c7g and 32 on c6i because I disabled hyperthreading. Both servers used EBS for the database (io2, 2TB, 49K IOPs).
- Sysbench was run with 8 tables and 20M rows/table for 16 and 32 clients.
- The database config files are here for MyRocks, for Postgres and for InnoDB.
GCP
- t2a-standard-8, c2-standard-8
- Has 8 vcpu and 16G RAM (t2-standard-8, c2-standard-8). There are 8 cores on t2a and 4 on c2 because I disabled hyperthreading. Both have 32G RAM. The database was on SSD Persistent disk (400G).
- Sysbench was run with 1 table and 20M rows for 1 and 4 clients.
- The database config files are here for MyRocks, for Postgres and for InnoDB.
- t2a-standard-32, c2-standard-30
- The t2a instance has 128G RAM, 32 vcpu and 32 cores. The c2 instance has 120G RAM, 30 vcpu and 15 cores because I disabled hyperthreading. The database was on SSD Persistent disk (2TB).
- Sysbench was run with 4 tables and 20M rows/table for 8 and 15 clients.
- The database config files are here for MyRocks, for Postgres and for InnoDB.
Results
Each benchmark consists of 42 (micro)benchmark steps. Each benchmark step is a Lua script and most scripts just test one operation (point query, range query, insert, update, etc) thus it is best to think of them as microbenchmarks. The read-only and read-write benchmark steps are the traditional sysbench workload and consist of different SELECT statements that use range scans and sometimes do aggregation.
Below there are charts for each benchmark that show the relative performance for each benchmark step as: Arm throughput / x86 throughput. The Arm server is faster when this ratio is larger than 1. Alas, the ratios are almost always less than 1 because the x86 server was usually faster.
The x-axis starts at 0.4 or 0.5 rather than 0.0 to make it easier to see the differences. The spreadsheet is here
for AWS and
for GCP. It is easier to see detail on the spreadsheet than on the inline images below.
For each benchmark step there is a pair of results named pk0 and pk1. By pk1 I mean that most queries used the primary key index. By pk0 I mean that most queries used the secondary index (sysbench --secondary).
Result sections
Each graph below has 42 pairs of lines -- each pair has a result for pk0 and pk1. So I scanned all of them and attempted to draw some conclusions using eyeball stats rather than the real thing. The last section of this blog post has summary statistics (min, max, average, median, standard deviation) for each of the microbenchmark groups (point, range, writes).
On each graph the 42 microbenchmarks are in three groups from left to right (Point, Range, Write). The Point group is for point queries, the Range group is for range queries and the Write group is for writes.
In the sections that follow where I describe whether x86 does better than, similar to or worse than Arm the judgement is mostly based on the average values for the throughput ratio with help from the median values. Generally, if the ratio is between 0.95 and 1.05 I claim the throughput is similar.
Results: 8 vcpu, 1 client, AWS
The CPU was under-subscribed.
- MyRocks has the most variance
- For queries
- x86 is better than Arm for MyRocks and Postgres
- x86 is similar to Arm for InnoDB
- For writes
- x86 is better than Arm for MyRocks and Postgres
- x86 is worse than Arm for InnoDB
Results: 8 vcpu, 4 clients, AWS
The CPU is fully/over-subscribed during the write-heavy benchmark steps.
- MyRocks has the most variance
- For queries
- For writes
- x86 is worse than Arm for Postgres and InnoDB
- x86 is similar to Arm for MyRocks
- For writes the advantage shifts towards Arm given the CPU is fully/over-subscribed
Results: 32 vcpu, 8 clients, AWS
The CPU was under-subscribed.
- MyRocks has the most variance
- For queries
- x86 is better than Arm except for MyRocks+pk1 where they are similar
- For writes
- x86 is better than Arm for MyRocks and InnoDB
- x86 is similar to Arm for Postgres
Results: 32 vcpu, 16 clients, AWS
The CPU is fully/over-subscribed during the write-heavy benchmark steps.
- MyRocks has the most variance
- Compared to the under-subscribed case above the advantage shifts towards Arm here
- For point queries
- x86 is better than Arm for Postgres and InnoDB
- x86 is worse than Arm for MyRocks with pk0 and similar with pk1
- For range queries
- x86 is better than Arm for Postgres and InnoDB
- x86 is similar to Arm for MyRocks with pk0 and better with pk1
- For writes
- x86 is worse than Arm for Postgres and InnoDB
- x86 is similar to Arm for MyRocks with pk0 and worse than Arm for pk1
Results: 64 vcpu, 16 clients, AWS
The CPU was under-subscribed.
- MyRocks has the most variance
- For point queries
- x86 is better than Arm except for MyRocks+pk0 where they are similar
- For range queries
- For writes
- x86 is better than Arm for MyRocks and InnoDB.
- For InnoDB the x86 advantage increases as the instance size increases from 2xl to 8xl to 16xl here. This is true for both the under-subscribed and fully/over-subscribed workloads although the change appears to be worse in the under-subscribed CPU case.
- x86 is similar to Arm for Postgres
Results: 64 vcpu, 32 clients, AWS
The CPU is fully/over-subscribed during the write-heavy benchmark steps.
- MyRocks has the most variance
- For point queries
- x86 is better than Arm for Postgres and InnoDB
- x86 is similar to Arm for MyRocks with pk0 and worse with pk1
- For range queries
- x86 is better than Arm for Postgres and InnoDB
- x86 is similar to Arm for MyRocks with pk0 and worse with pk1
- For writes
- x86 is better than Arm for MyRocks and InnoDB
- x86 is worse than Arm for Postgres
Results: 8 vcpu, 1 client, GCP
The CPU was under-subscribed.
Results: 8 vcpu, 4 clients, GCP
The CPU is fully/over-subscribed during the write-heavy benchmark steps.
Results: 30/32 vcpu, 8 clients, GCP
The CPU was under-subscribed.
Results: 30/32 vcpu, 15 clients, GCP
The CPU is fully/over-subscribed during the write-heavy benchmark steps.
Summary statistics
The summary statistics group the micro benchmarks into 3 groups:
- Point - benchmarks that do point queries
- Range - benchmarks that do range queries, including one that does a full range scan
- Write - benchmarks that do writes
The statistics are computed for the throughput ratio which is: (throughput for Arm / throughput for x86) and throughput is QPS for all tests except scan. For scan the throughput is millions of rows read/second. The throughput for Arm is better than x86 when the ratio is greater than 1.
For each table there are results for pk0 and pk1. The pk1 results are the normal way to run sysbench -- most queries use the PK index. The pk0 results are from sysbench --secondary so that most queries use a secondary index (which is created on the same columns as the PK index had been created).
Summary statistics: 8 vcpu, 1 client, AWS
For MyRocks:
MyRocks | Point | Range | Write |
min: pk0 | 0.81 | 0.79 | 0.75 |
max: pk0 | 1.12 | 1.07 | 0.89 |
avg: pk0 | 0.91 | 0.87 | 0.83 |
median: pk0 | 0.90 | 0.86 | 0.84 |
stddev: pk0 | 0.086 | 0.071 | 0.049 |
| | | |
min: pk1 | 0.80 | 0.79 | 0.73 |
max: pk1 | 0.98 | 0.92 | 0.97 |
avg: pk1 | 0.90 | 0.86 | 0.84 |
median: pk1 | 0.88 | 0.86 | 0.83 |
stddev: pk1 | 0.049 | 0.039 | 0.075 |
For Postgres:
Postgres | Point | Range | Write |
min: pk0 | 0.82 | 0.78 | 0.80 |
max: pk0 | 0.94 | 0.93 | 0.92 |
avg: pk0 | 0.90 | 0.87 | 0.88 |
median: pk0 | 0.91 | 0.87 | 0.88 |
stddev: pk0 | 0.031 | 0.039 | 0.035 |
| | | |
min: pk1 | 0.83 | 0.78 | 0.76 |
max: pk1 | 0.96 | 0.92 | 0.89 |
avg: pk1 | 0.90 | 0.84 | 0.84 |
median: pk1 | 0.90 | 0.84 | 0.84 |
stddev: pk1 | 0.032 | 0.044 | 0.039 |
For InnoDB:
InnoDB | Point | Range | Write |
min: pk0 | 0.96 | 0.93 | 1.09 |
max: pk0 | 1.29 | 1.21 | 1.30 |
avg: pk0 | 1.02 | 1.05 | 1.19 |
median: pk0 | 0.97 | 1.04 | 1.21 |
stddev: pk0 | 0.106 | 0.086 | 0.066 |
| | | |
min: pk1 | 0.93 | 0.92 | 1.06 |
max: pk1 | 1.26 | 1.17 | 1.29 |
avg: pk1 | 1.00 | 1.01 | 1.17 |
median: pk1 | 0.96 | 1.00 | 1.20 |
stddev: pk1 | 0.098 | 0.083 | 0.070 |
Summary statistics: 8 vcpu, 4 clients, AWS
For MyRocks:
MyRocks | Point | Range | Write |
min: pk0 | 0.67 | 0.72 | 0.82 |
max: pk0 | 1.06 | 1.03 | 1.04 |
avg: pk0 | 0.82 | 0.84 | 0.93 |
median: pk0 | 0.80 | 0.84 | 0.94 |
stddev: pk0 | 0.104 | 0.084 | 0.075 |
| | | |
min: pk1 | 0.78 | 0.77 | 0.81 |
max: pk1 | 1.09 | 1.61 | 1.09 |
avg: pk1 | 0.92 | 0.93 | 0.96 |
median: pk1 | 0.92 | 0.90 | 0.97 |
stddev: pk1 | 0.076 | 0.200 | 0.085 |
For Postgres:
Postgres | Point | Range | Write |
min: pk0 | 0.72 | 0.70 | 0.72 |
max: pk0 | 0.82 | 0.85 | 2.51 |
avg: pk0 | 0.78 | 0.77 | 1.27 |
median: pk0 | 0.80 | 0.76 | 1.13 |
stddev: pk0 | 0.036 | 0.043 | 0.513 |
| | | |
min: pk1 | 0.65 | 0.70 | 0.77 |
max: pk1 | 0.82 | 0.84 | 2.24 |
avg: pk1 | 0.77 | 0.75 | 1.22 |
median: pk1 | 0.80 | 0.73 | 1.19 |
stddev: pk1 | 0.057 | 0.052 | 0.406 |
For InnoDB:
InnoDB | Point | Range | Write |
min: pk0 | 0.79 | 0.79 | 0.84 |
max: pk0 | 0.92 | 0.99 | 1.27 |
avg: pk0 | 0.86 | 0.87 | 1.10 |
median: pk0 | 0.86 | 0.88 | 1.12 |
stddev: pk0 | 0.036 | 0.057 | 0.157 |
| | | |
min: pk1 | 0.76 | 0.79 | 0.84 |
max: pk1 | 0.92 | 1.00 | 1.28 |
avg: pk1 | 0.86 | 0.88 | 1.11 |
median: pk1 | 0.87 | 0.89 | 1.13 |
stddev: pk1 | 0.045 | 0.059 | 0.159 |
Summary statistics: 32 vcpu, 8 clients, AWS
For MyRocks:
MyRocks | Point | Range | Write |
min: pk0 | 0.85 | 0.83 | 0.74 |
max: pk0 | 1.48 | 1.74 | 1.13 |
avg: pk0 | 1.05 | 1.00 | 0.89 |
median: pk0 | 0.99 | 0.95 | 0.84 |
stddev: pk0 | 0.158 | 0.218 | 0.136 |
| | | |
min: pk1 | 0.78 | 0.76 | 0.64 |
max: pk1 | 1.18 | 1.07 | 0.82 |
avg: pk1 | 0.94 | 0.87 | 0.74 |
median: pk1 | 0.90 | 0.86 | 0.74 |
stddev: pk1 | 0.127 | 0.081 | 0.056 |
For Postgres:
Postgres | Point | Range | Write |
min: pk0 | 0.78 | 0.84 | 0.90 |
max: pk0 | 1.10 | 1.04 | 1.13 |
avg: pk0 | 0.86 | 0.91 | 1.03 |
median: pk0 | 0.82 | 0.89 | 1.03 |
stddev: pk0 | 0.096 | 0.064 | 0.075 |
| | | |
min: pk1 | 0.71 | 0.77 | 0.93 |
max: pk1 | 1.12 | 1.04 | 1.15 |
avg: pk1 | 0.85 | 0.91 | 1.05 |
median: pk1 | 0.83 | 0.87 | 1.06 |
stddev: pk1 | 0.110 | 0.087 | 0.064 |
For InnoDB:
InnoDB | Point | Range | Write |
min: pk0 | 0.76 | 0.79 | 0.72 |
max: pk0 | 0.91 | 0.90 | 0.98 |
avg: pk0 | 0.86 | 0.86 | 0.83 |
median: pk0 | 0.86 | 0.86 | 0.77 |
stddev: pk0 | 0.033 | 0.028 | 0.112 |
| | | |
min: pk1 | 0.72 | 0.71 | 0.73 |
max: pk1 | 0.97 | 0.92 | 0.96 |
avg: pk1 | 0.79 | 0.84 | 0.81 |
median: pk1 | 0.76 | 0.85 | 0.75 |
stddev: pk1 | 0.072 | 0.066 | 0.098 |
Summary statistics: 32 vcpu, 16 clients, AWS
For MyRocks:
MyRocks | Point | Range | Write |
min: pk0 | 0.85 | 0.83 | 0.83 |
max: pk0 | 1.73 | 2.28 | 1.29 |
avg: pk0 | 1.24 | 1.09 | 1.04 |
median: pk0 | 1.14 | 1.05 | 0.99 |
stddev: pk0 | 0.244 | 0.350 | 0.167 |
| | | |
min: pk1 | 0.77 | 0.76 | 0.81 |
max: pk1 | 1.32 | 1.28 | 1.05 |
avg: pk1 | 1.06 | 0.91 | 0.91 |
median: pk1 | 1.03 | 0.89 | 0.88 |
stddev: pk1 | 0.168 | 0.140 | 0.079 |
For Postgres:
Postgres | Point | Range | Write |
min: pk0 | 0.75 | 0.75 | 0.79 |
max: pk0 | 0.91 | 0.97 | 1.45 |
avg: pk0 | 0.81 | 0.82 | 1.17 |
median: pk0 | 0.81 | 0.80 | 1.24 |
stddev: pk0 | 0.044 | 0.065 | 0.219 |
| | | |
min: pk1 | 0.75 | 0.74 | 0.86 |
max: pk1 | 1.06 | 1.07 | 1.55 |
avg: pk1 | 0.91 | 0.89 | 1.21 |
median: pk1 | 0.91 | 0.88 | 1.24 |
stddev: pk1 | 0.091 | 0.093 | 0.204 |
For InnoDB:
InnoDB | Point | Range | Write |
min: pk0 | 0.66 | 0.69 | 0.78 |
max: pk0 | 0.87 | 0.87 | 2.34 |
avg: pk0 | 0.79 | 0.76 | 1.21 |
median: pk0 | 0.81 | 0.76 | 1.00 |
stddev: pk0 | 0.060 | 0.053 | 0.512 |
| | | |
min: pk1 | 0.74 | 0.75 | 0.86 |
max: pk1 | 0.91 | 0.89 | 2.03 |
avg: pk1 | 0.83 | 0.79 | 1.12 |
median: pk1 | 0.85 | 0.76 | 0.97 |
stddev: pk1 | 0.053 | 0.048 | 0.343 |
Summary statistics: 64 vcpu, 16 clients, AWS
For MyRocks:
MyRocks | Point | Range | Write |
min: pk0 | 0.74 | 0.73 | 0.62 |
max: pk0 | 1.11 | 1.37 | 1.03 |
avg: pk0 | 0.95 | 0.90 | 0.79 |
median: pk0 | 0.95 | 0.88 | 0.71 |
stddev: pk0 | 0.098 | 0.151 | 0.155 |
| | | |
min: pk1 | 0.70 | 0.69 | 0.57 |
max: pk1 | 0.96 | 1.70 | 0.90 |
avg: pk1 | 0.85 | 0.87 | 0.74 |
median: pk1 | 0.84 | 0.82 | 0.70 |
stddev: pk1 | 0.083 | 0.242 | 0.119 |
For Postgres:
Postgres | Point | Range | Write |
min: pk0 | 0.75 | 0.76 | 0.84 |
max: pk0 | 0.90 | 0.92 | 1.75 |
avg: pk0 | 0.83 | 0.83 | 1.02 |
median: pk0 | 0.82 | 0.82 | 0.95 |
stddev: pk0 | 0.033 | 0.040 | 0.266 |
| | | |
min: pk1 | 0.75 | 0.74 | 0.74 |
max: pk1 | 0.90 | 0.90 | 1.72 |
avg: pk1 | 0.82 | 0.81 | 0.97 |
median: pk1 | 0.82 | 0.80 | 0.91 |
stddev: pk1 | 0.034 | 0.045 | 0.273 |
For InnoDB:
InnoDB | Point | Range | Write |
min: pk0 | 0.70 | 0.72 | 0.53 |
max: pk0 | 0.82 | 0.81 | 0.79 |
avg: pk0 | 0.77 | 0.76 | 0.64 |
median: pk0 | 0.80 | 0.77 | 0.58 |
stddev: pk0 | 0.042 | 0.030 | 0.111 |
| | | |
min: pk1 | 0.64 | 0.70 | 0.48 |
max: pk1 | 0.84 | 0.82 | 0.74 |
avg: pk1 | 0.77 | 0.73 | 0.60 |
median: pk1 | 0.79 | 0.72 | 0.54 |
stddev: pk1 | 0.062 | 0.038 | 0.110 |
Summary statistics: 64 vcpu, 32 clients, AWS
For MyRocks:
MyRocks | Point | Range | Write |
min: pk0 | 0.76 | 0.75 | 0.58 |
max: pk0 | 1.11 | 1.38 | 1.06 |
avg: pk0 | 0.93 | 1.05 | 0.84 |
median: pk0 | 0.95 | 1.09 | 0.79 |
stddev: pk0 | 0.081 | 0.209 | 0.150 |
| | | |
min: pk1 | 0.71 | 0.74 | 0.53 |
max: pk1 | 2.45 | 3.89 | 1.46 |
avg: pk1 | 1.28 | 1.54 | 0.89 |
median: pk1 | 1.03 | 1.51 | 0.77 |
stddev: pk1 | 0.485 | 0.834 | 0.278 |
For Postgres:
Postgres | Point | Range | Write |
min: pk0 | 0.74 | 0.75 | 0.85 |
max: pk0 | 0.94 | 1.03 | 2.14 |
avg: pk0 | 0.84 | 0.83 | 1.17 |
median: pk0 | 0.85 | 0.82 | 1.08 |
stddev: pk0 | 0.056 | 0.079 | 0.374 |
| | | |
min: pk1 | 0.72 | 0.74 | 0.74 |
max: pk1 | 0.94 | 1.02 | 2.14 |
avg: pk1 | 0.84 | 0.82 | 1.12 |
median: pk1 | 0.85 | 0.83 | 1.06 |
stddev: pk1 | 0.057 | 0.074 | 0.388 |
For InnoDB:
InnoDB | Point | Range | Write |
min: pk0 | 0.67 | 0.71 | 0.55 |
max: pk0 | 0.86 | 0.84 | 1.12 |
avg: pk0 | 0.79 | 0.77 | 0.87 |
median: pk0 | 0.81 | 0.77 | 0.86 |
stddev: pk0 | 0.058 | 0.035 | 0.175 |
| | | |
min: pk1 | 0.64 | 0.70 | 0.57 |
max: pk1 | 0.88 | 0.90 | 1.08 |
avg: pk1 | 0.80 | 0.76 | 0.83 |
median: pk1 | 0.83 | 0.73 | 0.82 |
stddev: pk1 | 0.072 | 0.064 | 0.157 |
Summary statistics: 8 vcpu, 1 clients, GCP
For MyRocks:
MyRocks | Point | Range | Write |
min: pk0 | 0.60 | 0.57 | 0.57 |
max: pk0 | 0.87 | 0.95 | 0.75 |
avg: pk0 | 0.75 | 0.68 | 0.67 |
median: pk0 | 0.76 | 0.66 | 0.67 |
stddev: pk0 | 0.063 | 0.093 | 0.047 |
| | | |
min: pk1 | 0.54 | 0.59 | 0.56 |
max: pk1 | 0.82 | 0.77 | 0.78 |
avg: pk1 | 0.74 | 0.67 | 0.65 |
median: pk1 | 0.75 | 0.67 | 0.66 |
stddev: pk1 | 0.075 | 0.064 | 0.063 |
For Postgres:
Postgres | Point | Range | Write |
min: pk0 | 0.70 | 0.70 | 0.66 |
max: pk0 | 0.94 | 0.89 | 0.75 |
avg: pk0 | 0.80 | 0.77 | 0.70 |
median: pk0 | 0.81 | 0.75 | 0.70 |
stddev: pk0 | 0.070 | 0.055 | 0.030 |
| | | |
min: pk1 | 0.70 | 0.72 | 0.65 |
max: pk1 | 0.81 | 0.90 | 0.75 |
avg: pk1 | 0.75 | 0.78 | 0.71 |
median: pk1 | 0.74 | 0.76 | 0.72 |
stddev: pk1 | 0.035 | 0.052 | 0.033 |
For InnoDB:
InnoDB | Point | Range | Write |
min: pk0 | 0.57 | 0.60 | 0.56 |
max: pk0 | 0.75 | 0.77 | 0.71 |
avg: pk0 | 0.70 | 0.68 | 0.63 |
median: pk0 | 0.71 | 0.68 | 0.62 |
stddev: pk0 | 0.055 | 0.056 | 0.053 |
| | | |
min: pk1 | 0.56 | 0.60 | 0.59 |
max: pk1 | 0.99 | 0.94 | 0.72 |
avg: pk1 | 0.78 | 0.71 | 0.67 |
median: pk1 | 0.73 | 0.69 | 0.68 |
stddev: pk1 | 0.137 | 0.102 | 0.041 |
Summary statistics: 8 vcpu, 4 clients, GCP
For MyRocks:
MyRocks | Point | Range | Write |
min: pk0 | 0.54 | 0.52 | 0.69 |
max: pk0 | 0.88 | 2.77 | 0.91 |
avg: pk0 | 0.71 | 0.80 | 0.77 |
median: pk0 | 0.70 | 0.67 | 0.74 |
stddev: pk0 | 0.093 | 0.552 | 0.074 |
| | | |
min: pk1 | 0.55 | 0.51 | 0.59 |
max: pk1 | 0.97 | 0.74 | 0.97 |
avg: pk1 | 0.70 | 0.62 | 0.77 |
median: pk1 | 0.69 | 0.63 | 0.77 |
stddev: pk1 | 0.101 | 0.073 | 0.100 |
For Postgres:
Postgres | Point | Range | Write |
min: pk0 | 0.61 | 0.61 | 0.69 |
max: pk0 | 0.84 | 0.96 | 0.86 |
avg: pk0 | 0.72 | 0.73 | 0.79 |
median: pk0 | 0.71 | 0.70 | 0.80 |
stddev: pk0 | 0.061 | 0.104 | 0.053 |
| | | |
min: pk1 | 0.60 | 0.62 | 0.67 |
max: pk1 | 0.85 | 0.92 | 0.86 |
avg: pk1 | 0.70 | 0.71 | 0.78 |
median: pk1 | 0.70 | 0.68 | 0.79 |
stddev: pk1 | 0.058 | 0.104 | 0.066 |
For InnoDB:
InnoDB | Point | Range | Write |
min: pk0 | 0.50 | 0.55 | 0.67 |
max: pk0 | 0.86 | 0.89 | 1.64 |
avg: pk0 | 0.72 | 0.67 | 0.95 |
median: pk0 | 0.75 | 0.65 | 0.85 |
stddev: pk0 | 0.102 | 0.119 | 0.284 |
| | | |
min: pk1 | 0.46 | 0.50 | 0.62 |
max: pk1 | 0.73 | 0.86 | 1.54 |
avg: pk1 | 0.64 | 0.59 | 0.87 |
median: pk1 | 0.67 | 0.53 | 0.79 |
stddev: pk1 | 0.087 | 0.115 | 0.267 |
Summary statistics: 30/32 vcpu, 8 clients, GCP
For MyRocks:
MyRocks | Point | Range | Write |
min: pk0 | 0.50 | 0.47 | 0.49 |
max: pk0 | 0.94 | 1.24 | 0.84 |
avg: pk0 | 0.72 | 0.68 | 0.63 |
median: pk0 | 0.71 | 0.65 | 0.59 |
stddev: pk0 | 0.103 | 0.182 | 0.105 |
| | | |
min: pk1 | 0.46 | 0.47 | 0.46 |
max: pk1 | 0.81 | 0.73 | 0.84 |
avg: pk1 | 0.68 | 0.59 | 0.59 |
median: pk1 | 0.73 | 0.59 | 0.56 |
stddev: pk1 | 0.104 | 0.090 | 0.109 |
For Postgres:
Postgres | Point | Range | Write |
min: pk0 | 0.64 | 0.64 | 0.61 |
max: pk0 | 0.75 | 0.85 | 0.78 |
avg: pk0 | 0.68 | 0.71 | 0.69 |
median: pk0 | 0.68 | 0.67 | 0.70 |
stddev: pk0 | 0.033 | 0.069 | 0.050 |
| | | |
min: pk1 | 0.65 | 0.64 | 0.55 |
max: pk1 | 0.74 | 0.86 | 0.77 |
avg: pk1 | 0.68 | 0.70 | 0.67 |
median: pk1 | 0.68 | 0.68 | 0.69 |
stddev: pk1 | 0.027 | 0.074 | 0.061 |
For InnoDB:
InnoDB | Point | Range | Write |
min: pk0 | 0.48 | 0.54 | 0.50 |
max: pk0 | 0.78 | 0.83 | 0.76 |
avg: pk0 | 0.66 | 0.65 | 0.60 |
median: pk0 | 0.69 | 0.64 | 0.56 |
stddev: pk0 | 0.087 | 0.107 | 0.089 |
| | | |
min: pk1 | 0.47 | 0.52 | 0.45 |
max: pk1 | 0.73 | 0.89 | 0.70 |
avg: pk1 | 0.64 | 0.60 | 0.56 |
median: pk1 | 0.67 | 0.54 | 0.53 |
stddev: pk1 | 0.084 | 0.106 | 0.076 |
Summary statistics: 30/32 vcpu, 15 clients, GCP
For MyRocks:
MyRocks | Point | Range | Write |
min: pk0 | 0.51 | 0.44 | 0.55 |
max: pk0 | 0.77 | 1.25 | 1.11 |
avg: pk0 | 0.65 | 0.70 | 0.70 |
median: pk0 | 0.65 | 0.65 | 0.66 |
stddev: pk0 | 0.072 | 0.216 | 0.155 |
| | | |
min: pk1 | 0.52 | 0.53 | 0.50 |
max: pk1 | 0.98 | 0.79 | 1.04 |
avg: pk1 | 0.75 | 0.65 | 0.71 |
median: pk1 | 0.78 | 0.64 | 0.66 |
stddev: pk1 | 0.113 | 0.083 | 0.155 |
For Postgres:
Postgres | Point | Range | Write |
min: pk0 | 0.60 | 0.62 | 0.72 |
max: pk0 | 0.81 | 0.98 | 1.03 |
avg: pk0 | 0.73 | 0.73 | 0.87 |
median: pk0 | 0.74 | 0.70 | 0.83 |
stddev: pk0 | 0.056 | 0.098 | 0.111 |
| | | |
min: pk1 | 0.60 | 0.61 | 0.70 |
max: pk1 | 0.81 | 0.95 | 1.02 |
avg: pk1 | 0.73 | 0.73 | 0.87 |
median: pk1 | 0.75 | 0.71 | 0.90 |
stddev: pk1 | 0.062 | 0.103 | 0.111 |
For InnoDB:
InnoDB | Point | Range | Write |
min: pk0 | 0.49 | 0.55 | 0.50 |
max: pk0 | 0.79 | 0.87 | 1.72 |
avg: pk0 | 0.67 | 0.68 | 0.92 |
median: pk0 | 0.70 | 0.67 | 0.87 |
stddev: pk0 | 0.084 | 0.106 | 0.328 |
| | | |
min: pk1 | 0.47 | 0.52 | 0.50 |
max: pk1 | 0.77 | 0.90 | 1.53 |
avg: pk1 | 0.68 | 0.64 | 0.83 |
median: pk1 | 0.71 | 0.58 | 0.75 |
stddev: pk1 | 0.094 | 0.114 | 0.275 |
No comments:
Post a Comment