Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
10 years ago

Altera opencl, Diff usage of Processors when using parallel compilation of Quartus.

I am using "Hello world" of example designs offered by Altera Opencl. (https://www.altera.com/products/design-software/embedded-software-developers/opencl/developer-zone.html#design-examples)

I use the "aoc" command and get the .aocx file.

but I have a confusion:

in the file "top.sta.rpt", it have something like this:

  • +------------------------------------------+

  • ; Parallel Compilation ;

  • +----------------------------+-------------+

  • ; Processors ; Number ;

  • +----------------------------+-------------+

  • ; Number detected on machine ; 8 ;

  • ; Maximum allowed ; 4 ;

  • ; ; ;

  • ; Average used ; 1.08 ;

  • ; Maximum used ; 4 ;

  • ; ; ;

  • ; Usage by Processor ; % Time Used ;

  • ; Processor 1 ; 100.0% ;

  • ; Processors 2-3 ; 2.9% ;

  • ; Processor 4 ; 2.2% ;

  • +----------------------------+-------------+

Problem:

1. Why Processor 1 is using 100%, and other Processor only use nearly 3% ?

2. How can I increase the usage of Processor 2-4 ?

Thank you, wait for your apply~

3 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi pengbo,

    I am having a similar problem. In my case the base.sta.rpt is as follows:

    +------------------------------------------+

    ; Parallel Compilation ;

    +----------------------------+-------------+

    ; Processors ; Number ;

    +----------------------------+-------------+

    ; Number detected on machine ; 24 ;

    ; Maximum allowed ; 4 ;

    ; ; ;

    ; Average used ; 1.57 ;

    ; Maximum used ; 4 ;

    ; ; ;

    ; Usage by Processor ; % Time Used ;

    ; Processor 1 ; 100.0% ;

    ; Processors 2-4 ; 19.0% ;

    +----------------------------+-------------+

    Also, my machine has 24 processors, but I am only able to use 4 processor.

    I tried changing the settings in Quartus Prime Pro 15.2, Assignments > settings > Compilation Process Settings to "use all available processors", but the result is the same, I cannot use more than 4 processors.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I still don't solve this.

    You can try to changing the settings : Assignments > settings > Compilation Process Settings "Maximum processors allowed 8".

    If you have only progress, please contact me in the forum or my e-mail: [email protected]

    thank you for your apply!