Click here to Skip to main content
       

Hardware & Devices

 
GeneralRe: Execute driver help PinmvpRichard MacCutchan23-Jun-12 0:42 
GeneralRe: Execute driver help Pinmemberfat_boy24-Jun-12 22:47 
GeneralRe: Execute driver help PinmemberBrandon T. H.20-Jul-12 19:28 
GeneralRe: Execute driver help Pinmemberbillious_bob19-Jun-12 3:46 
GeneralRe: Execute driver help PinmemberBrandon T. H.20-Jun-12 10:50 
GeneralRe: Execute driver help Pinmemberfat_boy20-Jun-12 22:03 
GeneralRe: Execute driver help PinmemberBrandon T. H.21-Jun-12 22:19 
GeneralRe: Execute driver help Pinmemberfat_boy22-Jun-12 5:04 
GeneralRe: Execute driver help PinmemberBrandon T. H.24-Jun-12 6:33 
GeneralRe: Execute driver help Pinmemberfat_boy24-Jun-12 22:48 
QuestionI figured out how to stop my system from racing! Pinmemberswampwiz4-Jun-12 10:46 
AnswerRe: I figured out how to stop my system from racing! PinmemberCDP18024-Jun-12 20:35 
AnswerRe: I figured out how to stop my system from racing! PinmvpDave Kreskowiak5-Jun-12 6:18 
QuestionUnderstanding CPU performance measurements [modified] PinmemberCDP180229-May-12 2:55 
I have been measuring the performance of a multithreaded application and, among other things, have made profiles of memory usage or thread synchronization. I also monitired the load on the CPU cores to get an impression of how well the threads are balanced.
 
My CPU is an I7 2600k and in the beginning everything looks really nice: The even cores show a load of 5 - 10%, with an occasional spike no larger than 30% when some event is being processed (= I clicked something). The odd numbered cores remain at 0%, so hyperthreading is not used. Then, without any obvious cause, core 0 (where obviously the more damanding threads are running) jumps to 100% and stays there. Looking at the profiles, the behavior of the main thread has changed. It now does not sleep to synchronize with the GPU anymore. It obviously now gets its job done just in time.
 
First I thought that the program may go crazy at times, but the profiles revealed no such thing. Testing on other machines that this does not happen on a notebook with an i5 processor, but reappears when tested on another i7 machine.
 
I have noticed a correlation with the CPU core's temperature and suspect that I am seeing some CPU temperature management in action. If the program does not create any unusual CPU load, then CPU 0 must have been clocked down. That would make sense to keep the core's temperature from rising and to draw less power. Something like the reverse of the famous i7 turbo boost. I could live with that if the performance of the application would not suffer from this feature. It appears as if that thing (if it exists) is a bit too eager to save power and starves the application's major threads.
 
Now, am I looking in the right direction? And what can be done to get a more favorable performance?
At least artificial intelligence already is superior to natural stupidity



modified 29-May-12 8:07am.

GeneralRe: Understanding CPU performance measurements Pinmemberharold aptroot29-May-12 6:30 
GeneralRe: Understanding CPU performance measurements PinmemberCDP180229-May-12 7:52 
GeneralRe: Understanding CPU performance measurements Pinmemberharold aptroot29-May-12 8:07 
GeneralRe: Understanding CPU performance measurements PinmemberCDP180229-May-12 8:55 
GeneralRe: Understanding CPU performance measurements Pinmemberharold aptroot29-May-12 9:30 
GeneralRe: Understanding CPU performance measurements [modified] PinmemberCDP180229-May-12 10:18 
GeneralRe: Understanding CPU performance measurements Pinmemberharold aptroot29-May-12 10:37 
GeneralRe: Understanding CPU performance measurements PinmemberCDP180229-May-12 11:27 
GeneralRe: Understanding CPU performance measurements Pinmemberharold aptroot29-May-12 11:34 
GeneralRe: Understanding CPU performance measurements PinmemberCDP180229-May-12 12:06 
GeneralRe: Understanding CPU performance measurements Pinmemberharold aptroot29-May-12 12:13 
GeneralRe: Understanding CPU performance measurements [modified] PinmemberCDP180229-May-12 12:17 
QuestionError opening a serial modem PinmemberMember 800297324-May-12 7:53 
AnswerRe: Error opening a serial modem PinmemberPeter_in_278024-May-12 17:18 
GeneralRe: Error opening a serial modem PinmemberErudite_Eric25-May-12 0:32 
GeneralRe: Error opening a serial modem PinmemberPeter_in_278025-May-12 0:54 
GeneralRe: Error opening a serial modem PinmemberErudite_Eric25-May-12 8:53 
GeneralRe: Error opening a serial modem PinmemberMember 800297329-May-12 13:12 
GeneralRe: Error opening a serial modem PinmemberMember 800297329-May-12 13:17 
GeneralRe: Error opening a serial modem PinmemberErudite_Eric29-May-12 22:51 
GeneralRe: Error opening a serial modem PinmemberMember 800297330-May-12 6:41 
AnswerRe: Error opening a serial modem PinmvpLuc Pattyn24-May-12 18:00 
GeneralRe: Error opening a serial modem PinmemberErudite_Eric25-May-12 0:32 
GeneralRe: Error opening a serial modem PinmemberSoMad30-May-12 0:02 
AnswerRe: Error opening a serial modem PinmemberErudite_Eric25-May-12 0:30 
QuestionDraytek ADSL Routers PinmentorDaveAuld16-May-12 7:44 
QuestionWhere do programs execute from? [modified] PinmemberBrandon T. H.29-Apr-12 15:42 
AnswerRe: Where do programs execute from? PinmemberErudite_Eric30-Apr-12 9:19 
SuggestionRe: Where do programs execute from? PinmemberBrandon T. H.30-Apr-12 9:59 
GeneralRe: Where do programs execute from? PinmvpRichard MacCutchan1-May-12 0:17 
GeneralRe: Where do programs execute from? PinmemberErudite_Eric1-May-12 5:19 
GeneralRe: Where do programs execute from? PinmvpDave Kreskowiak12-May-12 5:27 
GeneralRe: Where do programs execute from? PinmemberErudite_Eric12-May-12 11:40 
AnswerRe: Where do programs execute from? PinmemberEddy Vluggen25-May-12 1:07 
GeneralRe: Where do programs execute from? PinmemberCDP180230-May-12 5:53 
Questionwhat is mainframe testing software? PingroupRakib khan00927-Apr-12 10:48 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web03 | 2.8.141216.1 | Last Updated 8 Dec 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid