- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
When I use VTune to analysis which factors affect the performance of a program, I often use synchronization context switches, for example, if the synchronization context switches go up, the elapsed time of the program will go up. My question is that are there other factors similar to synchronization context switches in VTune?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello LIU,
what do you mean by *similar*? Are you looking only for software events (i.e. page faults, cpu migrations, etc)?
Overall there are many factors that affect the program performance: programming language, compiler, OS, target architecture, etc.
Read these two texts, they are very comprehensive:
https://software.intel.com/en-us/articles/intel-guide-for-developing-multithreaded-applications
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Context switches can affect program's performance. Bear in mind that your process's threads unless voluntarily yielding execution or setting their execution priority to very high (on Windows) will not be able to affect OS scheduler decision to swap contexts.
You should also pay an attention to Front-End and Back-End stalls.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello LIU,
what do you mean by *similar*? Are you looking only for software events (i.e. page faults, cpu migrations, etc)?
Overall there are many factors that affect the program performance: programming language, compiler, OS, target architecture, etc.
Read these two texts, they are very comprehensive:
https://software.intel.com/en-us/articles/intel-guide-for-developing-multithreaded-applications
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
>>>Overall there are many factors that affect the program performance: programming language, compiler, OS, target architecture, etc.>>>
Of course Divino is right there are many more factors involved in program performance beside those mentioned in my post.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page