serving icon indicating copy to clipboard operation
serving copied to clipboard

Not getting QPS anywhere near benchmarks

Open dustinbigham opened this issue 8 years ago • 1 comments

I'm running tensorflow-serving-gpu on aws g2.2xlarge. I used the Dockerfile.devel-gpu and nvidia-docker to build the tensorflow-gpu image. I verified tensorflow model server was using the gpu with nvidia-smi. Then I saved the example model mnist_saved_model.py and ran the server. I ran the example mnist_client.py but modified it so that the loading of the requests data is separate from the calls, and made all requests send to the tensorflow server asap.

I timed from the first mnist request -> the last response with default batching params and then tried a couple of tweaks according to the batching guide, but the most QPS I was able to get was only ~10k. GPU utilization was pretty low also, only around 15% gpu usage while it reserved something around 90% of gpu memory.

How do I get near the 100k QPS that was recorded in the benchmarks?

dustinbigham avatar Mar 19 '18 05:03 dustinbigham

Please go to Stack Overflow for help and support:

https://stackoverflow.com/questions/tagged/tensorflow-serving

If you open a GitHub issue, it must be a bug, a feature request, or a significant problem with documentation (for small docs fixes please send a PR instead).

Thanks!

Harshini-Gadige avatar Oct 04 '18 17:10 Harshini-Gadige