[Incident]: Some users report they are unable to access the case portal. Please see this community notice for more information.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
lxwuter
Level 2

Extreme Slow checkout time on windows 7 machine

Out C# code invokers FNP_checkout function from lmgract.dll to checkout license, refer below code lines:

[DllImport("lmgract.dll", CharSet = CharSet.Ansi, CallingConvention = CallingConvention.Cdecl)]
private static extern ReturnValues FNP_checkout(String FeatureName, String FeatureVersion, int NumberOfLicenses);

public enum ReturnValues
{
[Description("Success")]
success = 0,

[Description("Routine failed")]
failed = 1,

[Description("Invalid handler")]
jobhandleNull = 2,

[Description("Null pointer")]
pointerNull = 3
}

On same PC with dual boot, the checkout speed is good with Windows 10, around a couple of 100mS. However, the checkout time will be at 30 seconds range with Windows 7. During license checkout, there will be a process running with high CPU priority, which will fully occupy several CPU logical cores, and the overall CPU usage will be around 25% ~ 30%. If such process is not running, slow license checkout time with Windows 7 will not be observed.

Any suggestions to speed up license checkout on Windows 7 configuration with a busy process consuming ~25% CPU process time? We've already avoid our client code from using those fully occupied cores by setting CPU affinity. The only thing seems to make difference is to low down the busy process's priority from high to low

Thanks.

0 Kudos
4 Replies
jyadav
Revenera Moderator Revenera Moderator
Revenera Moderator

Could you confirm the version of FNP Server and Client  in question ?

0 Kudos

Thanks for your response, I believe client is with 11.18.0.0 and server is with 11.16.2 

0 Kudos
jyadav
Revenera Moderator Revenera Moderator
Revenera Moderator

If that is the case then the FNP Version of server and client are incompatible .The Server Version of FNP should also be greater than or equal to that of client. You could quickly run a test on the latest version of FNP Toolkit and check the performance.
0 Kudos
alinabo12
Level 2

I might suggest making sure your disk is defragmented and perhaps monitor what's running in the background - you may have some undesired or unnecessary background services and tasks that slowly build up calendar 2023 printable over time and can slow things down quite a bit. 

0 Kudos