Skip to content

roachpb: investigate disabling roachpb.Value checksum computation #21435

@petermattis

Description

@petermattis

#21395 disabled verification of the roachpb.Value checksums, providing a 15-20% speed boost to large MVCC scans. Checksums are still computed when values are written, they are just not verified. The justification for removing the verification is that TLS and RocksDB checksums already provide adequate coverage. RocksDB checksums have caught disk corruption in the wild. The roachpb.Value checksums never have.

Computation of the checksums was left in because disabling them may be problematic. We'd need to verify that checksums are never computed below Raft or perform a migration. But before doing any of that work, we should verify that disabling the checksum provides a speed boost. Workloads to investigate are simple KV operations are bulk insert operations.

@nvanbenschoten for triage.

Jira issue: CRDB-5886

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-performancePerf of queries or internals. Solution not expected to change functional behavior.X-nostaleMarks an issue/pr that should be ignored by the stale botno-issue-activityo-perf-efficiencyRelated to performance efficiency

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions