Giter VIP home page Giter VIP logo

Comments (3)

cactusinthenorth avatar cactusinthenorth commented on August 13, 2024

@tailorzed Can you please add more detail to this ticket so it can be properly prioritized

from support-diagnostics.

tailorzed avatar tailorzed commented on August 13, 2024

@cactusinthenorth: Sure, here we go:

Modern systems utilize multitasking which means that multiple processes/threads can share the same physical CPU (core). In order to implement this execution time on CPU is shared and limited to a certain time slot and when that ends, the state of the thread/process has to be saved to be resumed when the next available timeslot comes. The switching between processes/threads is called context switching. The downside of this technique is that if the system is running too many processes/threads, it takes a lot of resources to execute the context switching (also the timeslots are getting slimmer and slimmer). To determine if there is a lot of concurrent processes (meaning a lot of context switching) in the system, the vmstat command has an output field cs containing this number.

Example output:

# vmstat -t
procs -----------memory---------- ---swap-- -----io---- -system-- ------cpu----- -----timestamp-----
 r  b   swpd   free   buff  cache   si   so    bi    bo   in   cs us sy id wa st                 UTC
 1  0      0 21463564  35732 744408    0    0   501   452  295  452  1  2 97  0  0 2022-09-13 12:48:55

Manual page for vmstat: link

I hope this helps to support my request to add this printout.

from support-diagnostics.

cactusinthenorth avatar cactusinthenorth commented on August 13, 2024

@cory-fair is this for you?

from support-diagnostics.

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.