Skip to content
This repository was archived by the owner on Jul 24, 2024. It is now read-only.
This repository was archived by the owner on Jul 24, 2024. It is now read-only.

backup: --ratelimit doesn't work as intended #1007

@YuJuncen

Description

@YuJuncen

Please answer these questions before submitting your issue. Thanks!

  1. What did you do?
    If possible, provide a recipe for reproducing the error.
    Backup with --ratelimit 8 in a cluster with one TiKV.

  2. What did you expect to see?
    The speed should less than 8MB/s.

  3. What did you see instead?
    The speed is 28.30MB/s. And the table below shows the relation among ratelimit, concurrency and real speed.
    Workload: TPCC 10 warehouses(about 1GB).

ratelimit concurrency speed(MB/s)
32 4 55.66
32 1 31.28
8 4 28.30
8 1 14.24
4 4 16.94
4 1 8.37
2 4 9.30
2 1 4.50
  1. What version of BR and TiDB/TiKV/PD are you using?
    tiup v5.0.0

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions