Multiple TAP driver installs get progressively slower

This forum is for all inquiries relating to the installation of OpenVPN from source and with binaries.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please visit (and READ) the OpenVPN HowTo http://openvpn.net/howto prior to asking any questions in here!
Post Reply
marklamb
OpenVpn Newbie
Posts: 4
Joined: Tue May 20, 2014 12:38 pm

Multiple TAP driver installs get progressively slower

Post by marklamb » 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.

marklamb
OpenVpn Newbie
Posts: 4
Joined: Tue May 20, 2014 12:38 pm

Re: Multiple TAP driver installs get progressively slower

Post by marklamb » Tue May 20, 2014 1:12 pm

Should have said that this is on Windows Server 2008 R2 Standard.

marklamb
OpenVpn Newbie
Posts: 4
Joined: Tue May 20, 2014 12:38 pm

Re: Multiple TAP driver installs get progressively slower

Post by marklamb » Fri May 23, 2014 10:54 am

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.

Post Reply