Re: does the underlying implementation (not public) of DatagramSocketImp's send receive method busy wait

2017-12-19 Thread Alan Bateman
On 18/12/2017 21:24, Paul Marks wrote: So if the kernel decides to block, the thread will be suspended (consuming no CPU) until it's done. However, the UDP protocol has no concept of flow control, so blasting out packets without any rate limit or acknowledgement mechanism is not a good ide

Re: does the underlying implementation (not public) of DatagramSocketImp's send receive method busy wait

2017-12-19 Thread Andy Nuss
Aside from the fact that I should watch out for blasting too many packets at once, and realizing that this one "server/controller" machine has to control 100 or more client receiving machines, with smallish packets, is there any advantage at all relative to the linux kernel in having more than

Re: RFR: 8192966 HttpClient should reuse TCP connection for h2c connections [jdk10]

2017-12-19 Thread Michael McMahon
This is follow on from a previous review of the same bug fix. The fix is now targeted specifically for jdk10. A slightly different approach is taken this time. But, your comment below is incorporated into the new version Daniel Webrev: http://cr.openjdk.java.net/~michaelm/8192966/webrev.2/ Than

Re: RFR: 8192966 HttpClient should reuse TCP connection for h2c connections [jdk10]

2017-12-19 Thread Daniel Fuchs
Hi Michael, On 19/12/2017 14:20, Michael McMahon wrote: This is follow on from a previous review of the same bug fix. The fix is now targeted specifically for jdk10. A slightly different approach is taken this time. But, your comment below is incorporated into the new version Daniel Webrev: ht

AW: does the underlying implementation (not public) ofDatagramSocketImp's send receive method busy wait

2017-12-19 Thread Bernd Eckenfels
Hello, it is a bit unlikely that there is much difference (especially for as low as 200 packets), but I would recommend you actually try it with your specific traffic pattern and System load. Not much a Java developer can say about various Linux kernel versions and their drivers. Gruss Bernd -