- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
I have an application that runs significantly slower in VTune than when run from a Linux shell. There are two primary threads in the application. When invoking from the shell, the main thread takes 100% of CPU time and the secondary thread takes about 15% consistently through the session. Overall time is about seven minutes.
When run in VTune, the secondary thread increases in time consumed during the overall session. It becomes the gating item in the session such that it is taking 100% of CPU time and the main thread is waiting for it and limited to 50% or lower utilization. The large item in the secondary thread reported is a call to fseek() on a large binary file. The secondary thread is writing the file and makes fseek() calls to do some annotation to previously written parts of the file.
When run in VTune, this application takes about 10 1/2 minutes, significantly longer than the seven minutes when run from the shell.
I'm using RHEL 7.6 on a linux_x86_64 system. I'm building my application using gcc 5.4.
What could account for the difference in behavior that I'm seeing? Is there anything that I can do to remedy the situation?
Thanks.
コピーされたリンク
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Hi,
Thank you for posting in Intel communities.
Could you please share the below details?
- We can see you are using RHEL7, which is not currently supported (deprecated) by the latest version of Vtune, so please try the same on a supported operating system.
- If you face the same issue on a supported OS, please share the processor details and exact steps to reproduce your issue, Please share a sample reproducer (exact replica of your sample) so we can debug further.
Thanks,
Jaideep
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Hi,
Could you please try Intel Vtune on the supported operating system and let us know if you still face any issues?
Thanks,
Jaideep
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Hi--
I spent some time writing a demonstration program, but was unable to reproduce the anomalous behavior with that. Then I rebuilt and re-ran my real application. Upon re-trying, I found it worked OK in VTune.
I'm mystified as to what was going on. Thank you for your concern, but I don't have an issue that needs investigation right now.
Thanks.
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Hi,
It's good to hear that your rebuild samples are working on Vtune. If you need any additional information, please post a new question as this thread will no longer be monitored by Intel.
Thanks,
Jaideep
