Commit Graph

501 Commits

Author SHA1 Message Date
David Garcia Quintas ca2886a05c Made the code simpler to parse for humans 2016-03-21 12:04:18 -07:00
David Garcia Quintas 711766dc75 Ensure that no #includes are inside of a namespace. 2016-03-21 11:30:59 -07:00
Vijay Pai 847baf6fe0 clang-format and fix a typo caused by saving 2016-03-14 17:23:50 -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
vjpai 2697f2141f Merge branch 'master' into debug_qps_stream 2016-03-10 23:53:43 -08:00
Craig Tiller baaf65546a Fix formatting 2016-03-07 22:39:11 -08:00
Craig Tiller 710d58cfae Disable profiling in qps_worker for now 2016-03-07 20:00:50 -08:00
Craig Tiller 2d9476898b Revert "Ensure that no #includes are inside of a namespace." 2016-03-04 11:05:42 -08:00
David Garcia Quintas 2a8c280370 sanity 2016-03-02 20:52:34 -08:00
David Garcia Quintas 7d757ca29d Ensure that no #includes are inside of a namespace. 2016-03-02 19:44:16 -08:00
Vijay Pai c47c9497fa clang-format 2016-02-26 14:39:59 -08:00
vjpai 60a7e3336d Finish clients fully before finishing servers 2016-02-26 10:30:17 -08:00
vjpai e7042b5ddf Simplify Mark processing code 2016-02-25 20:28:05 -08:00
Vijay Pai 02eda41d21 Do stream operations in a more idiomatic way: Write, WritesDone, Read until fail, Finish 2016-02-25 19:43:57 -08:00
vjpai e2d39e08f9 Timer->UsageTimer consistently 2016-02-24 12:36:15 -08:00
Nicolas Noble 86b258c462 Merge pull request #5388 from vjpai/bourne_again
Use traditional Bourne shell syntax for piping stdout and stderr
2016-02-24 10:29:22 -08:00
vjpai 6483c32f7c BSD platforms (such as Mac) are likely to have /bin/sh refer to traditional
Bourne shell syntax, not Bash syntax. Change "|&" to "2>&1 |" since that's the
traditional way to redirect stdout and stderr to a pipe
2016-02-24 09:29:12 -08:00
Craig Tiller 4ea4599a50 Merge github.com:grpc/grpc into naming-crisis 2016-02-23 17:13:38 -08:00
Craig Tiller 19fa540100 Fix copyrights 2016-02-23 08:19:39 -08:00
Craig Tiller 6541cabe9d clang-fmt 2016-02-22 22:41:53 -08:00
Craig Tiller 732a875fe8 Add a sanity test for name aliasing 2016-02-22 15:59:19 -08:00
Vijay Pai 2d435b9178 Fix the slowdown factor 2016-02-19 00:42:08 -08:00
Vijay Pai 3b28872210 1. Adjust tsan/asan/msan slowdowns according to documentation
tsan documentation says 2-20x, so set it at 20x
asan documentation says 1.2-2.7x, so set it at 3x
msan documentation says 2-4x, so set it at 4x
This is now much less optimistic than before

2. Reactive tsan tests for qps_test
3. Set CPU load for qps_openloop_test
4. Divide qps_openloop_test Poisson rate by the slowdown factor of
   the configuration
2016-02-19 00:28:28 -08:00
Vijay Pai 2815f184a3 Document variable names 2016-02-17 13:55:03 -08:00
Vijay Pai 8a2ff73640 Use more variables for better explanations 2016-02-17 09:21:10 -08:00
Vijay Pai ed3cd423b6 Use three different load-factors and document load-factor variable 2016-02-17 08:49:03 -08:00
Vijay Pai ee53dc5e08 Merge branch 'master' into loaded 2016-02-16 13:51:38 -08:00
Vijay Pai e40aefb829 Fix the timeout 2016-02-13 01:25:30 -08: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 1a06082265 Add 70% load scenario for testing with open-loop 2016-02-12 17:34:08 -08:00
Vijay Pai 6583176337 clang-format 2016-02-12 15:59:03 -08:00
vjpai 7914e62d48 Attack of the const police.
I also added some unrequested const's
2016-02-12 15:57:08 -08:00
Vijay Pai 761bcb4a18 Cleanup to make it work with clang build 2016-02-11 11:59:04 -08:00
Vijay Pai 914455782f Sanity (clang-format and copyright) 2016-02-11 06:08:58 -08:00
Vijay Pai 1132c6b7db Simplify and properly implement openloop testing.
Revive it in tests as well
2016-02-11 06:05:24 -08:00
Vijay Pai 9982c6fc3a Fix random number generators and improve code style (stop using
operator overloads)
2016-02-10 14:55:33 -08:00
murgatroid99 7a55684a13 Clang format and fix copyrights 2016-02-05 11:33:30 -08:00
Michael Lumish bcfe99a547 Merge pull request #5008 from vjpai/worker_quit
Provide an RPC to quit the performance benchmarking workers
2016-02-04 16:32:03 -08:00
Bogdan Drutu e4fdcd9242 Merge pull request #5013 from a-veitch/tag_set_to_context
Change all instances of census_tag_set to census_context
2016-02-04 12:42:35 -08:00
vjpai ed53c08238 Merge branch 'master' into worker_quit 2016-02-04 11:50:45 -08:00
Alistair Veitch 9ded5dbf35 fix missed merge issue 2016-02-03 11:24:11 -08:00
vjpai 7f1b65b8c6 Took out dependence on vector 2016-02-03 09:10:14 -08:00
vjpai 574020edf1 Forgot to put this in the Mac version 2016-02-03 07:58:23 -08:00
Alistair Veitch ddb163a0e4 merge 2016-02-02 13:33:44 -08:00
Vijay Pai 2066443b7c Function name changed on merge.... 2016-02-02 11:48:12 -08:00
Vijay Pai b47b556d33 Merge branch 'master' into worker_quit 2016-02-02 10:36:12 -08:00
Vijay Pai 2ed337aab3 clang-format 2016-02-02 09:43:35 -08:00
Alistair Veitch 75d5c0f024 post merge 2016-02-02 09:43:02 -08:00
vjpai 21e5d2b2f1 Add a Quit RPC so that we can conveniently shut down the workers from the driver. 2016-02-02 09:36:36 -08:00
Vijay Pai daadcc8f74 at 2016-02-01 16:49:55 -08:00
Vijay Pai 33e51184fc Address reviewer comments regarding const and shortage of comments 2016-02-01 16:40:06 -08:00
Vijay Pai 0d7a070e7e Add core-limited scenario and protobuf-based QPS scenario 2016-02-01 14:10:47 -08:00
Vijay Pai 595674275b Copyright and clang-format 2016-02-01 13:28:55 -08:00
Vijay Pai 6b05639ab1 Make sure that client limit is valid 2016-02-01 13:01:34 -08:00
Vijay Pai 7d45cdb60b Enable properly working core limits on clients and servers,
and determine these dynamically if only one or the other is
specified but both are running on the same host
2016-02-01 13:00:19 -08:00
Vijay Pai c5eec2be89 Make dynamic sizing of async threads work again 2016-02-01 09:46:30 -08:00
Vijay Pai c64736d852 Clean-up core list usage and make it possible to reset the core list 2016-02-01 09:33:11 -08:00
Vijay Pai 03ba4d746a Merge branch 'master' into corelimit2 2016-02-01 08:17:27 -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
Craig Tiller 6c3de35d3d Merge pull request #4775 from dgquintas/sync-async-plus-interfaces
Support mixing sync and async method in the same service + Separation of core from proto compiler output
2016-01-28 16:00:40 -08:00
Vijay Pai 269c4b98c5 Testing scenarios for various performance characteristics 2016-01-28 12:18:54 -08:00
David Garcia Quintas 6523391782 sanity fixes 2016-01-27 20:07:36 -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
David Garcia Quintas 5a9462339d copyrights 2016-01-27 19:22:14 -08:00
Vijay Pai 16e45702ac clang-format 2016-01-27 14:51:12 -08:00
Vijay Pai 1d71a0e084 Merge branch 'generic_qps' into dynamic_sizing2 2016-01-27 12:16:05 -08:00
Vijay Pai 36e7770101 Merge branch 'master' into generic_qps 2016-01-27 12:15:48 -08:00
Vijay Pai 7d8335f875 Don't log newlines 2016-01-27 12:00:41 -08:00
Vijay Pai 7a984f0e3a Copyright 2016-01-27 11:24:57 -08:00
Vijay Pai d02dd30a1f Also dynamic sizing for num_clients on performance tests 2016-01-27 11:23:34 -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
vjpai 0c31b60805 Sanity failures (copyright, clang-format) 2016-01-27 09:03:18 -08:00
vjpai 94aada9ee5 clang-format 2016-01-26 18:12:30 -08:00
vjpai 020c2f36ac Fix copyright 2016-01-26 18:11:22 -08:00
vjpai a091a23a7f No need to put \n at end of a log message 2016-01-26 18:10:42 -08:00
vjpai a00f998089 Actually create async generic server 2016-01-26 17:51:35 -08:00
Vijay Pai bdf4acbbfb Properly state client name 2016-01-26 15:15:26 -08:00
Vijay Pai 0f14209061 Improve logging for test 2016-01-26 14:20:07 -08:00
Vijay Pai 57ecf766ab clang-format 2016-01-26 12:42:48 -08:00
Vijay Pai 58da895a8c localhost -> wildcard address 2016-01-26 10:57:07 -08:00
David Garcia Quintas 6a48405ed0 pre sync_stream.cc creation. Does not compile 2016-01-25 19:12:37 -08:00
David Garcia Quintas 826505cc8f Merge branch 'master' of github.com:grpc/grpc into sync-async-plus-interfaces 2016-01-21 15:25:54 -08:00
vjpai f524844da9 Fix include guard 2016-01-19 15:34:14 -08:00
vjpai 41859d025b Added todo as a reminder to drive core selection automatically 2016-01-19 15:30:22 -08:00
vjpai 4f5146dac2 Change name from coresched to limit_cores 2016-01-19 15:28:52 -08:00
David Garcia Quintas 4a0f8ea535 Merge branch 'sync_async_mix' of https://github.com/yang-g/grpc into yang-g-sync_async_mix 2016-01-19 14:51:55 -08:00
vjpai c833c82c08 Merge branch 'master' into corelimit2 2016-01-19 13:37:33 -08:00
vjpai 861eb9f13a Fix copyrights for sanity 2016-01-19 13:37:27 -08:00
vjpai 2c42bb1d18 Copyright fixes for sanity 2016-01-19 13:02:42 -08:00
vjpai cd624d2eee Dealt with a nit 2016-01-19 11:40:10 -08:00
Vijay Pai d3ea2708cc Re-enable explicit specification of server port for qps worker. Also
add in a check that we don't try to use generic testing for sync or unary.
2016-01-19 10:59:42 -08:00
vjpai f6269a4dca Merge branch 'master' into corelimit2 2016-01-19 08:01:47 -08:00
vjpai caace811b4 Fix asan error caused by mismatch in alloc/dealloc between new[] and
regular delete...
2016-01-18 22:15:55 -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