Commit Graph

525 Commits

Author SHA1 Message Date
Vijay Pai 6e5c33c3e2 Don't assert if we're not able to set affinity for some reason 2016-07-30 02:56:46 -07:00
Craig Tiller ad94fdfe51 Fix compile error 2016-07-15 06:42:29 -07:00
Craig Tiller b23239b6d8 Merge branch 'histo' of github.com:vjpai/grpc into delayed-write 2016-07-15 06:37:41 -07:00
Craig Tiller 0a06cd7b68 Cleanup from code review 2016-07-14 13:21:24 -07:00
Vijay Pai 5fde20d9f0 clang-format 2016-07-13 19:25:59 -07:00
Vijay Pai 40317fd720 Resolve pernicious race between destructor and thread functions by insisting that destructor is invoked after the class has gone back to being a harmless single-threaded thing. 2016-07-13 19:20:25 -07:00
Craig Tiller 8da7b1f779 Fix some failures 2016-07-13 15:06:00 -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 38fb8de100 get timeouts working on run_tests.py again 2016-07-13 08:23:32 -07:00
Craig Tiller e64d693050 Better fine-tuning 2016-07-12 20:53:16 -07:00
Craig Tiller 61e2040de0 Get json_run_localhost working again 2016-07-12 17:26:52 -07:00
Craig Tiller 72376da8ba Get json_run_localhost working again 2016-07-12 17:14:37 -07:00
Craig Tiller 9e3691c5bd Actually run json_run_localhost tests 2016-07-12 16:29:46 -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
Craig Tiller 1d03e100eb Ensure timely response to marks 2016-07-12 09:50:56 -07:00
Vijay Pai f782465fba Fix some shutdown errors related to CQ/join ordering 2016-07-08 10:33:10 -07:00
Vijay Pai aa8bbeb6c6 Merge branch 'verbose_errors' into histo 2016-07-08 09:41:59 -07:00
Vijay Pai f373f2cf8b Stop holding histogram for a long time 2016-07-08 09:40:55 -07:00
Craig Tiller fbf03c1735 Fix high seqno tests, up runtimes for benchmark tests to flush more bugs 2016-07-07 13:10:09 -07:00
Vijay Pai ceb1a7d79f Add more information so that we can have a meaningful exit code 2016-07-07 11:06:04 -07:00
vjpai b0f15e8af3 Reduce assertions, use status codes, increase verbosity on errors 2016-07-06 13:57:01 -07:00
Craig Tiller 5b47ac385b Colocate calls for the same channel on the same CQ 2016-06-27 15:47:17 -07:00
Vijay Pai ddf694cc62 Merge branch 'master' into wheezy 2016-06-17 13:41:38 -07:00
Jan Tattermusch 3e45ed1c9a Merge pull request #6838 from vjpai/trigger_happy
Revert unneeded change in qps worker
2016-06-16 18:00:25 -07:00
Vijay Pai b31a9a0900 Include <cinttypes> for PRIuPTR. Not clear why this is needed. 2016-06-16 07:50:20 +00:00
Vijay Pai b9e927afcc Merge branch 'master' into wheezy 2016-06-15 22:57:21 -07:00
Vijay Pai 08e071abe0 Specify template parent explicitly 2016-06-15 10:58:15 -07:00
Yuchen Zeng 0ba114408e Fix gpr_log format mismatches in c++ tests 2016-06-10 15:15:44 -07:00
David Klempner e27d189f21 Factor out json seriailzation code and move it into parse_json.
This is for the same reasons as ParseJson, that is so that we can limit
the scope of the proto namespace differences between internal and
external.
2016-06-08 17:11:26 -07:00
vjpai 74e6e135e9 I was trigger-happy with changes to qps_worker in the hope of improving
stability. I believe that this change was unneeded and actually
may hurt matters by holding a lock for too long.
Partially undoes #5444 , particular commit e7042b5
2016-06-08 13:32:16 -07:00
yang-g aaee544d69 merge and resolve conflicts 2016-06-03 15:34:01 -07:00
yang-g 17487f9a22 Make grpc++ independent of protobuf 2016-06-03 15:21:15 -07:00
vjpai 711472f846 Remove unused gflags and gtest includes 2016-05-31 12:57:38 -07:00
vjpai d8364f7af5 Deprecate perf_db use 2016-05-31 12:54:04 -07:00
Craig Tiller e0ddc35aa3 Speed up tests 2016-05-23 15:57:48 -07:00
Craig Tiller 825cd4533c Cleanup redundant tests 2016-05-23 15:54: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
Craig Tiller c0cb23b885 Merge branch 'guess_cpu' into test_affine 2016-05-20 11:17:31 -07:00
Craig Tiller bd24a4611f Better guesses at benchmarks turned unit tests cpu cost 2016-05-20 11:15:58 -07:00
Craig Tiller c3b88b079e Better testing 2016-05-16 11:21:17 -07:00
Craig Tiller 52237e3a96 clang-format 2016-05-13 14:37:25 -07:00
Craig Tiller 63d24f1c7d Make qps workers connect before even warmup stage begins 2016-05-13 14:36:09 -07:00
Jan Tattermusch b85e9d43f0 fix formatting 2016-05-11 10:21:45 -07:00
Jan Tattermusch a21c7e9207 add support for scenario categories 2016-05-05 18:10:35 -07:00
Jan Tattermusch e88030a2c2 Merge pull request #6340 from ctiller/fail_fast_breaks_qps
Disable fail fast for qps driver
2016-05-02 14:26:52 -07:00
Craig Tiller 97244d5810 clang-format, make code more self-documenting 2016-04-29 08:05:57 -07:00
Craig Tiller 5c123fd22b Add a shard channel arg to client channel construction
C core automatically shares subchannels between channels. Therefore our
multiple channel performance tests were really testing single channel
performance.
2016-04-28 20:48:24 -07:00
Craig Tiller b6e4440880 Disable fail fast for qps driver 2016-04-28 08:21:52 -07:00