Multiple TAP driver installs get progressively slower
Posted: Tue May 20, 2014 12:53 pm
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.
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.