Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: adding support to io.cost setting #496

Merged
merged 4 commits into from
Apr 9, 2024

Conversation

lubinszARM
Copy link
Contributor

What type of PR is this?

Features

What this PR does / why we need it:

This patch provied the feature of io.cost setting.

Which issue(s) this PR fixes:

In production area, some critical services and online pods were affected by busy io.
This patch provieded the io qos feature

Special notes for your reviewer:

None

@lubinszARM lubinszARM requested a review from csfldf as a code owner March 4, 2024 07:17
Copy link

codecov bot commented Mar 4, 2024

Codecov Report

Attention: Patch coverage is 46.50350% with 153 lines in your changes are missing coverage. Please review.

Project coverage is 55.53%. Comparing base (b122f7b) to head (8ddf4ef).
Report is 3 commits behind head on main.

❗ Current head 8ddf4ef differs from pull request most recent head 48ad87d. Consider uploading reports for the commit 48ad87d to get more accurate results

Files Patch % Lines
...ent/qrm-plugins/io/handlers/iocost/iocost_linux.go 33.87% 121 Missing ⚠️
pkg/agent/qrm-plugins/io/handlers/iocost/utils.go 71.25% 17 Missing and 6 partials ⚠️
cmd/katalyst-agent/app/options/qrm/io_plugin.go 57.14% 6 Missing ⚠️
pkg/agent/qrm-plugins/io/staticpolicy/policy.go 50.00% 2 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #496      +/-   ##
==========================================
- Coverage   55.67%   55.53%   -0.14%     
==========================================
  Files         552      554       +2     
  Lines       59419    59751     +332     
==========================================
+ Hits        33083    33185     +102     
- Misses      22899    23130     +231     
+ Partials     3437     3436       -1     
Flag Coverage Δ
unittest 55.53% <46.50%> (-0.14%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@lubinszARM lubinszARM force-pushed the pr_iocost_setting branch 2 times, most recently from c711878 to 068d2b0 Compare March 4, 2024 07:31
@lubinszARM lubinszARM force-pushed the pr_iocost_setting branch 6 times, most recently from 219ab80 to ee7a488 Compare March 4, 2024 08:52
@lubinszARM lubinszARM force-pushed the pr_iocost_setting branch 3 times, most recently from 403a235 to 61fed04 Compare March 26, 2024 02:13
@lubinszARM lubinszARM force-pushed the pr_iocost_setting branch 11 times, most recently from 671e0e9 to e4c0f72 Compare April 8, 2024 03:18
Signed-off-by: Jianyu Sun <sunjianyu@bytedance.com>
Signed-off-by: Robin Lu <robin.lu@bytedance.com>
Signed-off-by: Robin Lu <robin.lu@bytedance.com>
for now, only HDD was supported.

Signed-off-by: Robin Lu <robin.lu@bytedance.com>
default io.cost.model applied to HDD disks

Signed-off-by: Robin Lu <robin.lu@bytedance.com>
@zzzzhhb zzzzhhb merged commit 12232d8 into kubewharf:main Apr 9, 2024
8 checks passed
waynepeking348 pushed a commit that referenced this pull request Apr 12, 2024
* feat: adding support to io.cost setting

Signed-off-by: Jianyu Sun <sunjianyu@bytedance.com>
Signed-off-by: Robin Lu <robin.lu@bytedance.com>

* feat(io.cost): adding rollback method

Signed-off-by: Robin Lu <robin.lu@bytedance.com>

* iocost: using default io.cost.qos

for now, only HDD was supported.

Signed-off-by: Robin Lu <robin.lu@bytedance.com>

* iocost: using default io.cost.model

default io.cost.model applied to HDD disks

Signed-off-by: Robin Lu <robin.lu@bytedance.com>

---------

Signed-off-by: Jianyu Sun <sunjianyu@bytedance.com>
Signed-off-by: Robin Lu <robin.lu@bytedance.com>
luomingmeng pushed a commit to luomingmeng/katalyst-core that referenced this pull request Oct 11, 2024
* feat: adding support to io.cost setting

Signed-off-by: Jianyu Sun <sunjianyu@bytedance.com>
Signed-off-by: Robin Lu <robin.lu@bytedance.com>

* feat(io.cost): adding rollback method

Signed-off-by: Robin Lu <robin.lu@bytedance.com>

* iocost: using default io.cost.qos

for now, only HDD was supported.

Signed-off-by: Robin Lu <robin.lu@bytedance.com>

* iocost: using default io.cost.model

default io.cost.model applied to HDD disks

Signed-off-by: Robin Lu <robin.lu@bytedance.com>

---------

Signed-off-by: Jianyu Sun <sunjianyu@bytedance.com>
Signed-off-by: Robin Lu <robin.lu@bytedance.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants