Forum Discussion

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

Quartus compiles slow in Arch Linux

Recently I found out that Quartus II 15.0 compiles really slow in Arch Linux.

A nearly empty cyclone IV project took ~4 min to compile

While the same project took about 30sec to compile in Windows/Linux Mint

I know that Quartus may not intend to support other linux distro,

but I still wish to find out why and ways to fix it.

Any suggestion or ideas would be appreciated, thank you!

4 Replies

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

    First do a "top" and "iotop" and while it's running and see what process is eating CPU time.

    Quartus only has Red Hat Enterprise Linux as a supported platform, but I run it on Ubuntu all the time. I know it has had issues with "Compwiz" and other differences between REL and Ubuntu in the past..
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Thank you for replying.

    I did a compilation and see top, iotop and found out that all the CPUs are nearly idle, and it seems that there is no heavy disk IO either.

    Here is a message that bothers me alot.

    Info: Quartus II 64-Bit Fitter was successful. 0 errors, 83 warnings

    Info: Peak virtual memory: 1461 megabytes

    Info: Processing ended: Sun Sep 20 07:38:50 2015

    Info: Elapsed time: 00:02:48

    Info: Total CPU time (on all processors): 00:00:11

    It seems like most of the time the program is doing nothing!

    I guess http://www.alteraforum.com/forum/showthread.php?t=49104 has the same problem...
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Thank you for the interesting solution...

    Turn off the internet connection indeed make it run fast...

    I suspect it is a software bug.

    A practical workaround may be run quartus in unshare http://linux.die.net/man/1/unshare to block internet connection...

    But if you are using an ip license, quartus_asm must be run with internet, or else no .sof file would be generated.

    Hope quartus could fix the bug soon.