Coder Social home page Coder Social logo

high-hz.patch info about tt-cpu-scheduler HOT 7 CLOSED

hamadmarri avatar hamadmarri commented on June 17, 2024
high-hz.patch info

from tt-cpu-scheduler.

Comments (7)

hamadmarri avatar hamadmarri commented on June 17, 2024 1

yes

from tt-cpu-scheduler.

ptr1337 avatar ptr1337 commented on June 17, 2024 1

There, added your values.

https://github.com/ptr1337/kernel-patches/blob/master/5.15/TT/0001-high-hz.patch

from tt-cpu-scheduler.

antonellocaroli avatar antonellocaroli commented on June 17, 2024

@hamadmarri thanks!!!

from tt-cpu-scheduler.

antonellocaroli avatar antonellocaroli commented on June 17, 2024

PS: isn't there a version for the 5.10.x kernel?

from tt-cpu-scheduler.

ptr1337 avatar ptr1337 commented on June 17, 2024

@antonellocaroli

Currently it should be better, if you add these values also to the choices also, example you can see here:

from tt-cpu-scheduler.

antonellocaroli avatar antonellocaroli commented on June 17, 2024

@ptr1337 thanks!
probably also need to be changed?

diff --git a/include/linux/jiffies.h b/include/linux/jiffies.h
index 5e13f80..b427f8a 100644
--- a/include/linux/jiffies.h
+++ b/include/linux/jiffies.h
@@ -40,6 +40,14 @@
 # define SHIFT_HZ	12
 #elif HZ >= 6144 && HZ < 12288
 # define SHIFT_HZ	13
+#elif HZ >= 12288 && HZ < 24576
+# define SHIFT_HZ	14
+#elif HZ >= 24576 && HZ < 49152
+# define SHIFT_HZ	15
+#elif HZ >= 49152 && HZ < 98304
+# define SHIFT_HZ	16
+#elif HZ >= 98304 && HZ < 196608
+# define SHIFT_HZ	17
 #else
 # error Invalid value of HZ.
 #endif

from tt-cpu-scheduler.

ptr1337 avatar ptr1337 commented on June 17, 2024

@antonellocaroli

Yes, should also be added. But i dont think that that high values would help anymore. Already at 10k+ the kernel/your hardware wont be able to handle this. But you can test it out and show your results :)

from tt-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.