Coder Social home page Coder Social logo

Comments (3)

olmari avatar olmari commented on September 22, 2024

Tresholding this kind of values is always things where is no correct answers.

For the latter bullet-point, calculation currently calculates exactly average for all the cores in system, like you do describe it there later.

I think instead of representing the number as actual percent-figure we could just show the load-figure, which describes things more accurately as load of 8.00 in an 8 core system would mean that demand fromCPU's are exactly 1 for each core. Load can be higher than amount of cores, it just means that demand is higher than there is capable processing power.

The graph-bar itself could still stay exactly the same, it would show roughly in percentage that what average use there is from all the cores.. So we would get best of both worlds: bar-graph showing quickly the average load on whole system and then numbers would tell the actual load... maybe combine the number with available cores (we already get that info on the code) and show it like "0.13 / 8".

Other than that it is matter of personal preferences.. for some, load of under maximum is failure (say mining).. And after all load is still an number, users needs gives it an meaning.

from synth-shell.

andresgongora avatar andresgongora commented on September 22, 2024

I liek your suggestion. We show the bar as as a percentage indicator of system load, but do not show a % next to it, rather a system load in the shape 1.3 / 8. Which is also aesthetically more in line with the RAM, SWAP, etc...

from synth-shell.

andresgongora avatar andresgongora commented on September 22, 2024

Now the CPU load monitor is configurable. However, the average is still for the last 60 seconds, instead the last 5-10 seconds. I don't know how to configure this, but I think its not as critical as displaying the value properly. Will be addressed when new branch features/cleanup_startup gets merged.

from synth-shell.

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.