andrewducker: (hairy)
[personal profile] andrewducker
Looking in the Windows Task Manager, at the Performance Tab, I notice that most of the time, what's slowing my machine down isn't a program I'm running - it's something happening in the Kernel. (i.e. it's the red line, not the green one).

Does anyone have any suggestions for what will tell me _what_ in the kernel is taking up processor cycles?  I'd like to know if it's my sound, graphics, disk, or what...

Date: 2005-05-27 10:58 pm (UTC)
From: [identity profile] aberbotimue.livejournal.com
event viewer..

you can view cycles by loads of shit

Date: 2005-05-27 11:00 pm (UTC)
From: [identity profile] aberbotimue.livejournal.com
ecept xp doesmn't have it, does it!

Date: 2005-05-28 07:06 am (UTC)
From: [identity profile] code-delphi.livejournal.com
If you haven't come across it already, Sysinternals has an amazing range of truly useful freeware utilities for working out what's going on behind the scenes on a Win32 box. Specifically, Process Explorer is a more sophisticated task manager. I couldn't see how to display kernel/user time in the main window, but it is available in the properties of each process. You could use it to pin down which process(es) are spending too much time in the kernel. Sounds like something a little overly-threaded, which is spending too much time in the kernel context switching. Then again, my experience at that level is on Unix systems, so who knows just how that translates to Win32 (probably reasonably well, but nothing surprises me about Windows anymore).

Best of luck identifying the culprit!

Date: 2005-05-28 07:13 am (UTC)
From: [identity profile] code-delphi.livejournal.com
Following up on my previous comment, the PsList command line utility, run with the -x option, dumps all processes and how much each user and kernel time is used by each thread in each process.

January 2026

S M T W T F S
     1 2 3
45 6 7 8 9 10
11 12 13 1415 16 17
18 19 20 21 22 23 24
25 26 2728293031

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jan. 27th, 2026 08:37 pm
Powered by Dreamwidth Studios