With closed loop do you mean 

a) using loopback?
b) measuring from when the request is made and finish measuring when the 
response gets back?

In the test we have, we are not using loopback (two vms over the network) 
and we start measuring right before calling into ClientAsyncResponseReader 
and calling into Finish and we stop measuring when we get back the response 
and our callback gets called.

If closed loop means something else please explain further.

I may be able to share the code but before I go through that process do you 
have any general suggestions that I can try or consider?

Thanks

Eduardo


On Monday, February 5, 2018 at 3:43:34 PM UTC-8, Carl Mastrangelo wrote:
>
> Are you doing a closed loop latency test like gRPC benchmarking does?  
>  Also, can you show your code?
>
> On Monday, February 5, 2018 at 3:10:03 PM UTC-8, [email protected] wrote:
>>
>> Hi, I'm working on a custom latency test. I'm using payloads of sizes 1 
>> byte, 200 bytes, 1kb and 10kb. The tests of 1 byte show a very big 
>> difference from the rest of the payloads. (longer/worse latency).
>>
>> I'm working on grpc for c++ on Windows. I'm guessing this has to do with 
>> some http2 packing or optimization logic meaning that it is taking longer 
>> for the packets to be sent until a buffer is filled.
>>
>> What are the configuration I should look on modifying to see if I can 
>> improve this behavior?
>>
>> I've tried looking around in 
>>
>> https://github.com/grpc/grpc/blob/master/include/grpc/grpc.h
>>
>> and in
>>
>>
>> https://github.com/grpc/grpc/blob/master/include/grpc/impl/codegen/grpc_types.h
>>
>> with no luck. What do you suggest?
>>
>> Thanks
>>
>> Eduardo
>>
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/grpc-io.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/02e2b10d-d212-4ea3-940f-4492a49f1cd3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to