warming up for 5 secondsrunning benchmark for 10 secondsmessages: 145465elapsed: 9.99862 sthroughput: 14548.5 msg/slatencies:50%: 63.8073 us75%: 77.0946 us90%: 92.4911 us99%: 118.268 us
Is there any way to prevent making syscall after each ClientAsyncReaderWriter::Write() call?
I see WriteOptions class have flag GRPC_WRITE_BUFFER_HINT but actually it is not used in chttp2 transport implementation.
--
You received this message because you are subscribed to the Google Groups "grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email to grpc-io+u...@googlegroups.com.
To post to this group, send email to grp...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/f65fd422-6232-4d1f-a80d-e293621b62b7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Some time ago my colleague implemented approach for optimising number of syscalls in Netty library https://github.com/netty/netty/issues/1759 (unfortunately still an open issue though).
I've been experimenting with delaying the write until the next poll occurs... basically signalling an events when the transport is ready to write and only pulling together the bytes and dumping them on the wire when some thread picks it up.