Jump to content

System Interrupts and svchost taking up CPU and Memory

Yayap7

Ok so I'm really fed up with this..

System Interrups and svchost has happened a few times now since I've built my computer in the beginning 2012. It hasn't happened for a while now but it's come up again.

It only happens when I wake up my PC. Everything is fine from a cold boot up or a regular restart but once I put my PC to sleep and the wake it up later, Core 1 is always running from 70%-100% and Core 3 is 30-70%   -at idle.

Cores 2 and 4 are around 3-10%, normal for idle

I have a desktop PC and specs are:

Intel i5 2500K

8GB (2x4) 1600MHz Crucial DDR3 RAM

GTX 780 OC, EVGA

Gigabyte Z68X-UD3H-B3 Motherboard

TPLink Wireless PCI adapter, TL-WN851ND

WD 7500RPM 1TB HDD

 

 

All my (necessary)drivers are up to date as far as I can tell and I don't have any disk problems or viruses or malware.  

I cannot figure out what the specific system interrupts are and svchost.exe(LocalSystemNetworkRestricted) are causing my CPU more problems than I want.

 

The only solution I have found for this is to fully reinstall Windows 7 on my PC and that is only temporary for around 8 months or so but these things always come back and it's getting really annoying.

 

Please, any help or suggestions?

--Desktop--                                                                 

Vanya                                                              

 

MSI B550M Pro-VDH WIFI

AMD Ryzen 5600X

Radeon RX 6600TX

G.Skill TridentZ Neo DDR4 3600Mhz  16 x 2

Link to comment
Share on other sites

Link to post
Share on other sites

It sounds like windows is pulling a 'tard. I've had this same issue, an OS reinstall fixed it for me.

Link to comment
Share on other sites

Link to post
Share on other sites

It sounds like windows is pulling a 'tard. I've had this same issue, an OS reinstall fixed it for me.

Yeah the thing is, I've had this problem at least two times now and have had to do a system restore each time. I've seen solutions of mic or speaker driver problems or windows update halts and such but I haven't had any of that trouble recently yet here it is again.

Odd thing is this only happens during computer wake up so it must not be "going to sleep" properly..

--Desktop--                                                                 

Vanya                                                              

 

MSI B550M Pro-VDH WIFI

AMD Ryzen 5600X

Radeon RX 6600TX

G.Skill TridentZ Neo DDR4 3600Mhz  16 x 2

Link to comment
Share on other sites

Link to post
Share on other sites

Yeah the thing is, I've had this problem at least two times now and have had to do a system restore each time. I've seen solutions of mic or speaker driver problems or windows update halts and such but I haven't had any of that trouble recently yet here it is again.

Odd thing is this only happens during computer wake up so it must not be "going to sleep" properly..

It's a driver not behaving. Use this tool: http://www.thesycon.de/eng/latency_check.shtml

and in instructions here: http://www.sysnative.com/forums/windows-7-%7C-windows-vista-tutorials/5721-how-to-diagnose-and-fix-high-dpc-latency-issues-with-wpa-windows-windows-vista-7-8-a.html

Post your findings, we could help ID what driver is causing issues if you can't manage to figure it out.

It will also be easier to use Latencymon: http://www.resplendence.com/latencymon than the Windows debugging toolkit.

▶ Learn from yesterday, live for today, hope for tomorrow. The important thing is not to stop questioning. - Einstein◀

Please remember to mark a thread as solved if your issue has been fixed, it helps other who may stumble across the thread at a later point in time.

Link to comment
Share on other sites

Link to post
Share on other sites

It's a driver not behaving. Use this tool: http://www.thesycon.de/eng/latency_check.shtml

and in instructions here: http://www.sysnative.com/forums/windows-7-%7C-windows-vista-tutorials/5721-how-to-diagnose-and-fix-high-dpc-latency-issues-with-wpa-windows-windows-vista-7-8-a.html

Post your findings, we could help ID what driver is causing issues if you can't manage to figure it out.

It will also be easier to use Latencymon: http://www.resplendence.com/latencymon than the Windows debugging toolkit.

Hmm ok thanks.  I'm running the tools on a cold bootup and I'll get those results then I'll do a sleep/wake cycle and if the system interrupts again(it most likely will) then I'll run the tools for a while and then post those results.

I've been starting to think this is a hardware error but maybe not.

--Desktop--                                                                 

Vanya                                                              

 

MSI B550M Pro-VDH WIFI

AMD Ryzen 5600X

Radeon RX 6600TX

G.Skill TridentZ Neo DDR4 3600Mhz  16 x 2

Link to comment
Share on other sites

Link to post
Share on other sites

Hmm ok thanks.  I'm running the tools on a cold bootup and I'll get those results then I'll do a sleep/wake cycle and if the system interrupts again(it most likely will) then I'll run the tools for a while and then post those results.

I've been starting to think this is a hardware error but maybe not.

Ok, please do. On rare occasions it can be faulty hardware that may need to be RMA'd, but most often than not, it is due to 'bad drivers'.

▶ Learn from yesterday, live for today, hope for tomorrow. The important thing is not to stop questioning. - Einstein◀

Please remember to mark a thread as solved if your issue has been fixed, it helps other who may stumble across the thread at a later point in time.

Link to comment
Share on other sites

Link to post
Share on other sites

Alright so it seems that there are more problems than I thought.  Even from a cold boot up and using the computer in idle and running a game and programs there are latency problems that both programs have caught..

 

DPC Latency Checker:  Some device drivers on this machine behave bad and will probably cause drop outs in real-time audio or video streams.  To isolate the misbehaving driver use Device Manager and disable/re-enable various devices, one at a time..

Absolute Maximum:  7977

 

LatencyMon:  Your system appears to be having trouble handling real-time audio and other tasks.. One or more DCP routines that belong to a driver running in your system appear to be executing for too long. At least one problem is network related. One problem may be related to power management, disable CPU throttling settings in Ctr Panel and BIOS. Check BIOS for update..

Highest reported interrupt to process latency:  11142.85

Highest reported ISR routine exe time:  709.9

Highest reported DPC routine exe time:   2165.43

Reported Total hard pagefault count:  32549

Highest reported  hard pagefault resolution time:   1329074380936.880

--Desktop--                                                                 

Vanya                                                              

 

MSI B550M Pro-VDH WIFI

AMD Ryzen 5600X

Radeon RX 6600TX

G.Skill TridentZ Neo DDR4 3600Mhz  16 x 2

Link to comment
Share on other sites

Link to post
Share on other sites

_________________________________________________________________________________________________________

CONCLUSION

_________________________________________________________________________________________________________

Your system appears to be having trouble handling real-time audio and other tasks. You are likely to experience buffer underruns appearing as drop outs, clicks or pops. One or more DPC routines that belong to a driver running in your system appear to be executing for too long. At least one detected problem appears to be network related. In case you are using a WLAN adapter, try disabling it to get better results. One problem may be related to power management, disable CPU throttling settings in Control Panel and BIOS setup. Check for BIOS updates. 

LatencyMon has been analyzing your system for  1:01:56  (h:mm:ss) on all processors.

 

 

_________________________________________________________________________________________________________

SYSTEM INFORMATION

_________________________________________________________________________________________________________

Computer name:                                        MJOLNIR_YAYAP7

OS version:                                           Windows 7 Service Pack 1, 6.1, build: 7601 (x64)

Hardware:                                             Z68X-UD3H-B3, Gigabyte Technology Co., Ltd.

CPU:                                                  GenuineIntel Intel® Core i5-2500K CPU @ 3.30GHz

Logical processors:                                   4

Processor groups:                                     1

RAM:                                                  8109 MB total

 

 

_________________________________________________________________________________________________________

CPU SPEED

_________________________________________________________________________________________________________

Reported CPU speed:                                   3309.0 MHz

Measured CPU speed:                                   2248.0 MHz (approx.)

 

Note: reported execution times may be calculated based on a fixed reported CPU speed. Disable variable speed settings like Intel Speed Step and AMD Cool N Quiet in the BIOS setup for more accurate results.

 

 

_________________________________________________________________________________________________________

MEASURED INTERRUPT TO USER PROCESS LATENCIES

_________________________________________________________________________________________________________

The interrupt to process latency reflects the measured interval that a usermode process needed to respond to a hardware request from the moment the interrupt service routine started execution. This includes the scheduling and execution of a DPC routine, the signaling of an event and the waking up of a usermode thread from an idle wait state in response to that event.

 

Highest measured interrupt to process latency (µs):   11142.850690

Average measured interrupt to process latency (µs):   3.667641

 

Highest measured interrupt to DPC latency (µs):       8054.867773

Average measured interrupt to DPC latency (µs):       1.365964

 

 

_________________________________________________________________________________________________________

 REPORTED ISRs

_________________________________________________________________________________________________________

Interrupt service routines are routines installed by the OS and device drivers that execute in response to a hardware interrupt signal.

 

Highest ISR routine execution time (µs):              709.928377

Driver with highest ISR routine execution time:       HECIx64.sys - Intel® Management Engine Interface, Intel Corporation

 

Highest reported total ISR routine time (%):          0.159331

Driver with highest ISR total time:                   dxgkrnl.sys - DirectX Graphics Kernel, Microsoft Corporation

 

Total time spent in ISRs (%)                          0.378809

 

ISR count (execution time <250 µs):                   9677802

ISR count (execution time 250-500 µs):                0

ISR count (execution time 500-999 µs):                40

ISR count (execution time 1000-1999 µs):              0

ISR count (execution time 2000-3999 µs):              0

ISR count (execution time >=4000 µs):                 0

 

 

_________________________________________________________________________________________________________

REPORTED DPCs

_________________________________________________________________________________________________________

DPC routines are part of the interrupt servicing dispatch mechanism and disable the possibility for a process to utilize the CPU while it is interrupted until the DPC has finished execution.

 

Highest DPC routine execution time (µs):              2165.436990

Driver with highest DPC routine execution time:       ndis.sys - NDIS 6.20 driver, Microsoft Corporation

 

Highest reported total DPC routine time (%):          0.092175

Driver with highest DPC total execution time:         ndis.sys - NDIS 6.20 driver, Microsoft Corporation

 

Total time spent in DPCs (%)                          0.407716

 

DPC count (execution time <250 µs):                   26265766

DPC count (execution time 250-500 µs):                0

DPC count (execution time 500-999 µs):                464

DPC count (execution time 1000-1999 µs):              5

DPC count (execution time 2000-3999 µs):              1

DPC count (execution time >=4000 µs):                 0

 

 

_________________________________________________________________________________________________________

 REPORTED HARD PAGEFAULTS

_________________________________________________________________________________________________________

Hard pagefaults are events that get triggered by making use of virtual memory that is not resident in RAM but backed by a memory mapped file on disk. The process of resolving the hard pagefault requires reading in the memory from disk while the process is interrupted and blocked from execution.

 

NOTE: some processes were hit by hard pagefaults. If these were programs producing audio, they are likely to interrupt the audio stream resulting in dropouts, clicks and pops. Check the Processes tab to see which programs were hit.

 

Process with highest pagefault count:                 svchost.exe

 

Total number of hard pagefaults                       32593

Hard pagefault count of hardest hit process:          20203

Highest hard pagefault resolution time (µs):          1329074380936.880

Total time spent in hard pagefaults (%):              172055.641552

Number of processes hit:                              32

 

 

_________________________________________________________________________________________________________

 PER CPU DATA

_________________________________________________________________________________________________________

CPU 0 Interrupt cycle time (s):                       175.986089

CPU 0 ISR highest execution time (µs):                709.928377

CPU 0 ISR total execution time (s):                   56.314990

CPU 0 ISR count:                                      9677842

CPU 0 DPC highest execution time (µs):                2165.436990

CPU 0 DPC total execution time (s):                   58.692124

CPU 0 DPC count:                                      25552162

_________________________________________________________________________________________________________

CPU 1 Interrupt cycle time (s):                       51.813404

CPU 1 ISR highest execution time (µs):                0.0

CPU 1 ISR total execution time (s):                   0.0

CPU 1 ISR count:                                      0

CPU 1 DPC highest execution time (µs):                249.078271

CPU 1 DPC total execution time (s):                   0.482276

CPU 1 DPC count:                                      141323

_________________________________________________________________________________________________________

CPU 2 Interrupt cycle time (s):                       15.518526

CPU 2 ISR highest execution time (µs):                0.0

CPU 2 ISR total execution time (s):                   0.0

CPU 2 ISR count:                                      0

CPU 2 DPC highest execution time (µs):                230.103052

CPU 2 DPC total execution time (s):                   0.694888

CPU 2 DPC count:                                      301873

_________________________________________________________________________________________________________

CPU 3 Interrupt cycle time (s):                       48.927342

CPU 3 ISR highest execution time (µs):                0.0

CPU 3 ISR total execution time (s):                   0.0

CPU 3 ISR count:                                      0

CPU 3 DPC highest execution time (µs):                244.407072

CPU 3 DPC total execution time (s):                   0.743095

CPU 3 DPC count:                                      270878

_________________________________________________________________________________________________________

--Desktop--                                                                 

Vanya                                                              

 

MSI B550M Pro-VDH WIFI

AMD Ryzen 5600X

Radeon RX 6600TX

G.Skill TridentZ Neo DDR4 3600Mhz  16 x 2

Link to comment
Share on other sites

Link to post
Share on other sites

Ok, first things first. Update your GPU drivers, and your network drivers if applicable.

After that, run the tool again. Also, were you playing a game while to tool was running?

▶ Learn from yesterday, live for today, hope for tomorrow. The important thing is not to stop questioning. - Einstein◀

Please remember to mark a thread as solved if your issue has been fixed, it helps other who may stumble across the thread at a later point in time.

Link to comment
Share on other sites

Link to post
Share on other sites

Ok, first things first. Update your GPU drivers, and your network drivers if applicable.

After that, run the tool again. Also, were you playing a game while to tool was running?

 

Alright well my GTX 780 is up to date, should I update the Intel HD Graphics 3000 as well?

And do I need to update the Ethernet drivers even though I am only using the PCI wireless card?

Do you know of any easier way of finding and installing drivers other than doing it all manually?(A way or program that doesn't have a "Premium-to-update" fee?

 

I was wandering around Guild Wars 2, an MMO for a bit. 

 

I did a sleep/wake cycle and I haven't checked the Windows monitor but on the meter gadget I have it's showing all cores at idel/normal and Core 1 is around 95%.

 

Max for the DPC Latency Checker so far is:  7963

 

LatencyMon

Max interrupt to process:  8468

Max ISR routine execution time:  924

Max DPC routine exe time:  1600

Highest hard pagefault res time:  56558

 

Those numbers are of about 13 minutes if mostly idle from sleep/wake cycle.

--Desktop--                                                                 

Vanya                                                              

 

MSI B550M Pro-VDH WIFI

AMD Ryzen 5600X

Radeon RX 6600TX

G.Skill TridentZ Neo DDR4 3600Mhz  16 x 2

Link to comment
Share on other sites

Link to post
Share on other sites

Yep, still the same results.  I've even disabled a few of the seemingly non-essential devices in the manager to limit possibilities..

And I cannot find the sources in the Windows Perf Analyzer because I am getting errors in the command prompt window pertaining to the commands that are suggested in the previously linked "How to Diagnose and Fix high latency.."

I've checked my BOIS and have all settings on default/optimized.

--Desktop--                                                                 

Vanya                                                              

 

MSI B550M Pro-VDH WIFI

AMD Ryzen 5600X

Radeon RX 6600TX

G.Skill TridentZ Neo DDR4 3600Mhz  16 x 2

Link to comment
Share on other sites

Link to post
Share on other sites

Yep, still the same results.  I've even disabled a few of the seemingly non-essential devices in the manager to limit possibilities..

And I cannot find the sources in the Windows Perf Analyzer because I am getting errors in the command prompt window pertaining to the commands that are suggested in the previously linked "How to Diagnose and Fix high latency.."

I've checked my BOIS and have all settings on default/optimized.

You mentioned you were using wireless, have you updated your wifi drivers? What wireless card to you have?

▶ Learn from yesterday, live for today, hope for tomorrow. The important thing is not to stop questioning. - Einstein◀

Please remember to mark a thread as solved if your issue has been fixed, it helps other who may stumble across the thread at a later point in time.

Link to comment
Share on other sites

Link to post
Share on other sites

I think I updated the driver but maybe not.. In the download it says 2011 but even when I select that driver in the manual update in Manager, it say's it's from 2010..

I'm using the TP Link TL-WN851ND  300Mbps Wireless PCI Adapter. 

--Desktop--                                                                 

Vanya                                                              

 

MSI B550M Pro-VDH WIFI

AMD Ryzen 5600X

Radeon RX 6600TX

G.Skill TridentZ Neo DDR4 3600Mhz  16 x 2

Link to comment
Share on other sites

Link to post
Share on other sites

Ok, so since quoting is broken at the moment, I just wanted to let you know that those drivers are a little outdated. From the looks at the Tp-Link website, they don't seem to care about updating their drivers and software.

 

Your wireless card says it uses the Atheros AR9227 chipset. You can download and install the latest Atheros drivers from here: https://www.atheros.cz/atheros-wireless-download.php?chipset=33&system=6

(Atheros doesn't provide OEM drivers, so this is the only website that actively lists and posts them)

▶ Learn from yesterday, live for today, hope for tomorrow. The important thing is not to stop questioning. - Einstein◀

Please remember to mark a thread as solved if your issue has been fixed, it helps other who may stumble across the thread at a later point in time.

Link to comment
Share on other sites

Link to post
Share on other sites

Hmm ok, good to know, thanks.  You think the network adapter is the problem or just that it could be something to mark off a list of several things?

--Desktop--                                                                 

Vanya                                                              

 

MSI B550M Pro-VDH WIFI

AMD Ryzen 5600X

Radeon RX 6600TX

G.Skill TridentZ Neo DDR4 3600Mhz  16 x 2

Link to comment
Share on other sites

Link to post
Share on other sites

Its just a precaution to mark it off the list of things that could cause an issue.

▶ Learn from yesterday, live for today, hope for tomorrow. The important thing is not to stop questioning. - Einstein◀

Please remember to mark a thread as solved if your issue has been fixed, it helps other who may stumble across the thread at a later point in time.

Link to comment
Share on other sites

Link to post
Share on other sites

Well I updated the driver and it froze less than a minute after and the PC's been freezing shortly after restart for the past free minutes.. 

--Desktop--                                                                 

Vanya                                                              

 

MSI B550M Pro-VDH WIFI

AMD Ryzen 5600X

Radeon RX 6600TX

G.Skill TridentZ Neo DDR4 3600Mhz  16 x 2

Link to comment
Share on other sites

Link to post
Share on other sites

Yep, I think I may have to roll back, I keep getting frozen.  Whether idle or playing a game the system seems to eventually slow down and quickly freeze and the only way to remedy it is to hard shut down..

--Desktop--                                                                 

Vanya                                                              

 

MSI B550M Pro-VDH WIFI

AMD Ryzen 5600X

Radeon RX 6600TX

G.Skill TridentZ Neo DDR4 3600Mhz  16 x 2

Link to comment
Share on other sites

Link to post
Share on other sites

Well I've been debating whether to upgrade some hardware this winter and I may just do so.. Thinking CPU, Motherboard, RAM, and Internet card or adapter.

I'm tempted to just do a fresh install as well but I don't think it will really fix the problem -especially if I install the improper drivers.

--Desktop--                                                                 

Vanya                                                              

 

MSI B550M Pro-VDH WIFI

AMD Ryzen 5600X

Radeon RX 6600TX

G.Skill TridentZ Neo DDR4 3600Mhz  16 x 2

Link to comment
Share on other sites

Link to post
Share on other sites

Ok, try rolling back and see what happens. It seems as if your wireless network adapter may be the culprit. Personally, I try to use ethernet whenever possible.

Out of curiosity, what happens if you remove the wireless network adapter from your rig, and then run the latency checker again?

▶ Learn from yesterday, live for today, hope for tomorrow. The important thing is not to stop questioning. - Einstein◀

Please remember to mark a thread as solved if your issue has been fixed, it helps other who may stumble across the thread at a later point in time.

Link to comment
Share on other sites

Link to post
Share on other sites

OK, I'll have to do all that tomorrow so hopefully you can bare with me.  

To me it's always seemed that the CPU and motherboard were the culprits most of the time because I don't think I've had any trouble with the wifi card.

I'll roll back and try taking it out tomorrow.  And ethernet isn't really a viable option for me unfortunately because of house, computer placement, and family.

 

Thanks for your help and suggestions! Hopefully we'll get this sorted out soon.  

--Desktop--                                                                 

Vanya                                                              

 

MSI B550M Pro-VDH WIFI

AMD Ryzen 5600X

Radeon RX 6600TX

G.Skill TridentZ Neo DDR4 3600Mhz  16 x 2

Link to comment
Share on other sites

Link to post
Share on other sites

Ok, try rolling back and see what happens. It seems as if your wireless network adapter may be the culprit. Personally, I try to use ethernet whenever possible.

Out of curiosity, what happens if you remove the wireless network adapter from your rig, and then run the latency checker again?

 

Ok, was able to roll back the TPLink Wireless driver in Safe Mode and no more freezing.

I also put the computer to sleep and then took out the wireless PCI card and woke the machine back up and so far as of the past few minutes the computer seems stable.  All CPU cores acting as they should in idle, Core 1 isn't running at 80%+ anymore and both tools haven't reported any poor latency.

 

You may have been dead on, I'll do some more testing but so far, there hasn't been any issues with the wireless card out of the system.

--Desktop--                                                                 

Vanya                                                              

 

MSI B550M Pro-VDH WIFI

AMD Ryzen 5600X

Radeon RX 6600TX

G.Skill TridentZ Neo DDR4 3600Mhz  16 x 2

Link to comment
Share on other sites

Link to post
Share on other sites

Ok, was able to roll back the TPLink Wireless driver in Safe Mode and no more freezing.

I also put the computer to sleep and then took out the wireless PCI card and woke the machine back up and so far as of the past few minutes the computer seems stable.  All CPU cores acting as they should in idle, Core 1 isn't running at 80%+ anymore and both tools haven't reported any poor latency.

 

You may have been dead on, I'll do some more testing but so far, there hasn't been any issues with the wireless card out of the system.

Glad to see we may have narrowed down the issue!

Personally, I tend to stay away from cheap generic wireless interfaces. Not saying TP-Link is bad, they just don't provide good driver support (from my experience).

 

Keep on testing an please post an update!

▶ Learn from yesterday, live for today, hope for tomorrow. The important thing is not to stop questioning. - Einstein◀

Please remember to mark a thread as solved if your issue has been fixed, it helps other who may stumble across the thread at a later point in time.

Link to comment
Share on other sites

Link to post
Share on other sites

Glad to see we may have narrowed down the issue!

Personally, I tend to stay away from cheap generic wireless interfaces. Not saying TP-Link is bad, they just don't provide good driver support (from my experience).

 

Keep on testing an please post an update!

Whelp, mostly everything seems to be alright with CPU usage but still getting high latency..

 

These are the results after playing a bit of Mirrors Edge.

Highest Interrupt to process latency:  15109

Highest DPC routine exe time:   2705

Highest Reported hard pagefault resolution time: 170655

--Desktop--                                                                 

Vanya                                                              

 

MSI B550M Pro-VDH WIFI

AMD Ryzen 5600X

Radeon RX 6600TX

G.Skill TridentZ Neo DDR4 3600Mhz  16 x 2

Link to comment
Share on other sites

Link to post
Share on other sites

Whelp, mostly everything seems to be alright with CPU usage but still getting high latency..

 

These are the results after playing a bit of Mirrors Edge.

Highest Interrupt to process latency:  15109

Highest DPC routine exe time:   2705

Highest Reported hard pagefault resolution time: 170655

Higher latency values are to be expected when playing video games.

To be fair, gaming or any other task that takes up CPU cycles or GPU usage will induce high latency.

 

You should be looking at whether the latency exists upon boot, reboot, sleep, and wake from hibernation.

▶ Learn from yesterday, live for today, hope for tomorrow. The important thing is not to stop questioning. - Einstein◀

Please remember to mark a thread as solved if your issue has been fixed, it helps other who may stumble across the thread at a later point in time.

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×