- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I used VTune 3.0 to profile the Linuxnetwork stack activities(RHEL 4.0 with 2.6 kernel). The NIC driveri used is 6.0.60 forIntelgigabit dual-port NIC.
I found the total clock ticks usedby the mwait_idle() function is unbelieveably as high as 50% of total clock ticks when I enabled hyper-threading for a dual Xeon processor platforms and the CPI for this mwait_idle() is about 4000. I did the same testing on a single Xeon processor with hyper threading enabled. The mwait_idle() only used 5% of total clock ticks and the CPI is about 1000.
I understand why CPI of mwait is so high (run as fewer instructions as possible).
But mwait_idle() should not be take half of clock ticks? If so, this means there is alwayshalf ofCPUsbeing idle for this dual-cpu platform? Right?
Anyonehas any clueabout this?
Thanks,
m.f.c.
Message Edited by mfcking@yahoo.com on 08-17-2005 05:10 PM
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
That would happen if you were running just one single threaded process.
Try running top. It should show how many CPUs are active and how many processes are working.
Colin
That would happen if you were running just one single threaded process.
Try running top. It should show how many CPUs are active and how many processes are working.
Colin
![](/skins/images/C4F7392A5C68ACA60290C9576F107044/responsive_peak/images/icon_anonymous_message.png)
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page