Craig Tiller
77c7f9fd62
Merge pull request #7407 from ctiller/delayed-write
...
Benchmark fixes
8 years ago
Craig Tiller
5ca7e47493
Merge pull request #6737 from ctiller/delayed-write
...
Delay beginning most writes until we enter poll()
8 years ago
vjpai
711472f846
Remove unused gflags and gtest includes
9 years ago
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.
9 years ago
Jan Tattermusch
b85e9d43f0
fix formatting
9 years ago
Craig Tiller
9d86120547
clang-format
9 years ago
Julien Boeuf
19cd009ec1
clang-format
9 years ago
Craig Tiller
6169d5f7b0
Update copyrights
9 years ago
Craig Tiller
f40df23eeb
Auto-changes
9 years ago
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.
9 years ago
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.
9 years ago
Alistair Veitch
75d5c0f024
post merge
9 years ago
Vijay Pai
5919e81ff1
Remove host option from ServerConfig proto since it is error-prone and
...
may cause inter-language confusion.
9 years ago
Vijay Pai
16e45702ac
clang-format
9 years ago
Vijay Pai
7d8335f875
Don't log newlines
9 years ago
Vijay Pai
32baa5e622
Allow dynamic sizing of async client and server thread pools
9 years ago
vjpai
a24e9d774c
Sanity checks and asan fix
9 years ago
David Garcia Quintas
45484b31bb
Added sanity check for trailing newlines
9 years ago
David Garcia Quintas
2bf574f814
Added back trailing newlines
9 years ago
Craig Tiller
754bd26e28
clang-format code
9 years ago
murgatroid99
eeb02ba77a
Update copyrights again
9 years ago
Vijay Pai
9f991e252d
More changes needed for generic support
9 years ago
Craig Tiller
15f383c6cc
Exploratory refactoring for mixed sync/async methods on the same C++ service
9 years ago
Vijay Pai
31c0c7949f
clang-format
9 years ago
vjpai
de332dfcac
Refactor server side to support generic tests.
9 years ago
Craig Tiller
1b4e33029e
Consolidate C++ proto files under src/proto
...
- make the directory structure match the package structure
- sanitize the package structure (test --> testing)
- add auto-detection of proto file dependencies
9 years ago
Jan Tattermusch
c5ebbd5b8f
use new perf proto options in c++
9 years ago
vjpai
fba20c987d
Address some review comments about signal and restoring qps_test_with_poll
...
Make payloads respect the new defaults
9 years ago
Vijay Pai
ce84670628
clang-format
9 years ago
vjpai
780a7f205d
Add in security support, make payload protos configurable
...
Have not yet added tests with security support, coming soon
9 years ago
vjpai
d08a738166
Cleanup some names
...
Remove some unused options and make server_threads relevant
Start stubbing out better qps/core calculations
9 years ago
vjpai
72a6332138
QPS worker no longer needs to specify server port on command line. This is part
...
of the proto if desired, or just goes to pick_unused_port_or_die if not
specified
9 years ago
vjpai
119c103ab0
Split up into a new service proto, use proper service suffix, add a
...
reset option to the mark, create a closed loop config params (empty
message) for consistency with other tests.
9 years ago
vjpai
754751e3c6
Numerous proto changes to make things more sane and fix some outstanding issues
9 years ago
vjpai
52bfb2564f
Split qpstest.proto into two parts - one for performance stats and
...
one for control.
Eliminate the use of our own SimpleRequest and SimpleResponse and
instead share the one from end2end testing
9 years ago
vjpai
0cc1341199
Move qpstest.proto to a common area (test/proto) instead of test/cpp/qps
9 years ago
Craig Tiller
71a0f9d3b0
Fix clang-format script
9 years ago
Craig Tiller
8cf0ed03d1
Fix mac build
9 years ago
Nicolas "Pixel" Noble
59588c6162
Removing pessimizing moves.
...
Pass #2 .
9 years ago
vjpai
d514b21cc8
Put timeout on server shutdown
9 years ago
Craig Tiller
1ebb7c885e
Hand-written changes
9 years ago
Julien Boeuf
5be92a316d
Shuffling headers around.
9 years ago
yang-g
9e2f90cd06
headers reorg
9 years ago
vjpai
b1db869e1a
Address concerns from review
9 years ago
Vijay Pai
458faa98ce
Eliminate user of lambda in server definition
9 years ago
Vijay Pai
1f3e6c1ebe
Start switching everything to dynamic pool
9 years ago
vjpai
a2e1bb1577
Change name of thread_pool files to fixed_size_thread_pool when
...
appropriate
10 years ago
Vijay Pai
69f2410086
Make thread_pool.h a public header
...
Rename ThreadPool -> FixedSizeThreadPool to allow for later introduction
of DynamicSizeThreadPool
10 years ago
Craig Tiller
ca83dc8109
Adjust oustanding request count to meet new server algorithm
10 years ago
Craig Tiller
27df2cf69c
Pluck some low hanging concurrency fruit
...
Make the shutdown flag on servers be per thread to save contention on
the lock that must guard it.
10 years ago