Forum Discussion

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

Multi-processor aoc compilation

I am currently compiling a rather hardware-intensive kernel. The compilation time just got over 24 hours and it is still running.

I know Quartus can use multiple processors when compiling, but when I look at the Windows task manager, I only see one processor with one core active.

Can I use multi-processor compilation only from Quartus' gui or is there a way to let it use multiple cores?

(I have Quartus set to use all available processors.)

I have read something about this here:http://www.alteraforum.com/forum/showthread.php?t=478&highlight=multithread,

but that did not help.

3 Replies

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

    I just saw Quartus map using 2 threads (for one minute it were even 5), so it seems to be working fine. I did not change my settings, only compiling a different kernel.

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

    Some extra info: I just looked at the Quartus project settings, there the limit was set to 4 processors, but I have seen it use more than 4. So it looks like the command line Quartus does not use this.

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

    hi,

    you can try to open file: quartus_sh_compile.log or top.sta.rpt

    and search "processor" or "Processor".

    you will get something like this:

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

    • ; Parallel Compilation ;

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

    • ; Processors ; Number ;

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

    • ; Number detected on machine ; 8 ;

    • ; Maximum allowed ; 5 ;

    • ; ; ;

    • ; Average used ; 1.12 ;

    • ; Maximum used ; 5 ;

    • ; ; ;

    • ; Usage by Processor ; % Time Used ;

    • ; Processor 1 ; 100.0% ;

    • ; Processors 2-4 ; 3.5% ;

    • ; Processor 5 ; 1.4% ;

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