Page 1 of 1

Multiple TAP driver installs get progressively slower

Posted: Tue May 20, 2014 12:53 pm
by marklamb
Hi,

I am installing multiple TAP driver instances to support separate tunnels for testing my application, and I am running the following from a batch file:

bin\devcon.exe install driver\OemWin2k.inf tap0901

It works fine, but takes longer and longer, the more 'devices' are installed. The first installation took some tens of seconds. I'm up to about 90 installations and it is taking about 40 minutes for each! The CPU usage is roughly 50%, with the processes drvinst.exe and svchost.exe together taking most of it.

Does anyone know whether this can be reduced? Ideally, I want to install many hundreds of instances.

Thanks.

Re: Multiple TAP driver installs get progressively slower

Posted: Tue May 20, 2014 1:12 pm
by marklamb
Should have said that this is on Windows Server 2008 R2 Standard.

Re: Multiple TAP driver installs get progressively slower

Posted: Fri May 23, 2014 10:54 am
by marklamb
Thanks. I can't use that 'many clients' approach in OpenVPN (I won't trouble you with the details), and multiple TAPs seemed the way to go. I've had to give up for now - it's far too slow to be practical.