Add ramp-up option for K6 job #126

Open
opened 2024-01-29 08:27:29 +00:00 by a-baranov · 3 comments

Performance tools quite often has ramp-up option to stabilize test results (period of time when load being generated to the target system but the tool does not acount this period of time in statistics).

I do suggest to add ramp-up option in K6 implementation. Something like:

test_title: write 512MiB 4h 100th node-off
  wipe_data: true
  **ramp_time: 600**

  load_params:
    error_threshold: 0.9
    working_dir: /var/log/autotests
    verify: false
    load_time: `3600`
    load_type: S3
    object_size: 524288
    scenario: S3
    nodes_selection_strategy: ALL
    endpoint_selection_strategy: FIRST
    k6_process_allocation_strategy: PER_LOAD_NODE
    readers: 0
    writers: 100
    preset:
      buckets_count: 100
      workers: 100
      s3_location: node-off
      objects_count: 0

where ramp_time: 600 means after wiping data and generation of preset run ramp-up period for 600 seconds.
actual test starts after ramp period.

Performance tools quite often has ramp-up option to stabilize test results (period of time when load being generated to the target system but the tool does not acount this period of time in statistics). I do suggest to add ramp-up option in K6 implementation. Something like: ``` test_title: write 512MiB 4h 100th node-off wipe_data: true **ramp_time: 600** load_params: error_threshold: 0.9 working_dir: /var/log/autotests verify: false load_time: `3600` load_type: S3 object_size: 524288 scenario: S3 nodes_selection_strategy: ALL endpoint_selection_strategy: FIRST k6_process_allocation_strategy: PER_LOAD_NODE readers: 0 writers: 100 preset: buckets_count: 100 workers: 100 s3_location: node-off objects_count: 0 ``` where **ramp_time: 600** means after wiping data and generation of preset run ramp-up period for 600 seconds. actual test starts after ramp period.
Owner

Something like:

The sentence looks unfinished.

>Something like: The sentence looks unfinished.
Author

Sentence finishied.

Sentence finishied.
Member

I assume it's not the right place for this issue. It can be implemented within 1d in the testlib repo.

Load config and actual k6 usage are implemented in frostfs-testlib repo
load_config.py
background_load_controller.py

I assume it's not the right place for this issue. It can be implemented within 1d in the testlib repo. Load config and actual k6 usage are implemented in frostfs-testlib repo [load_config.py](https://git.frostfs.info/TrueCloudLab/frostfs-testlib/src/branch/master/src/frostfs_testlib/load/load_config.py) [background_load_controller.py](https://git.frostfs.info/TrueCloudLab/frostfs-testlib/src/branch/master/src/frostfs_testlib/storage/controllers/background_load_controller.py)
abereziny self-assigned this 2024-02-05 13:08:55 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: TrueCloudLab/xk6-frostfs#126
No description provided.