Intel® FPGA University Program
University Program Material, Education Boards, and Laboratory Exercises
1175 Discussions

Too Slow License Server Communication

Altera_Forum
Honored Contributor II
2,317 Views

I'm using a network license that university staff manage. The problem that I have is that the license check at the start of each synthesis takes a long time, around 20-30 seconds, which get quite annoying. Is there something that I could do to make it work faster?! Thanks, 

 

Kaveh
0 Kudos
7 Replies
Altera_Forum
Honored Contributor II
645 Views

Yeah that does seem like a long time. What is the setting in Quartus for the license server? Is it specified directly or is it using the LM_LICENSE_FILE environment variable. Sometimes a long license retrieval can occur if there is a long list of host names that the tool has to try. 

 

Jake
0 Kudos
Altera_Forum
Honored Contributor II
645 Views

I used to put the server address directly in Quartus, but now I'm using the LM_LICENSE_FILE variable, didn't make any difference though. One thing I should point out is that the connection is through a port tunnel, for security of course. And I use Putty to forward my local port. 

 

Thanks, 

Kaveh
0 Kudos
Altera_Forum
Honored Contributor II
645 Views

So I'm guessing you are off campus and you are tunneling into campus? 

 

Jake
0 Kudos
Altera_Forum
Honored Contributor II
645 Views

No actually, even though I'm in the lab at school, I still have to tunnel it, cuz it's in a different network, with all the ports blocked. So, basically I'm crossing networks, but we have a pretty fast network here, I wouldn't think that be the problem. Just to check though, do you happen to know, roughly, how many bytes get transferred during the license check?! Thanks, 

 

Kaveh
0 Kudos
Altera_Forum
Honored Contributor II
645 Views

you can test the server on the command line by typing: 

 

lmutil lmstat -a -c NAME@PORT 

 

to see if the license server is really that slow.
0 Kudos
Altera_Forum
Honored Contributor II
645 Views

Same situation here. 

It was finally fixed by including the port segment in the license setup configuration (port@lmserver). 

"port" is not the port used by the license manager daemon (usually 27000) but the one used by the specific altera vendor daemon. 

To find out the port number ask the server administrator, or run "netstat -a" immediately after a Quartus compilation and look for connections between your host and the lmserver host. 

 

julio
0 Kudos
Altera_Forum
Honored Contributor II
645 Views

my post should say PORT@SERVER, oops!

0 Kudos
Reply