Questions tagged [context-switch]
The context-switch tag has no usage guidance.
15
questions
0
votes
1
answer
119
views
High I/O wait and Context Switches - how to debug
Update:
sar -W -B -d output added to bottom of post.
I have simulated this on boot. I have uwsgi starting 9 instances of a django app, along with gunicorn for websockets, and dramatiq for queue ...
2
votes
2
answers
9k
views
Error in configuration: context was not found for specified context: kind-kind
This is my skaffold.yaml file:
apiVersion: skaffold/v2alpha3
kind: Config
deploy:
kubeContext: kind-kind
kubectl:
manifests:
- ./infra/k8s/*
build:
local:
push: false
artifacts:
...
0
votes
0
answers
56
views
Performance Issue
I'm doing some experiments with my application. My application is in a Docker container and it is programmed to send 4 request every second to a web-server. When I host 30 containers on a single ...
1
vote
2
answers
3k
views
3 different methods to count the number of context switches for a specific workload provide 2 different answers
I have a Centos7 system on a Google cloud machine, running a multithreaded database server that executes a particular set of queries in 70 secs (plus or minus 1 sec). I want to know how many context ...
1
vote
0
answers
5k
views
Windows: high Interrupts and Context Switches rates
I'm experiencing very high rate of Interrupts/sec and CSwitch/sec on my Windows10 machine. I'd look to understand whether it's a normal situation or not. For me the rates are seemed to high. Please ...
1
vote
1
answer
2k
views
Rule of thumb to compare number of context switches on Linux and Windows
I am looking for a rough value to compare context switches between Windows and Linux (same hardware and similar load assumed). I found that Windows seems to have a smaller range of timeslice lengths ...
0
votes
1
answer
472
views
Finding context switches count and run queue wait time for a process
I am observing (based on logs) that my (java) process pauses for something during execution. My first guess is a context switch. In order to verify I am trying to find (a) the number of involuntary ...
3
votes
2
answers
2k
views
My linux server "Number of processes created" and "Context switches" are growing incredibly fast
I have a strange behaviour in my server :-/. Is a OpenVZ VPS (I think is OpenVZ, because /proc/user_beancounters exists and df -h returns /dev/simfs drive. Also ifconfig returns venet0). When I do cat ...
1
vote
3
answers
2k
views
CPU context switch per/second increasing with network traffic increasing
I have server with ubuntu server operation system, i have some applications on it which works with network. With an increase in network traffic, CPU context swithching and interrupts are also ...
2
votes
3
answers
2k
views
More interruptions than cpu context switches
I have a machine running Debian GNU/Linux 5.0.8 (lenny) 8 cores and 12Gb of RAM.
We have one core permanently around 40% ~ 60% wait time and trying to spot what is happening I realized that we have ...
2
votes
2
answers
4k
views
High context switches on SQL Server box
We have a server with 2 quad xeon 5550 processors. The only application installed on the server is SQL server. CPU usage rarely goes above 40%, and the transaction rate is 2,000 transactions per ...
15
votes
5
answers
55k
views
Find out which task is generating a lot of context switches on linux
According to vmstat, my Linux server (2xCore2 Duo 2.5 GHz) is constantly doing around 20k context switches per second.
# vmstat 3
procs -----------memory---------- ---swap-- -----io---- -system-- --...
1
vote
1
answer
450
views
number of context switches
I've got munin monitoring virtual private server. And here're graphs for context switches:
By day: https://i.stack.imgur.com/GG6lR.gif
What could have caused this? I'm not worried about the pike, ...
2
votes
3
answers
6k
views
cause for high Interrupts and context switches
I have a quad core and I have spotted on munin (monitoring interrupts and context switches), that my interrupts and context switches spiked to 25k a second while the average was 250 for some time.
No ...
44
votes
5
answers
98k
views
How many Context Switches is "normal" (as a function of CPU cores (or other))?
Hi Linux/UNIX Overlords,
Do any of you have a rule of thumb as to how many context switches (per processor core) is Normal on a Linux server?
My college here brought it up, and he's seeing 16K on a ...