Details
-
Bug
-
Resolution: Won't Do
-
Major
-
None
-
None
-
1
Description
I'm opening this ticket following on from MB-50615 in which we see a significant performance decrease in cbbackupmgr restore when TLS is enabled.
When we look at the cbbackupmgr logs we see that the KV Data Transfer phase (which AFAIK is a lot of SetWithMeta calls performed using gocbcore) takes ~2.4x longer when TLS is enabled:
Restore logs |
# No TLS
|
2022-01-27T11:28:16.498+00:00 (Plan) (Data) Successfully transferred key value data for bucket 'bucket-1' | {"number":10,"duration":"4m36.385734598s","stats":{"total_items":100000000,"total_vbuckets":1024,"vbuckets_complete":1024,"bytes_received":33431551078,"snapshot_markers_received":1024,"failover_logs_received":1024,"mutations_received":100000000,"started_at":1643282621179854539,"finished_at":1643282896497846864,"complete":true}}
|
|
# TLS
|
2022-01-27T02:31:40.682+00:00 (Plan) (Data) Successfully transferred key value data for bucket 'bucket-1' | {"number":10,"duration":"10m58.62433602s","stats":{"total_items":100000000,"total_vbuckets":1024,"vbuckets_complete":1024,"bytes_received":33431281009,"snapshot_markers_received":1024,"failover_logs_received":1024,"mutations_received":100000000,"started_at":1643250042976146303,"finished_at":1643250700682204667,"complete":true}}
|
We do of course expect some overhead for enabling TLS, the question is whether this much of a slowdown is reasonable.
Attachments
Issue Links
- relates to
-
GOCBC-1259 Improve KV performance with TLS enabled
- Open
-
MB-50615 [CBM] ~60% decrease in restore throughput with TLS enabled
- Closed