解决方案
Although Xilinx is continuing to evaluate ways to speed the loading of licenses in VLM, the license loading time is determined by the depth of the Xilinx license search tree, the number of licenses or locations searched, and the speed of the network connections to the floating licenses.
Because VLM needs to show all available license features, it is required to look in every directory, license, and PORT@SERVER location that appears in the license search path.
Typically, PORT@SERVER locations with many licenses slows the VLM loading the most.
To speed up loading, we recommend the following:
- Only Use XILINXD_LICENSE_FILE to point to Xilinx specific licenses. Do the same for other vendors (using the vendor specific license variable) and unset the LM_LICENSE_FILE variable.
- Remove any unused PORT@Server locations from the XILINXD_LICENSE_FILE and LM_LICENSE_FILE variables.
- Remove redundant PORT@Server locations from the XILINXD_LICENSE_FILE and LM_LICENSE_FILE variables.
- Remove expired or unused licenses from the default license directories and any directories pointed to by: XILINXD_LICENSE_FILE and LM_LICENSE_FILE variables.
VLM looks for license keys in the following places in order:
- All of the places listed by the environment variable XILINXD_LICENSE_FILE, if set.
- Location cached for XILINXD_LICENSE_FILE in the registry (HKLM\Software\FLEXlm License Manager) for Windows, or registry file ($HOME/.flexlmrc) for Linux.
- All the places listed by the environment variable LM_LICENSE_FILE, if set.
- %HOMEDRIVE%\.Xilinx\*.lic or $HOME/.Xilinx/*.lic
- %HOMEDRIVE%\.Xilinx\Coregen\CoreLicenses\*.lic or $HOME/.Xilinx/Coregen/CoreLicenses/*.lic
- %XILINX_VIVADO%/data/ip/core_licenses/*.lic (for each entry in %XILINX%)