4 ms·
> The most plausible explanation would amount essentially to a misconfigured library, not a fundamental advantage due to say, advanced JVM JIT. Configuration r
by shin_lao 13y ago
> The most plausible explanation would amount essentially to a misconfigured library, not a fundamental advantage due to say, advanced JVM JIT.
Configuration rarely impacts such trivial cases. I would rather bet on a thread affinity or page locality.
- coldtea 13y ago>Configuration rarely impacts such trivial cases. Really? For example buffered vs unbuffered communication won't impact such a case? One should only assume "thread affinity or page locality" after checking the configuration options (and maybe even later, after profiling).
- shin_lao 13y agoBuffering impacts performance when it transforms many small writes into one big write (same for reads). In that case since you are waiting for the answer at every iteration, I'm not sure I see how it could have an impact.
- coldtea 13y ago>In that case since you are waiting for the answer at every iteration, I'm not sure I see how it could have an impact. In this particular case, yes. I was making a point against the more generic "configuration rarely impacts such trivial cases" you said, which I've not found to be the general case.