Vijay Pai
6defb325d9
Remove some pre-C++11-style workarounds
2017-08-29 08:44:54 -07:00
Vijay Pai
c38955501b
Move some internal includes to the right places
2017-08-24 10:16:40 -07:00
Vijay Pai
e1418e4ab1
Switch to idiomatic Slice API
2017-08-09 22:03:16 -07:00
ncteisen
af313caab8
Eliminate copy in QPS Driver
2017-08-02 16:05:48 -07:00
ncteisen
0133cc6fd8
Avoid benchmarking allocs
2017-07-27 19:45:24 -07:00
Guantao Liu
1932a50e50
Merge pull request #11787 from guantaol/qps_driver
...
Add a new metric and enable internal credential types in QPS Driver
2017-07-18 17:46:57 -07:00
Vijay Pai
0f95fa4909
Add idiomatic C++ API for grpc::Slice construction that doesn't
...
require using grpc_slice
2017-07-18 11:07:43 -07:00
Craig Tiller
d996379030
Reset OWNERS state
2017-07-17 10:54:07 -07:00
Guantao Liu
29a7050c35
Fixed sanity.
2017-07-14 19:24:26 -07:00
Guantao Liu
91d8f0b5a8
Added the missing header file and fixed a syntax error.
2017-07-14 18:33:30 -07:00
Guantao Liu
ac9fdfbc40
Removed unnecessary default values and fixed sanity.
2017-07-14 17:33:19 -07:00
Guantao Liu
e72b5d6ab8
Merge remote-tracking branch 'upstream/master' into qps_driver to resolve conflicts.
2017-07-13 18:29:18 -07:00
Craig Tiller
5e47758d53
Make @vjpai an owner of qps_test
2017-07-13 16:09:47 -07:00
Nicolas "Pixel" Noble
68ce2564fd
Sanitizing repo.
2017-07-13 22:45:33 +02:00
Nicolas Noble
9877189e45
Merge pull request #11310 from nicolasnoble/import
...
Import mutations.
2017-07-13 13:39:58 -07:00
yang-g
fdcb774cea
Regenerate projects and fixes
2017-07-13 10:25:42 -07:00
yang-g
b575a34e05
Replace InitBenchmark with InitTest. Remove qps_test.cc
2017-07-13 09:47:27 -07:00
Guantao Liu
abe3cf51f0
Add a new metric 'Queries/CPU-sec'.
...
Enable internal credential types.
2017-07-12 17:36:30 -07:00
Vijay Pai
c0baec60a1
Internalize structs and methods meant for being exposed through codegen
...
or that interface with core and are only for internal use
2017-07-10 14:33:53 -07:00
Craig Tiller
873ee82277
Add channel args to qps server
2017-07-06 09:22:10 -07:00
Nicolas "Pixel" Noble
5d80dc4985
Merge branch 'master' of https://github.com/grpc/grpc into import
2017-06-26 22:01:11 +02:00
ncteisen
dc1b51e6b3
clang fmt
2017-06-19 09:00:25 -07:00
ncteisen
24e820762a
Add json out flag to qps driver
2017-06-19 07:36:51 -07:00
Ken Payson
c8e7a52fc7
Merge remote-tracking branch 'origin/master' into HEAD
2017-06-13 02:52:13 +00:00
Jan Tattermusch
4d5c3102a1
fix remaining license notices
2017-06-08 11:22:41 +02:00
Jan Tattermusch
7897ae9308
auto-fix most of licenses
2017-06-08 11:22:41 +02:00
Nicolas "Pixel" Noble
7bc55fdaa3
Merge remote-tracking branch 'ctiller/build-wtf' into import
2017-05-26 00:32:47 +02:00
Vijay Pai
4b07aab513
Support multiple threads per cq sharing, add tests
2017-05-23 09:20:56 -07:00
Craig Tiller
840931eec9
More import fixes
2017-05-19 15:37:45 -07:00
Nicolas "Pixel" Noble
af6c83f9e1
Adding dummy layering check option.
2017-05-19 01:53:56 +02:00
Yuxuan Li
8698f2bbee
fix extern c location
2017-05-15 16:53:01 -07:00
Yuxuan Li
6ca796d7ad
merge master, resolve conflict
2017-05-15 14:15:34 -07:00
Nicolas "Pixel" Noble
eb36b8ac77
Merge branch 'master' of https://github.com/grpc/grpc into import
2017-05-11 23:24:37 +02:00
Nicolas "Pixel" Noble
78f8ce33ca
The json parser comes from protobuf.
2017-05-11 00:42:55 +02:00
Nicolas "Pixel" Noble
71ca4200f6
QPS doesn't actually need gtest anymore.
2017-05-10 01:32:31 +02: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
Craig Tiller
d868a07d7c
Merge github.com:grpc/grpc into uberpoll
2017-05-07 20:02:30 -07: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
a33e2b27a1
add some comments
2017-05-04 16:13:49 -07:00
Yuxuan Li
5f9f37a33c
fix minor
2017-05-04 13:39:29 -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
Yuxuan Li
999ac157e6
initial implementation.
2017-05-03 21:36:36 -07:00
Craig Tiller
c3571791a5
Isolate timer checking in its own thread
2017-05-02 14:36:33 -07:00
Vijay Pai
eea8cf0fe3
Add QPS tests for one-sided streaming
2017-05-02 09:26:12 -07:00
Craig Tiller
f26caeedc6
clang-format
2017-04-19 06:48:05 -07:00
Craig Tiller
9354720625
Fix infinite streams in qps_test
2017-04-18 19:42:27 +00:00
Nicolas "Pixel" Noble
7c26eed838
Buildifier and wrapping test/cpp/* rules with our build system.
2017-04-13 02:03:22 +02:00
Alexander Polcyn
2018a4060d
create a grpc client qps test logging reporter
2017-04-08 13:01:49 -07:00
Vijay Pai
45a9abae95
Add option to limit # of messages per stream with tests
2017-04-03 14:24:53 -07:00
Nicolas Noble
6ee38a7e51
Merge pull request #9780 from ctiller/cpp_bazelness
...
More C++ Bazel support
2017-03-30 10:21:11 -07:00
Vijay Pai
0ff932cf08
Make sure that we hold contents of async operation until completion.
2017-03-27 16:16:52 -07:00
Nicolas "Pixel" Noble
6f7dcd0ade
Clang-format.
2017-03-27 18:51:55 +02:00
Nicolas "Pixel" Noble
b02dd01584
Fixing qps & benchmark.
2017-03-24 21:56:51 +01:00
Nicolas "Pixel" Noble
ddab452096
Merge branch 'master' of https://github.com/grpc/grpc into cpp_bazelness
2017-03-22 18:30:44 +01:00
Nicolas "Pixel" Noble
0a6d30bc4c
Buildifier.
2017-03-22 00:51:51 +01:00
Vijay Pai
98e282a585
Eliminate std::placeholders
2017-03-16 04:47:38 -07:00
Yang Gao
cedfa76471
Merge pull request #10000 from yang-g/grpc_pb_h
...
Include x.pb.h instead of x.grpc.pb.h for message-only protos
2017-03-15 10:33:03 -07:00
yang-g
90f43d4fa4
add missing header
2017-03-14 10:58:44 -07:00
yang-g
d0084c220e
Include x.pb.h instead of x.grpc.pb.h for message-only protos
2017-03-06 11:23:35 -08:00
Vijay Pai
24992060c8
Finish streams that error. Don't histogram failed ops.
...
Fail on failed write
2017-02-28 15:39:22 -08:00
Craig Tiller
2363cadb3e
Merge branch 'cpp_bazelness' of github.com:ctiller/grpc into cpp_bazelness
2017-02-24 16:24:07 -08:00
Craig Tiller
bf515b6f7f
Merge github.com:grpc/grpc into cpp_bazelness
2017-02-24 16:23:50 -08:00
Craig Tiller
b32ffb9145
Fixes
2017-02-17 15:47:59 -08:00
Craig Tiller
3a48847182
qps BUILD progress
2017-02-17 14:35:26 -08:00
Craig Tiller
221edc1e5b
Remove dead code
2017-02-17 13:58:19 -08:00
Craig Tiller
5395aba78b
Merge github.com:grpc/grpc into bwest
2017-02-02 10:29:04 -08:00
Craig Tiller
7ec4748502
Improve sync streaming benchmark, fix deadlock that can occur sometimes
2017-02-01 16:54:51 -08:00
Jan Tattermusch
bd0b0546a6
windows compilation fixes
2017-02-02 00:01:09 +01:00
Sree Kuchibhotla
03370d31a8
Merge branch 'master' into poll-cv-disable
2017-02-01 08:33:33 -08:00
Robbie Shade
ca7effcdff
Replace timeout/scaling macros with functions.
2017-01-31 15:40:20 -05:00
Sree Kuchibhotla
70d9ca402a
Excluded async_client_sync_server_* tests for poll-cv engine since it
...
sometimes get stuck (or extremely slow).
(https://github.com/grpc/grpc/issues/8545 ) created to debug poll-cv
issues with async_client_sync_server perf tests
2017-01-27 10:54:05 -08:00
apolcyn
44e907af0e
Merge pull request #9322 from apolcyn/deprecate_benchmark_core_lists
...
Don't configure core lists in in benchmark driver
2017-01-17 17:30:41 -08:00
Alexander Polcyn
62a7ca8c95
re-run clang-format.sh
2017-01-12 11:32:15 -08:00
lyuxuan
def69b3075
Merge pull request #8816 from lyuxuan/cpu_usage2
...
sending cpu load latency performance test results to big query
2017-01-12 06:27:19 -08:00
Alexander Polcyn
6ff1ca4871
re-run generate project to build qps json driver
2017-01-11 14:25:55 -08:00
Alexander Polcyn
8a0ef63dea
remove LimitCores in c++ benchmark
2017-01-11 13:52:01 -08:00
Alexander Polcyn
a6e796f58f
ignore core counts and core lists in qps json driver
2017-01-11 13:49:43 -08:00
Yuxuan Li
ac87a46225
enable uploading server cpu usage data from performance tests to big query
2017-01-11 10:01:16 +00:00
Yuxuan Li
98c0bd7c82
add setting channel args functionality to performance tesing
...
setting channel args --draft
clang-format
2017-01-11 08:01:40 +00:00
Jan Tattermusch
9f89107f17
better qps_json_driver message when QPS_WORKERS env is missing
2016-12-21 12:20:37 +01:00
Alexander Polcyn
4873d30ea2
allow disable core_list setting and override qps server in benchmarks
2016-12-20 19:24:43 -08:00
Alex Polcyn
fcf09ea42e
handle empty string for qps workers in driver and dont quit them on netperf
2016-12-06 04:00:05 +00:00
Mark D. Roth
bf25e240bc
Fix test name conflict in import. Also use low-thread-count variant for asan.
2016-12-05 09:39:01 -08:00
David Garcia Quintas
3c5a868a1b
PR comments #2
2016-11-30 11:26:58 -08:00
David Garcia Quintas
523a4aa0a0
PR comments
2016-11-30 10:50:39 -08:00
David Garcia Quintas
a0a3c411d1
Merge branch 'master' of github.com:grpc/grpc into json_localhost_carnage
2016-11-29 17:31:07 -08:00
David Garcia Quintas
d6936b6bee
PR comments
2016-11-29 17:22:48 -08:00
Mark D. Roth
0d8c9cf1d5
Merge pull request #8868 from markdroth/fixit_qps
...
Improve subproccess cleanup in json_run_localhost.
2016-11-29 09:53:02 -08:00
Craig Tiller
9564cf9f0a
Take into account all the configs
2016-11-29 09:12:48 -08:00
Mark D. Roth
c56d3ebd7e
Improve logging.
2016-11-29 07:32:39 -08:00
David Garcia Quintas
6deadf5b88
Propagate termination signals to subprocesses
2016-11-28 18:02:37 -08:00
Craig Tiller
c991e80e07
Limit outstanding rpc count for synchronous {client,server} tsan tests
2016-11-28 16:18:07 -08:00
Craig Tiller
ab34b12e50
Make a better educated guess about CPU costs of a benchmark
2016-11-28 13:19:12 -08:00
Craig Tiller
f739c058b7
Make a better educated guess about CPU costs of a benchmark
2016-11-28 13:04:51 -08:00
Mark D. Roth
37d5f9b4e5
Add debug logging for process termination state.
2016-11-28 10:45:00 -08:00
Vijay Pai
aaefa958d7
Merge pull request #8638 from vjpai/conform
...
Improve C++11 conformance
2016-11-10 14:57:05 -08:00
lyuxuan
3b51f0b492
Merge pull request #8313 from lyuxuan/cpu_usage2
...
Get server cpu usage info and search for offered_load value that achieves targeted cpu usage
2016-11-08 12:15:15 -08:00
Craig Tiller
b720b609ea
Merge github.com:grpc/grpc into grpc_slice
2016-11-08 07:20:27 -08:00
Vijay Pai
ef22989484
Merge branch 'master' into conform
2016-11-07 14:40:22 -08:00
Yuxuan Li
12df928362
fixing override
2016-11-07 13:22:18 -08:00
Yuxuan Li
8114153015
Merge branch 'master' into cpu_usage2
2016-11-07 11:43:11 -08:00
Craig Tiller
314f43991c
Increase test timeouts
...
These tests are failing when run as a batch, but passing when run in
isolation.
Suspect something more is up, but this will at least make our builds
much greener until we figure that out.
2016-11-04 15:34:42 -07:00
Vijay Pai
56540ba9f9
clang-format
2016-11-04 10:02:31 -07:00
Craig Tiller
32df467f11
Merge github.com:grpc/grpc into grpc_slice
2016-11-04 08:21:56 -07:00
Vijay Pai
f4671bfaef
Remove a namespace and start using a lambda for a small function
2016-11-04 07:51:25 -07:00
Vijay Pai
c01958bf55
Cleanup unneeded namespace
2016-11-04 07:51:25 -07:00
Vijay Pai
f2764e76f9
clang-format
2016-11-04 07:51:24 -07:00
Vijay Pai
90102c2bfc
Eliminate unnecessary uses of new[]/delete[] that can be replaced
...
with vector
Also start eliminating uses of plain-old delete that are not helpful
2016-11-04 07:51:24 -07:00
Vijay Pai
e140d5c60d
Regenerate all projects
2016-11-01 16:53:21 -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
Yuxuan Li
d68ea95f30
fixing conflicts with new upstream master
2016-10-28 14:39:41 -07:00
Yuxuan Li
c9ca0a9e70
clang-format for recently changed files. merged upstream master
2016-10-28 14:08:36 -07:00
Yuxuan Li
5a991e227b
Merge branch 'master' into cpu_usage2
2016-10-28 14:04:41 -07:00
Craig Tiller
b7982319c9
Merge github.com:grpc/grpc into grpc_slice
2016-10-28 07:22:08 -07:00
Craig Tiller
86cb138ee9
Handle failed calls in sync client
2016-10-27 15:29:49 -07:00
Craig Tiller
d41a4a720f
s/gpr_slice/grpc_slice, and move around tests, impls
2016-10-26 16:16:06 -07:00
Yuxuan Li
1a9a0d8da8
fix logging problem
2016-10-26 11:12:16 -07:00
Yuxuan Li
aa7411da04
minor fix for usage_timer.cc
2016-10-25 13:23:44 -07:00
Yuxuan Li
60d55f80c4
Change flag precision to flag stride, better description.
...
Add flag error_tolerence to define the search stopping criteria.
Move the equal condition in the binary search to smaller than condition.
Wrap get_cpu_usage(), so on non-linux platform, the compiler won't
complain and will get cpu usage to be 0.
2016-10-21 18:18:29 -07:00
Craig Tiller
8f67b647fd
Merge github.com:grpc/grpc into buffer_pools_for_realsies
2016-10-20 15:53:04 -07:00
Craig Tiller
afcc8752f3
clang-format
2016-10-18 16:10:06 -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
c99945e44c
Merge branch 'direct-calls' into buffer_pools_for_realsies
2016-10-10 10:20:48 -07:00
Craig Tiller
fdc2b10dce
Merge github.com:grpc/grpc into direct-calls
2016-10-10 10:16:35 -07:00
Mark D. Roth
70c0b32c0f
Merge pull request #8219 from markdroth/fail_fast
...
Change C++ API to expose wait_for_ready instead of fail_fast.
2016-10-07 13:06:59 -07:00
Yuxuan Li
c6c6cc269e
change default values flags
2016-10-06 18:28:05 -07:00
Yuxuan Li
6a5b9924f3
resolve out_of_range error from stoi function.
2016-10-06 17:31:40 -07:00
Yuxuan Li
69c61319df
change flags type, name according to the comments.
...
change binary search stride from 1 to FLAGS_precision
2016-10-06 17:00:48 -07:00
Yuxuan Li
77c18981c2
change binary search log info from GPR_INFO to GPR_DEBUG
2016-10-06 15:06:29 -07:00
Yuxuan Li
c265a0ab02
clean up unnecessary new lines and logging.
2016-10-06 15:06:22 -07:00
Yuxuan Li
49aeb59389
clang-formated and latency_vs_load.cc is deleted as its functionality
...
has been merged into qps_json_driver.
2016-10-06 15:06:01 -07:00
Yuxuan Li
d31c78c6f0
updated protobuf, merged latency_vs_load.cc(not deleted yet) and qps_json_driver.cc
2016-10-06 15:05:55 -07:00
Yuxuan Li
58977f1466
initial merge of latency vs load to qps_json_driver.cc
2016-10-06 15:05:50 -07:00
Yuxuan Li
fe21ec90f6
batched changes
2016-10-06 15:05:29 -07:00
Craig Tiller
624f4ba76d
Add missing delete
2016-10-06 11:56:54 -07:00
Craig Tiller
0895545a58
Complete reporting for failure rates
2016-09-29 11:01:14 -07:00
Craig Tiller
032f9bfb58
Start to log errors from benchmark
2016-09-29 10:10:00 -07:00
Craig Tiller
1a8c52e479
Collect stats on # failed requests
2016-09-28 17:28:04 -07:00
Craig Tiller
0c80c7d12c
Collecting failure status progress
2016-09-28 16:30:55 -07:00
Mark D. Roth
5db24978b6
Merge remote-tracking branch 'upstream/master' into fail_fast
2016-09-28 13:21:31 -07:00
Craig Tiller
f91af0001d
Merge github.com:grpc/grpc into direct-calls
2016-09-28 11:00:12 -07:00
Mark D. Roth
9477724003
Change C++ API to expose wait_for_ready instead of fail_fast.
2016-09-27 13:07:00 -07:00
Craig Tiller
af9da92a60
Dont run benchmarks outside of linux for now
2016-09-27 12:47:19 -07:00
Craig Tiller
91bb6241ab
Reduce # of benchmarks run as Jenkins unit tests
2016-09-27 12:46:08 -07:00
Craig Tiller
5abf79a91b
Merge github.com:grpc/grpc into direct-calls
2016-09-23 13:51:00 -07:00
yang-g
e267f86c43
Properly init variable
2016-09-22 14:15:46 -07:00
Craig Tiller
ba1db3b630
Merge github.com:grpc/grpc into direct-calls
2016-09-15 15:57:35 -07:00
Craig Tiller
9e1c2d2358
Dont start requests until all clients have gotten connected
2016-09-14 08:37:10 -07:00
Craig Tiller
531976a6d4
Add an initial mark that clients could use to delay startup of requests
2016-09-14 08:28:37 -07:00
Craig Tiller
44b12f9e23
clang-format
2016-09-08 10:06:14 -07:00
Craig Tiller
cd1feaab30
Merge pull request #7816 from ctiller/benchmark-verbosity
...
Increase log verbosity for benchmark driver
2016-09-07 14:33:56 -07:00
Craig Tiller
0cb5a89d6f
Merge branch 'benchmark-verbosity' into direct-calls
2016-09-07 14:25:38 -07:00
Craig Tiller
bd37a21c26
Cleanup, debug support
2016-09-07 11:28:56 -07:00
Craig Tiller
8ef0eda856
Merge github.com:grpc/grpc into merge-parse
2016-08-22 11:39:08 -07:00
Craig Tiller
daf4699652
Merge pull request #6732 from ctiller/consistent_client_count
...
Make client_channels be across all clients, not per-client
2016-08-22 08:34:38 -07:00
Craig Tiller
74a1d9a939
Increase log verbosity for benchmark driver
2016-08-22 08:33:02 -07:00
Craig Tiller
378ffd8cc3
Merge github.com:grpc/grpc into merge-parse
2016-08-18 13:03:23 -07:00
kpayson64
0c6cce12b4
Merge pull request #7648 from vjpai/qps_better_ptr
...
Use unique_ptr properly in QPS async tests
2016-08-15 13:02:44 -07:00
Craig Tiller
ca04562286
Timing nuances
2016-08-09 08:38:03 -07:00
Vijay Pai
f50020ce03
Appease the const gods, improve readability, stop using 0 and 1 as
...
proxies for false and true.
2016-08-08 07:29:31 -07:00
Vijay Pai
d02988d6b5
clang-format
2016-08-05 09:47:47 -07:00
Vijay Pai
25128f1adf
Better ending for open-loop tests: never wait more than 1 second
...
if we are in termination mode
2016-08-05 09:45:03 -07:00
Vijay Pai
773ecd62dd
Dramatically reduce time required to complete sync test when running
...
with lots of threads (by parallelizing shutdown of course)
2016-08-05 09:26:56 -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
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
346da5f346
Merge github.com:grpc/grpc into consistent_client_count
2016-06-28 14:09:08 -07:00
Craig Tiller
5b47ac385b
Colocate calls for the same channel on the same CQ
2016-06-27 15:47:17 -07:00
Craig Tiller
c074408bd3
Merge github.com:grpc/grpc into consistent_client_count
2016-06-23 11:57:26 -07:00
Craig Tiller
5856dee7d6
Fix compile
2016-06-22 16:30:22 -07:00
Craig Tiller
88a3e93f0d
Better distribution
2016-06-22 08:18:07 -07:00
Craig Tiller
7e5d46496b
Better distribution
2016-06-22 08:17:27 -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
Craig Tiller
d4aa7cf5a5
Fix negation
2016-05-31 13:59:25 -07:00
Craig Tiller
1adb13143f
Add comment
2016-05-31 13:04:32 -07:00
Craig Tiller
dbd03b5e2d
Make client_channels be across all clients, not per-client
2016-05-31 13:00:33 -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
Nicolas Noble
241dea56c8
Merge pull request #6147 from ctiller/strong-includes
...
Rollup of changes from latest import
2016-04-21 18:59:06 -07:00
Craig Tiller
7beea147e5
Merge github.com:grpc/grpc into strong-includes
2016-04-21 17:07:36 -07:00
Vijay Pai
dfdfe26958
Make sure that there is at least one scenario, otherwise indicates malformed
...
input
2016-04-21 11:38:31 -07:00
Vijay Pai
8909428a1a
clang-format
2016-04-20 14:21:30 -07:00
vjpai
92abf1cfd4
Merge branch 'master' into qps_driver_youre_fired
2016-04-20 13:06:25 -07:00
vjpai
1f13c820ed
Eliminate unused source file
2016-04-20 13:04:35 -07:00
vjpai
29089c7b41
Deprecation of qps_driver and use of shell scripts, in progress
2016-04-20 12:38:16 -07:00
vjpai
87bac959ee
Eradicate Uniform, Deterministic, and Pareto interarrival
...
distributions since we don't use them and it's not sensible
to add them
2016-04-20 09:35:35 -07:00
Jan Tattermusch
e9a8d89dc2
fix formatting
2016-04-15 15:38:17 -07:00
Jan Tattermusch
33c161dffa
populate ScenarioResult.summary in JSON report
2016-04-15 14:53:54 -07:00
Jan Tattermusch
6321cec58e
fix formatting
2016-04-14 20:00:29 -07:00
Jan Tattermusch
453442eefb
fix formatting
2016-04-14 18:05:42 -07:00
Jan Tattermusch
969ffaf5c6
Enable JSON reports for qps drivers
2016-04-14 13:13:25 -07:00
Jan Tattermusch
f2ba7fe037
integrate ScenarioResult proto into qps driver
2016-04-14 13:13:25 -07:00
Craig Tiller
8f98e0b9dd
Add missing file
2016-04-11 23:39:12 -07:00
Craig Tiller
3ab2fe0094
Rollup of changes from the latest import
2016-04-11 20:11:18 -07:00
Craig Tiller
0bda0b3e55
Configure performance scenarios with json
...
Run those json configurations as part of presubmits
2016-04-06 10:14:44 -07:00
Craig Tiller
6169d5f7b0
Update copyrights
2016-03-31 07:46:18 -07:00
Craig Tiller
9533d042d4
Fix includes
2016-03-25 17:11:06 -07:00
Jan Tattermusch
f3d7638435
Merge pull request #5877 from vjpai/make_generic_payloads_great_again
...
Properly set server payload config in QPS tests
2016-03-25 16:26:39 -07:00
Craig Tiller
2e1903638e
Fix copyrights
2016-03-25 14:33:26 -07:00
Craig Tiller
f40df23eeb
Auto-changes
2016-03-25 13:38:14 -07:00
Vijay Pai
b830fb3a03
Merge branch 'master' into make_generic_payloads_great_again
2016-03-24 12:54:25 -07:00
vjpai
a4942a012d
@jtattermusch correctly pointed out that we are not setting
...
payload config in our server config. This affect any generic server
tests that use anything other than 0-byte responses: essentially,
server-streaming or bidi throughput tests.
2016-03-21 12:44:02 -07:00
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