Win:AppCSXCAD very slow on start after Spectre/Meltdown upd.

Give some feedback on openEMS.

Moderators: thorsten, sebastian

Post Reply
Hale_812
Posts: 172
Joined: Fri 13 May 2016, 02:54

Win:AppCSXCAD very slow on start after Spectre/Meltdown upd.

Post by Hale_812 » Mon 18 Jun 2018, 08:16

It looks like AppCSXCAD got very-very slow on start after Spectre/Meltdown updates were applied.
Actually, I am not sure which updates affect this. AFAIK, every software that calls the core for any acl related operation too much experiences heavy performance drop now. Particularly in Pre-Win10 OSes, as MS says. And AppCSXCAD asks for rights elevation when started, and I don't know what else. So, probably that is a Spectre patch.
Are there plans to optimize the code for fixing this lag?

thorsten
Posts: 1411
Joined: Mon 27 Jun 2011, 12:26

Re: Win:AppCSXCAD very slow on start after Spectre/Meltdown

Post by thorsten » Mon 18 Jun 2018, 20:22

I can't imagine that this really is the case. Especially since you can only refer to the 3D rendering which should happen only in the GPU in the first place? Maybe some 3D openGL driver issue?

Hale_812
Posts: 172
Joined: Fri 13 May 2016, 02:54

Re: Win:AppCSXCAD very slow on start after Spectre/Meltdown

Post by Hale_812 » Mon 09 Jul 2018, 09:59

I really don't know. I am not a programmer myself. I tried some basic things on C in the past, but not that advanced APIs.
I just had an idea that it may require to much control of privileges when talking with cross-platform API. And the slowdown happens exactly in that area, according to Microsoft.
At some moment I just found myself waiting for AppCSXCAD loading and responding to inputs too slow, much slower than before. All I remember is that I have installed spectre/meltdown updates around that time.

Hale_812
Posts: 172
Joined: Fri 13 May 2016, 02:54

Re: Win:AppCSXCAD very slow on start after Spectre/Meltdown

Post by Hale_812 » Wed 11 Jul 2018, 04:26

ow-ow-ow...
That was not the Spectre.

Dear Thorsten, what do you compile in \matlab\h5readatt_octave.o, and h5readatt_octave.oct?
What is that? Can it change, or be damaged in time?
Yesterday, APPCSXCAD stopped functioning totally. I was confused and reinstalled completely. Fresh downloaded and unpacked setuop works well. It is probable, something has happened to these files, as they had newest timestamp.

Hale_812
Posts: 172
Joined: Fri 13 May 2016, 02:54

Re: Win:AppCSXCAD very slow on start after Spectre/Meltdown

Post by Hale_812 » Fri 24 Aug 2018, 04:24

Looks like the problem is not in the APPCSXCAD itself, but in how it is intercepted by antiviruses after the Windows kernel update.
I have the same slowdown in MSSE, and in TrendMicro, and probably in ESET (however can not confirm for sure). Disabling any of these antiviruses lets the tool start normally. Enabling an antivirus results in 1-15 min. delay.

Post Reply