high cpu for minutes, no source in taskmgr

Ask questions about dedicated servers here and we and other users will do our best to answer them. Please also refer to the self-help section for tutorials and answers to the most commonly asked questions.
Post Reply
bfrqrv
New to forums
New to forums
Posts: 6
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Fri Apr 10, 2015 9:40 am

high cpu for minutes, no source in taskmgr

Post by bfrqrv »

Hi,

Windows 2008r2. Did not do anything else. Suddenly random cpu spikes for minutes long. Normal usage is around 50% with 4 cores but then it rises to 100%. There is NO consumer in taskmgr. It just rises all the servers processes with 1-2% so the total rises with 50%. So there is no proces responsible for the ingrease, just all processes go higher.
Uptime 3 months. What can this be? Like we loosing cpu power or something. What can raise the cpu of 35 servers all in one time without having changed something and without a responsible process in taskmgr, just all the normal processes are rising.
User avatar
Edge100x
Founder
Founder
Posts: 13126
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: high cpu for minutes, no source in taskmgr

Post by Edge100x »

Does the Resource Monitor show a lowered "% Maximum Frequency" value on its "Overview" page when this happens?
bfrqrv
New to forums
New to forums
Posts: 6
Joined: Fri Apr 10, 2015 9:40 am

Re: high cpu for minutes, no source in taskmgr

Post by bfrqrv »

Oke, I will check that the next time it happens. I can only reproduce when most of the serevrs are full. Thats the time that all servers can do 1% more and the total becomes 100 instead of 50-60.
bfrqrv
New to forums
New to forums
Posts: 6
Joined: Fri Apr 10, 2015 9:40 am

Re: high cpu for minutes, no source in taskmgr

Post by bfrqrv »

This is not easy to determine when the cpu is not close to 100% usage. But I can see the exact same thing happening when its at a lower rate. At this moment the cpu usage is around 20% with all servers running with this amount of players. Tonight everything is higher because the player count. Randomly all servers are getting 1-2% more that totals up to totaly 50%. When that happens tonight we will get the difference between 70 and 100% and thats where we notice afcours.

When the servers go to 50% fcoming from 20 total, the 100% maximum frequency is still stable. I will see that parameter tonight if its still stable.

Can you guys sum up some reasons why this can happen? There is not any virus or other unwanted software on the machine, and it was stable for months. We did not change the servers, and all processes go 1-2% higher all at once.
User avatar
Edge100x
Founder
Founder
Posts: 13126
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: high cpu for minutes, no source in taskmgr

Post by Edge100x »

With a dedicated E3 machine, there are four physical cores, which are split into 8 hyperthreaded cores. When the OS is able to schedule processes so that only one of the two virtual hyperthreaded cores on each physical core is being used, processes are able to run at full speed (for the most part; there's also the impact of memory contention and turbo, among others). When it can't do that -- roughly when it is showing that the the overall CPU usage is 50% -- the overall CPU usage of the machine starts to jump up drastically, with every process showing higher CPU usage. That is because each process on two hyperthreaded cores that share a physical core runs more slowly.

For this reason, and in order to give your machine some headroom for spikes in consumption, we don't recommend going above 50% CPU usage as 5-minute average.

If you notice a problem when your overall CPU usage goes over 50%, this is probably what it is, and you should consider either reconfiguring your servers to lower their CPU consumption or adding another machine.

(If you see the "% Maximum Frequency" dropping, that would be a different cause -- the machine might be overheating or there might be a power issue.)
bfrqrv
New to forums
New to forums
Posts: 6
Joined: Fri Apr 10, 2015 9:40 am

Re: high cpu for minutes, no source in taskmgr

Post by bfrqrv »

I think it can be that, at least I find that a logical explanaition for above 50% but then I have 2 questions left
Like I wrote in the message before, I saw the same thing between 20% and 50%
Secondly its weird that I never have noticed this since the time we have 4 cores.
But I will check this better. I will monitor the cpu and log the fluctuation to see if your option is the right one.
bfrqrv
New to forums
New to forums
Posts: 6
Joined: Fri Apr 10, 2015 9:40 am

Re: high cpu for minutes, no source in taskmgr

Post by bfrqrv »

Its not the 50% story. Like I said before it was a plausible reason, but I saw it also happening when the total cpu usage was 20%
Now I have made a video of it and I captured from where the processes are too high, and the moment where it falss down to the normal usage again. The normal is at that moment around 25% the constantly too high amount is around 80-90%

http://www.blackshalo.com/cpu.mp4
Look at 5:31, there you can see the fall down to normal again. You cans ee all processes go normal.

What can I do to get this weird thing away? I don't want to reinstall Windows too soon, because that has a major effect on our ratings. I want to find the real reason. Is there something else we can monitor so we can find the reason that all the processes go higher then normal?
Post Reply