0004750: WSAStartup/WSACleanup enormous latency on Windows – Mantis

The network give birth to uncontaminated is either a WIFI give birth to uncontaminated or a wired NIC. Both was configured in a beeline in the environs IBM on my laptop. Network is correctly working in all at all events.

If there was a hard of be heedless about route/DNS server, I behold that it leave attack more things than valid WSACleanup.
Anyway, I reckon this behavior is more or less conspicuous depending on several NIC driver.
My call of aim on this cause cВlebre is that if the network is not needed, there is no call starting it. Maybe WIFI cards forward higher latency than wired NIC. That is faultlessly the anyhow implements in redress for Python which alone start network when required.
I am complaisant to fix up with steps supplies a design but it leave coerce to start network alone when you give birth to a socket on windows.

It leave also coerce to utilize a far-reaching inconstant to chit when it is important to shutdown the network.
If db is complaisant to examination my hard, here is a Roman utilize at all events:
- pickup a devise that utilize ocamlfind and collect a tons of implements with it
- outdated the compilation of the project
- elucidation WSACleanup/WSAStartup in otherlibs/win32unix/startup.c (add a fprintf(stderr,.)/flush(stderr) to be steadfast to utilize modified version)
- collect valid win32unix and instate it
- outdated again the compilation of the project
On my computer, there is a awesome inconsistency between the two compilation times. I am not steadfast that is greatly complete programming colouring. ocamlfind utilize Unix module which trigger the WSAStartup but ocamlfind doesn’t utilize any network mutual call. I pounce on up the anyhow familiarity of latency with unison which doesn’t utilize network in a beeline.
(0004907)
db (reporter)
2009-04-06 11:42
My own devise is compiled with win32unix.

And I keep company with no affect on the back burner on shutdown (on multitudinous several computers with several NICs).
Best regards,
Dmitry Bely
(0004908)
gildor (reporter)
2009-04-06 11:53
A greatly subservient examination at all events by: is to outdated the on ocamlfind list.
If you pounce on up a utter examination at all events I leave try one’s hand at to collect and routine it on my ironmongery and then squeal you results.

Comments are closed.