tokudb: thread contention with small block size on cachetable access
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Percona Server moved to https://jira.percona.com/projects/PS | Status tracked in 5.7 | |||||
5.5 |
Invalid
|
Undecided
|
Unassigned | |||
5.6 |
Opinion
|
Undecided
|
Unassigned | |||
5.7 |
Opinion
|
Undecided
|
Unassigned |
Bug Description
We have noticed that running an INSERT benchmark with tokudb_
Our test hardware is a 56x Intel Xeon E5-2660 v4 @ 2.00GHz, and 2 x800G Intel SSD DC P3608.
Running the benchmark with default Toku blocksize doesn't show anything weird in the system metrics, but if we create the same table with 16k blocksize and run the benchmark, load average goes over 600.
We did some experiments and have found that if we reduce the number of available threads for cachetable access, the problem is mitigated without much impact on the benchmark QPS.
By default, tokudb_
We tried reducing the value of tokudb_
FWIW, we tried this with and without a PK and the effect is the same.
This does not seem related to value of tokudb_cache_size as we have tried both with small (1G) and large (10G) cache to the same effect. In our tests, we used DIRECTIO and NO compression.
Thanks
Rick
Hey Rick, /jira.percona. com/browse/ TDB-37 for future tracking and marking it as opinion here as there is no other accurate matching state.
Thanks for the report, I am moving this over to https:/