This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Performance issue

Hi Sir :

I have a CCS project that comes from our third party and the project is built by CCS Version: 5.3.0.00090 and the tool's version are as below.

xdctools_3_24_05_48

am335x_sysbios_ind_sdk_1.0.0.6

bios_6_35_04_50

I can compile successfully use tools above and run the program on TI GP-EVM board.

In order to use latest version of SDK, I use the tools below to compile my third party's program.

The tools's version are as below.

CCS Version: 6.1.0.00104 
am335x_sysbios_ind_sdk_1.1.0.8

bios_6_41_04_54

ndk_2_24_01_18

xdctools_3_30_06_67_core

I can also compile successfully use tools above and run the program on TI GP-EVM board.

However, I use a PC tool provided by my third party to check the performance of the program.

I find out that the execution time of program that compiled by CCS v5 is shorter than that compiled by CCS v6.

My question is that is it possible that different version of CCS affects the performance of the program?

I have check the property of the project and app.cfg and try to change the setting, but the result is the same.

Could you give me some suggestion?

Best regards,

Marcus 

  • Hi Marcus,
    The IDE difference should not impact the program performance. However it is possible that the compiler version difference can. As can the difference in target content versions (BIOS, XDC, SDK). You can use the old version of everything with the new CCS version. And also closely check your the build options issued between the two projects. Make sure they are identical.

    Thanks
    ki
  • Hi Sir :

    I appreciate your reply!

    I will do the test and let you know the result.

    However, in CCS V5 directory, there are several tools like ipc_1_25_00_04,uia_1_01_01_14,xdais_7_21_01_07 and grace_2_00_01_65.

    Should I concern withe these tools when I build my project that uses old version of SDK and CCS V6?

    Best regards,

    Marcus

  • Hi Sir :

    As you can see the picture below, there is an exclamation mark near compiler version.

    So, maybe it can confirm that my third party's project is compiled by version V 5.0.1, but CCS V6 only have version V 5.2.2.

    Therefor, in CCS V6, the project is compiled by V 5.2.2, am I right?

    If what I think is correct, should I install old version of compiler?

    If the answer is yes, where can I find old version of compiler?

    Best regards,

    Marcus

  • lu yuenjune said:

    However, in CCS V5 directory, there are several tools like ipc_1_25_00_04,uia_1_01_01_14,xdais_7_21_01_07 and grace_2_00_01_65.

    Should I concern withe these tools when I build my project that uses old version of SDK and CCS V6?

    CCSv6 can use older version of the packages but the impact on the build would depend on the dependencies of the project I suppose (is that version of the SDK dependent on specific versions of the other packages?). This may be a question best asked in the Sitara forum

  • lu yuenjune said:

    So, maybe it can confirm that my third party's project is compiled by version V 5.0.1, but CCS V6 only have version V 5.2.2.

    Therefor, in CCS V6, the project is compiled by V 5.2.2, am I right?

    Yes, you are correct

    lu yuenjune said:
    If what I think is correct, should I install old version of compiler?

    Usually it is best to simply user the newer version of the compiler, unless recommended otherwise. But if you run into problems with the newer version, you can switch to the older.

    lu yuenjune said:
    If the answer is yes, where can I find old version of compiler?

    See: http://processors.wiki.ti.com/index.php/Compiler_Updates#Installing_Older_Versions

    This is another alternative:

    http://processors.wiki.ti.com/index.php/Compiler_Installation_and_Selection

    Thanks

    ki

  • Hi Sir :

    Below is my test result.

    I use CCS V6(Version of compiler is V5.0.1) and SDK V1.0.0.6 with bios_6_35_04_50 and xdctools_3_24_05_48 to build my third party's project.

    I can get the same performance as using CCS V5 and SDK V1.0.0.6 with bios_6_35_04_50 and xdctools_3_24_05_48.

    However, if  I use CCS V6(Version of compiler is V5.0.1) and SDK V1.1.0.8 with bios_6_41_04_54 and xdctools_3_30_06_67_core to build my third party's project, I

    get bad performance.

    I can't use CCS V6(Version of compiler is V5.0.1) and SDK V1.0.0.6 with bios_6_41_04_54 and xdctools_3_30_06_67_core to build my third party's project,

    because compiling fail due to xdctools_3_30_06_67_core.

    As the result I describe, could you give me some suggestion?

    Update more recent version of compiler or other way to test?

    Best regards,

    Marcus