DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: Processing Delays!?  (Read 6,491 times)

TaoPhoenix

  • 0 - 60 ... then back to 0 again!
  • Supporting Member
  • Joined in 2011
  • **
  • Posts: 4,642
    • Participated in NANY Challenge Three Times
Processing Delays!?
« on: February 19, 2014, 02:06 AM »

A few times I have noticed that certain apps pause while doing something, while Task Manager "swears nothing is going on".

Does anyone know of a tool that covers this?

Just now I loaded a couple of programs and got stalled, but Task Manager was indicating cpu activity near 10% or less etc.

I'm on XP, it happens at work on Vista too.

How can a program delay and Task Manager not know about it?!
Use attachthumb=# to show an attached image as an expandable thumbnail, or attach=# to show full size. (With Brackets)

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: Processing Delays!?
« Reply #1 on: February 19, 2014, 02:18 AM »
This drives me bonkers.  It started happening on an XP install of mine and I could never find a way to identify what was causing it or to fix it.

I think the fact that it doesn't show up in the Task Manager cpu suggested that it is a low level system driver of some sort.

However, I strongly suspected it was caused by ESet antivirus/firewall -- the fact that it was happening always during disk access was one clue.

TaoPhoenix

  • 0 - 60 ... then back to 0 again!
  • Supporting Member
  • Joined in 2011
  • **
  • Posts: 4,642
    • Participated in NANY Challenge Three Times
Re: Processing Delays!?
« Reply #2 on: February 19, 2014, 02:25 AM »
This drives me bonkers.  It started happening on an XP install of mine and I could never find a way to identify what was causing it or to fix it.

I think the fact that it doesn't show up in the Task Manager cpu suggested that it is a low level system driver of some sort.

However, I strongly suspected it was caused by ESet antivirus/firewall  the fact that it was happening always during disk access was one clue.

I don't *think* I have Eset active (what even is that? It sounds vaguely familiar to something I thought I nuked a while back) - but it's popped up a few times. How can a stall not be processed by Task Manager?! ( I might have screwed up these quotes.)

Use attachthumb=# to show an attached image as an expandable thumbnail, or attach=# to show full size. (With Brackets)

verszipo

  • Member
  • Joined in 2009
  • **
  • Posts: 26
    • Plugin Coding Medal
Re: Processing Delays!?
« Reply #3 on: February 19, 2014, 08:21 AM »
The problem is that if it's a drive access that causes the delay then the process itself is not using the CPU, so TaskManager won't show it.
You could try with an alternate task manager that shows disk activity too (i believe Process Explorer and Process Hacker both can show the disk activity, it is probably called "I/O activity", "I/O Delta Writes/Reads" or something similar).

In Win7 and Win8 there's a column in the builtin Taskmanager that shows disk activity too, not just CPU activity, don't remember if XP/Vista had the ability to show that data.

Shades

  • Member
  • Joined in 2006
  • **
  • Posts: 2,954
Re: Processing Delays!?
« Reply #4 on: February 19, 2014, 10:59 AM »
In both Process Explorer an Process Hacker, keep an eye out for the entry called 'Interrupts'.

This value should always be as low as possible, preferably not exceeding 1 to 2% even when doing a lot of reading/writing to disk. Because if it does, it is the first precursor of your drive failing. This is closely related for making Windows 'pause' without apparent reason.
The easy path is usually downhill...

Vurbal

  • Mostly harmless
  • Supporting Member
  • Joined in 2012
  • **
  • Posts: 653
    • Writer
Re: Processing Delays!?
« Reply #5 on: February 19, 2014, 12:23 PM »
Process Monitor can also show a good deal of useful real time information including file system, registry, and detailed thread activity.
I learned to say the pledge of allegiance
Before they beat me bloody down at the station
They haven't got a word out of me since
I got a billion years probation
- The MC5

Follow the path of the unsafe, independent thinker. Expose your ideas to the danger of controversy. Speak your mind and fear less the label of ''crackpot'' than the stigma of conformity.
- Thomas J. Watson, Sr

It's not rocket surgery.
- Me


I recommend reading through my Bio before responding to any of my posts. It could save both of us a lot of time and frustration.

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 11,970
    • Gathering Badge
    • Participated in NANY Challenge Once
Re: Processing Delays!?
« Reply #6 on: February 19, 2014, 02:18 PM »
In both Process Explorer an Process Hacker, keep an eye out for the entry called 'Interrupts'.

This value should always be as low as possible, preferably not exceeding 1 to 2% even when doing a lot of reading/writing to disk. Because if it does, it is the first precursor of your drive failing. This is closely related for making Windows 'pause' without apparent reason.

Thanks,
found this in the Process Explorer help:

Quote
Interrupts and DPCs
On Windows NT-based systems Process Explorer shows two artificial processes: Interrupts and DPCs. These processes reflect the amount of time the system spends servicing hardware interrupts and Deferred Procedure Calls (DPCs), respectively. High CPU consumption by these activities can indicate a hardware problem or device driver bug. To see the total number of interrupts and DPCs executed since the system booted add the Context Switch column. Another sometimes useful metric is the number of interrupts and DPCs generated per refresh interval, which you see when you add the CSwitches Delta column.
Tom

Original address: https://www.donationcoder.com/forum/index.php?topic=37292.0