Skip to content
This repository has been archived by the owner on Sep 2, 2021. It is now read-only.

patch 5.9-r8 #16

Closed
ghost opened this issue Nov 12, 2020 · 6 comments
Closed

patch 5.9-r8 #16

ghost opened this issue Nov 12, 2020 · 6 comments

Comments

@ghost
Copy link

ghost commented Nov 12, 2020

Can I use the 5.9-r8 patch with any 5.9.x kernel release?

@hamadmarri
Copy link
Owner

I hope so. The patch made on v5.9.1. I think it will patch successfully newer sub-versions.

Thank you

@raykzhao
Copy link

Hi @kevall474

The patch 5.9-r8 should work with the latest Linux 5.9 kernel (5.9.8).

@ghost
Copy link
Author

ghost commented Nov 13, 2020

Yes I tested it on 5.8.9-xanmod1 with no isues. But how you disable FAIR_GROUP_SCHED

@raykzhao
Copy link

Hi @kevall474

Cachy 5.9-r8 can support FAIR_GROUP_SCHED. I'm currently using the autogroup. There is also the xanmod 5.9-cachy branch (https://github.com/xanmod/linux/tree/5.9-cachy) with both FAIR_GROUP_SCHED and autogroup enabled.

@ghost
Copy link
Author

ghost commented Nov 13, 2020

Ok thanks FAIR_GROUP_SCHED was enable in my xanmod build with no problems. I was referring to this reddit post https://www.reddit.com/r/linux/comments/i32j1q/cachysched_patch_for_linux_kernel_58/

Its good to know that it can support FAIR_GROUP_SCHED

@hamadmarri
Copy link
Owner

Ok thanks FAIR_GROUP_SCHED was enable in my xanmod build with no problems. I was referring to this reddit post https://www.reddit.com/r/linux/comments/i32j1q/cachysched_patch_for_linux_kernel_58/

Its good to know that it can support FAIR_GROUP_SCHED

Hi @kevall474

Yes, the first version of Cachy didn't support NUMA nor FAIR_GROUP, but that was fixed later.

Anyway fair_group is added in CFS to enhance the interactivity and share the cpu among multiple users. IMO Cachy doesn't need fair_group nor autogroup for interactivity since it uses HRRN policy which by nature
will pick the highest response ratio task. You might have some performance increase by disabling Autogroup and FAIR_GROUP since they have huge code implementation in fair.c, but it is not always the case.

Thank you

@ghost ghost mentioned this issue Aug 1, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants