Performance benchmark for grpc

1,477 views
Skip to first unread message

alls...@gmail.com

unread,
Aug 20, 2015, 5:50:55 AM8/20/15
to grpc.io
Hi all,

Is there any performance benchmark for grpc?

I want to transfer big amount of data using grpc, instead of use it for control logic. Is that ok for grpc. Is grpc performance comparable with SUN ONC RPC (which is the core protocol of Linux NFS)?

Jorge Canizales

unread,
Sep 22, 2015, 3:38:45 AM9/22/15
to grpc.io, alls...@gmail.com, Louis Ryan
+Louis, who knows what data's been measured.

Vijay Pai

unread,
Sep 22, 2015, 8:58:26 AM9/22/15
to Jorge Canizales, grpc.io, alls...@gmail.com, Louis Ryan
Hi there,

The number and variety of performance benchmarking tools included in the gRPC repo varies a lot depending on the language and stack, though it is one of our goals to improve this across all platforms. In the C/C++ stack, most of the performance testing has focused on latency and scalability, but it is possible to derive the bandwidth measure that you're seeking. As with any network performance test in C++, you'll run qps_worker on two different machines, and then initiate a qps_driver on a third. You'll set the QPS_WORKERS environment variable to the host and ports of the workers. And then you'll set the flags of the qps_driver so that the payload_size is really big (specified in bytes). 

The script single_run_localhost.sh in test/cpp/qps is an example of how to run these, though you'll need to start your qps_worker jobs on different machines to get a feeling for network bandwidth. Just use --payload_size=1048576 or whatever as one of your driver arguments.

Regards,
Vijay


--
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/bc38f4e5-c004-458c-aae1-05a4af6d0c39%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages