- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all
I used tachyon_studio sample that have in Intel folder (C:\Program Files (x86)\Intel\Parallel Studio 2011\Samples\en_US) and compare file size that built by Intel C++ Compiler and Visual C++ Complier.
File size of tachyon.common project that built by Intel C++Compiler: 21,728,118 bytes
File size of tachyon.common project that built by Visual C++ Complier: 3,046,742 bytes
Although program is still working correctly, but the size(built by Intel C++Compiler) is increased too much. Can anyone give me some explanations? Is this normal or abnormal?
I'm using Intel Parallel 2011 Update 1 and Visual Studio 2008.
Best regards,
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am able to reproduce Tuan's findings. I will investigate this further and keep you all posted on the same. Thanks Tuan for reporting this observation.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can use dumpbin tool for PE file inspection.Look for the various sections size parameter.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Anoop,
Do you have any information?
Best regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Tuan,
Could you please check if "Multi-File optimization (/Qipo)" has been enabled? With /Qipo enabled , the size would increase because there would be an mock object file getting created which would be very bulky. So disable the "/Qipo" and see if the size reduces.
Regards,
Sukruth H V
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Tuan,
Forgot to mention, if you see that disabling "/Qipo" doesnt decrease the size, Please do let me know the Options that's been set at your side, You can simply copy paste the whole command line options used (Project-properties-->C/C++ --> Command Line).
Regards,
Sukruth H V
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Sukruth
When I disable /Qipo option, dll file size is 744,986. It is lower than dll file size of VC compiler.
Do you know why dll file size isn't equal?
But in another project, if I disable /Qipo option, dll file size inscrease. And If i enable /Qipo option, dll file size descrease.
Do you know reason and is this abnormal?
Best regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Tuan,
Would it be possible for you to send a testcase for the 2nd case, where with "/Qipo" the size of the build folder gets *DECREASED*? So that i can have a look at it. Because when i built the tachyon example with and without "/Qipo" option, i could see the difference in size of the build folder( Size increased with the "/Qipo" ). But i didnt see the vice versa case!!
Regards,
Sukruth H V
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Sergey,
Sure i have it. But i am not able to reproduce the 2nd case that Tuan is experiencing, where the build folder size decreases with "/Qipo" option been enabled.
Regards,
Sukruth H V
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Sukruth
I'm trying reproduce the 2nd case in a new project. I will contact later.
And please let me know if have any problem when file size is so different like that?
Best regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Tuan
Like Sukruth rightly pointed out, /Qipo is the reason for increase in binary size. /Qipo does an agressive inlining and so the increase in binary size is expected. But in this case the increase in binary size is way higher and I am trying to nail down what exactly is leading to this extra blot up. You can try the /Qip option instead and you will see a smaller binary than the one generated my default Visual Studio compiler. Also the performance numbers are not compromised by switching from /Qipo to /Qip.
It is interesting that you did encounter a case where using /Qipo decreased the binary size. Please share the testcase when you reproduce that. In the meantime, I will keep you posted on the findngs and proceedings on this issue.
Thanks and Regards
Anoop
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all
I would like to send source code that file size in case enable /Qipo is lower than file size in case disable /Qipo.
I changed some options and build type from lib to dll.
Best regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all
I would like to send source code that file size in case enable /Qipo is lower than file size in case disable /Qipo.
And in this source, eventhough I disable /Qipo, file size built by Intel complier is larger than file size built by VC compiler.
I changed some options and build type from lib to dll.
(Please change tachyon_studio.001.7z to tachyon_studio.7z.001. Similar with other files.)
Best regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all
Does anybody have any information?
Best regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Sergey Kostrov
Do you have information about this problem.
If my sample have any problem or you need more information, please let me know.
With large size project, it takes too much time to build by Intel compiler C++.
Best regards,
Tuan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Could anyone tell me how about a status of this problem?
Thanks

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page