Commit Graph

115 Commits

Author SHA1 Message Date
Vijay Pai 4b07aab513 Support multiple threads per cq sharing, add tests 2017-05-23 09:20:56 -07:00
Yuxuan Li 57e12b1786 Merge branch 'poll_stat' of github.com:lyuxuan/grpc into poll_stat 2017-05-08 11:36:07 -07:00
Yuxuan Li a7f7fcf94a Merge branch 'master' into poll_stat 2017-05-08 11:35:00 -07:00
Yuxuan Li 85d3a53905 change gpr_atm to int 2017-05-08 06:24:34 +00:00
Yuxuan Li 87827e03aa use lock instand of atomics, fix include position 2017-05-05 14:12:42 -07:00
Yuxuan Li bfb495d026 add override to GetPollCount() function 2017-05-05 10:57:35 -07:00
Yuxuan Li f8365cd87b clean up, fix minor issue 2017-05-03 23:29:17 -07:00
Yuxuan Li 28efff3e1e clang-format 2017-05-03 22:50:56 -07:00
Yuxuan Li 5d3ddeeea1 adding server side poll stat 2017-05-03 22:27:11 -07:00
Vijay Pai eea8cf0fe3 Add QPS tests for one-sided streaming 2017-05-02 09:26:12 -07:00
Vijay Pai 0ff932cf08 Make sure that we hold contents of async operation until completion. 2017-03-27 16:16:52 -07:00
Vijay Pai 98e282a585 Eliminate std::placeholders 2017-03-16 04:47:38 -07:00
Craig Tiller 32df467f11 Merge github.com:grpc/grpc into grpc_slice 2016-11-04 08:21:56 -07:00
Vijay Pai 713c7b87e1 clang-format 2016-11-01 16:33:18 -07:00
Vijay Pai c0b2acb1a0 Use C++11 final and override 2016-11-01 16:31:56 -07:00
Craig Tiller d41a4a720f s/gpr_slice/grpc_slice, and move around tests, impls 2016-10-26 16:16:06 -07:00
Craig Tiller 8f67b647fd Merge github.com:grpc/grpc into buffer_pools_for_realsies 2016-10-20 15:53:04 -07:00
Vijay Pai d923583768 Minor cleanup - remove an unneeded header, mark a class final, explicitly specify parent class 2016-10-18 11:40:57 -07:00
Craig Tiller 20afa3d7c9 BufferPool --> ResourceQuota 2016-10-17 14:52:14 -07:00
Craig Tiller 654b242ce7 Merge branch 'direct-calls' into buffer_pools_for_realsies 2016-10-17 14:31:44 -07:00
Craig Tiller 14c836fcd1 Delambdaify 2016-10-17 13:56:13 -07:00
Craig Tiller b019d61f9a Fix benchmark shutdown 2016-10-17 13:23:51 -07:00
Craig Tiller 0c80c7d12c Collecting failure status progress 2016-09-28 16:30:55 -07:00
Vijay Pai 4f17395b81 Properly use unique_ptr rather than explicitly
deleting server context wrappers in QPS test
2016-08-05 01:32:34 -07:00
Craig Tiller b23239b6d8 Merge branch 'histo' of github.com:vjpai/grpc into delayed-write 2016-07-15 06:37:41 -07:00
Vijay Pai 5fde20d9f0 clang-format 2016-07-13 19:25:59 -07:00
Vijay Pai ad7c527618 Temporary workaround by setting up a deadline on server shutdown.
This reveals an issue that needs to be solved:
D0713 14:48:28.049861213   14503 server.c:704]               Waiting for 44 channels and 0/1 listeners to be destroyed before shutting down server
2016-07-13 14:51:44 -07:00
Vijay Pai a831651aa5 Unify and make consistent the per-thread shutdown process 2016-07-13 10:32:26 -07:00
Craig Tiller b5ee1cdcb9 Dont stall shutting down server 2016-07-13 08:39:35 -07:00
Craig Tiller e64d693050 Better fine-tuning 2016-07-12 20:53:16 -07:00
Craig Tiller b19dbead67 Make request freelists per cq, to allow drastically higher requested call counts 2016-07-12 15:33:11 -07:00
vjpai 711472f846 Remove unused gflags and gtest includes 2016-05-31 12:57:38 -07:00
Craig Tiller e67f7b6b54 Fix timeout on async server shutdown
Server was continuing to make requests for new calls forever, which were
starving out the shutdown sequence. Change order and win.
2016-05-23 14:50:24 -07:00
Jan Tattermusch b85e9d43f0 fix formatting 2016-05-11 10:21:45 -07:00
Craig Tiller 6169d5f7b0 Update copyrights 2016-03-31 07:46:18 -07:00
Craig Tiller f40df23eeb Auto-changes 2016-03-25 13:38:14 -07:00
vjpai 63326281d7 1. Remove all deadlines from the RPCs and shutdown in this code.
These tests (especially unconstrained versions) can get very
   backlogged and may take a while to finish. We sometimes flake waiting
   for that. This is not hazardous (IMO), as the scripts that run these
   tests already have timeouts to make sure that these don't truly go on
   forever.

2. Make the time spent in the benchmark phase actually be
   benchmark_seconds rather than benchmark_seconds-warmup_seconds
   as it is currently.
2016-03-14 17:12:52 -07:00
Vijay Pai 8ca0faaf52 use timeouts with proper fixture multipliers rather than raw,
since tsan slows things down a lot and may complicate issues such
as shutdown.
2016-02-13 00:25:45 -08:00
Vijay Pai 5919e81ff1 Remove host option from ServerConfig proto since it is error-prone and
may cause inter-language confusion.
2016-01-29 01:24:05 -08:00
David Garcia Quintas b4e51b52bd Merge branch 'master' of github.com:grpc/grpc into sync-async-plus-interfaces 2016-01-27 19:57:58 -08:00
Vijay Pai 16e45702ac clang-format 2016-01-27 14:51:12 -08:00
Vijay Pai 7d8335f875 Don't log newlines 2016-01-27 12:00:41 -08:00
Vijay Pai 32baa5e622 Allow dynamic sizing of async client and server thread pools 2016-01-27 10:01:41 -08:00
vjpai a24e9d774c Sanity checks and asan fix 2016-01-27 09:45:29 -08:00
yang-g 8053d2feb6 Merge remote-tracking branch 'upstream/master' into sync_async_mix 2016-01-15 08:53:15 -08:00
David Garcia Quintas 2bf574f814 Added back trailing newlines 2016-01-14 15:55:03 -08:00
yang-g b9a1377fab Merge remote-tracking branch 'upstream/master' into sync_async_mix 2016-01-14 09:50:48 -08:00
Craig Tiller 754bd26e28 clang-format code 2016-01-14 06:10:15 -08:00
murgatroid99 eeb02ba77a Update copyrights again 2016-01-13 20:43:33 -08:00
yang-g d42262e22e merge with head 2016-01-13 15:32:51 -08:00