-
Notifications
You must be signed in to change notification settings - Fork 154
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add vmstat to check context switches #596
Comments
@tailorzed Can you please add more detail to this ticket so it can be properly prioritized |
@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 Example output:
Manual page for vmstat: link I hope this helps to support my request to add this printout. |
@cory-fair is this for you? |
Could you please add
vmstat -t
to see the amount of context switches (with a timestamp)?The text was updated successfully, but these errors were encountered: