The tag has no wiki summary.

learn more… | top users | synonyms

-1
votes
0answers
23 views

Does a web server switch contexts between php scripts or do they run in sequence? [closed]

I occasionally get the feeling that on my vps account, one busy php script, like an image processing script, can hog the server and almost completely stop all other page deliveries for its duration. ...
0
votes
1answer
31 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 ...
-1
votes
0answers
24 views

vmstat - context switches ok? [closed]

I am rather new to this tool and server optimization so my eye is not trained yet. Could someone give me a reading of these stats output by vmstat and let me know whether the context switches (or ...
0
votes
0answers
70 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 ...
2
votes
2answers
220 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 ...
0
votes
0answers
78 views

is context switching slow

I'm having high system CPU usage with high-load Apache server running. mpstat shows low %irq and %soft, but Apache spawns a lot of sub-processes, and I suspect context switches to be the reason of ...
0
votes
3answers
395 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 ...
0
votes
3answers
469 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
1answer
318 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 ...
2
votes
4answers
4k 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
1answer
259 views

number of context switches

I've got munin monitoring virtual private server. And here're graphs for context switches: By day: http://imgur.com/ljon5.gif What could have caused this? I'm not worried about the pike, because it ...
1
vote
3answers
2k views

cause for high Interrupts and context switches

Hey guys, 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 ...
14
votes
5answers
21k views

How many Context Switches is “normal” (as a function of CPU cores (or other))?

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 8-core x86_64 machine. ...