tool which shows reasons why a process is slow

  • Thread starter Thread starter Florian Kaufmann
  • Start date Start date
F

Florian Kaufmann

Hello

I am searching a tool which helps me to find out the reasons why a
certain process is slow or even hangs. As far as I know, a process can
be slow because it has to wait for certain IO operations. Or it has to
wait for mutex/semaphores. Or it hat has to wait for other events. Or
the OS's task scheduler never gives the CPU to the process for some
reason.

Now the tool should show me on what event the process is waiting, or
why the task scheduler never gives the CPU to the process. I know
Processexplorer from sysinternals. However I don't know how the
informations Processexplorer shows me about the process can help me to
identify the reason why a process is slow.

I'm looking for information like: In the last x seconds, I spent x1 sec
waiting for ip packets to arrive, I spent x2 seconds for events like
semaphores, I spent x3 sec waiting for IO from RAM (caused by swapping)
etc...

The purpose is that once I have this information, I can try to
eliminate the reason which causes my process to be slow: Buy more RAM,
move swap to a faster HD, kill another Process which also uses IP
Network a lot, kill another process with higher prio, kill another
Process which doesn't unlock a semaphore my process is waiting for etc.

Greetings

Florian Kaufmann
 
http://sysinternals.com/ => Utilities

best regards

Olaf

I second that. Try their Filemon app and you'll see everything that a
process is doing in real time. It may surprise you. Some apps do a LOT
behind the scenes, causing them to be slow, and you won't understand this
till you see it for yourself with Filemon.
 
Back
Top