Coder Social home page Coder Social logo

Comments (6)

raykzhao avatar raykzhao commented on July 20, 2024

Just tried with gcc on my Raspberry Pi and got the same issue.

from cacule-cpu-scheduler.

hamadmarri avatar hamadmarri commented on July 20, 2024

Hi Raymond,

Yes, it looks like the division of u64 is the problem. I will try to fix it soon.

By the way what patch revision are you using? Have you encountered any freezes or hangups while cpus on heavy load?

Thanks,

from cacule-cpu-scheduler.

raykzhao avatar raykzhao commented on July 20, 2024

Hi.

I am using the 5.8-r2, and so far I have not encountered any freezes/hangups during the heavy load e.g. compiling the kernel.

Regards,
Raymond

from cacule-cpu-scheduler.

hamadmarri avatar hamadmarri commented on July 20, 2024

Hi @raykzhao ,

Could you please try the attached patch
on top of https://github.com/hamadmarri/cachy-sched/blob/master/patches/cachy/v5.8/cachy-5.8-r5.patch

cachy-5.8-32bit-r5.zip

from cacule-cpu-scheduler.

raykzhao avatar raykzhao commented on July 20, 2024

Hi.

It works. Thank you!

Regards,
Raymond

from cacule-cpu-scheduler.

hamadmarri avatar hamadmarri commented on July 20, 2024

I suggest to tune the hrrn_max_lifetime in 32bit hardware to 4s because the maximum life time can unsigned int hold is roughly 4.29s

sudo sysctl kernel.sched_hrrn_max_lifetime_ms=4000

from cacule-cpu-scheduler.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.