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.

Bamboo and asmem4f/clem4f do not play well together

Other Parts Discussed in Thread: TM4C1294NCPDT, SYSBIOS

We are running Bamboo on a virtual machine with 4 cores and it kicks off a a build of our projects. It builds but takes *forever*!  Something happens when asmem4f or clem4f run in the build system that is weird. We have run the same makefile from the command line and also done builds inside the CCSv6 IDE. They take about 3 minutes each for a clean build. The one in Bamboo takes 93 minutes. We watched the CPU usage and it drops to about 2% CPU usage when asmem4f or clem4f run on the bios/rtos files.


I have looked for asmem4f and clem4f in my CCSv6 install directory and do not find them. I also haven't found any documentation on how we might be able to turn on debug or verbose operation. I feel certain such info exists but I just haven't looked in the right places.

We are willing to do the heavy lifting of understanding why this happens, but we could use some pointers to how to see what the tools are actually doing.

Our guesses so far have been only one core running (not it), memory swapping(maybe), 6.0.0 vs. 6.2.0 (not it), problems with the virtual machine. We haven't gotten too far except to eliminate the number of cores as an issue.

  • Raymond Mack said:
    I have looked for asmem4f and clem4f in my CCSv6 install directory and do not find them.

    asmem4f and clem4f are not actual programs, but is text echoed from a SYS/BIOS generated makefile when one or more source files are being compiled - see Machine specs to improve CCS build time?

    Suggest you look in the makefile to see how many source files are being compiled.

  • The curios thing is the same build from the IDE or command-line builds in 3 minutes.  On Bamboo it takes 93 minutes.

    Note the section where the clem4f and asmem4f take over 3 minutes each to run.

    Showing the           10            25            50            100   most recent activity log entries.

  • The code compiles in 3 minutes on the same server, however when Bamboo gets involved it take 93 minutes.
  • The output during this part of the make shows each entry for clem4f and asmem4f is taking over 3 minutes each. From the command line (not Bamboo) these take sub-second times.

    build 14-Jul-2016 15:07:17 "c:/ti/xdctools_3_30_01_25_core/xs" --xdcpath="C:/ti/tirtos_tivac_2_00_01_23/packages;C:/ti/tirtos_tivac_2_00_01_23/products/bios_6_40_01_15/packages;C:/ti/tirtos_tivac_2_00_01_23/products/ndk_2_23_01_01/packages;C:/ti/tirtos_tivac_2_00_01_23/products/uia_2_00_00_28/packages;c:/ti/ccsv6/ccs_base;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M4F -p ti.platforms.tiva:TM4C1294NCPDT -r debug -c "c:/ti/ccsv6/tools/compiler/arm_5.1.5" "../SAB_Bootloader.cfg"
    build 14-Jul-2016 15:07:19 making package.mak (because of package.bld) ...
    build 14-Jul-2016 15:07:21 generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
    build 14-Jul-2016 15:07:24 configuring SAB_Bootloader.xem4f from package/cfg/SAB_Bootloader_pem4f.cfg ...
    build 14-Jul-2016 15:07:30 generating custom ti.sysbios library makefile ...
    build 14-Jul-2016 15:07:33 Starting build of library sources ...
    build 14-Jul-2016 15:08:35 making F:/Bamboo2/xml-data/build-dir/DGSEE-S1SF-JOB1/Modules/SAB/SAB_Bootloader/src/sysbios/sysbios.aem4f ...
    build 14-Jul-2016 15:08:35 gmake[1]: Entering directory `F:/Bamboo2/xml-data/build-dir/DGSEE-S1SF-JOB1/Modules/SAB/SAB_Bootloader/src/sysbios'
    build 14-Jul-2016 15:10:43 clem4f C:/ti/tirtos_tivac_2_00_01_23/products/bios_6_40_01_15/packages/ti/sysbios/BIOS.c ...
    build 14-Jul-2016 15:14:16 asmem4f C:/ti/tirtos_tivac_2_00_01_23/products/bios_6_40_01_15/packages/ti/sysbios/family/arm/m3/Clobber_asm.sv7M ...
    build 14-Jul-2016 15:17:24 asmem4f C:/ti/tirtos_tivac_2_00_01_23/products/bios_6_40_01_15/packages/ti/sysbios/family/arm/m3/IntrinsicsSupport_asm.sv7M ...
    build 14-Jul-2016 15:20:31 asmem4f C:/ti/tirtos_tivac_2_00_01_23/products/bios_6_40_01_15/packages/ti/sysbios/family/arm/m3/TaskSupport_asm.sv7M ...
    build 14-Jul-2016 15:23:36 asmem4f C:/ti/tirtos_tivac_2_00_01_23/products/bios_6_40_01_15/packages/ti/sysbios/family/arm/m3/Hwi_asm.sv7M ...