Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
16603 Discussions

Quartus compiles slow in Arch Linux

Altera_Forum
Honored Contributor II
1,852 Views

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!
0 Kudos
4 Replies
Altera_Forum
Honored Contributor II
920 Views

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..
0 Kudos
Altera_Forum
Honored Contributor II
920 Views

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...
0 Kudos
Altera_Forum
Honored Contributor II
920 Views

Hi, 

 

I had the same problem on Fedora. But when I turn off the Internet connection (i..e turn off Wifi) it runs fast. Stupid workaround, but it works: http://www.alteraforum.com/forum/showthread.php?t=49543 (http://www.alteraforum.com/forum/showthread.php?t=49543). 

 

 

Best regards, 

GooGooCluster
0 Kudos
Altera_Forum
Honored Contributor II
920 Views

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.
0 Kudos
Reply