Vijay Pai
f919ace038
Add a microbenchmark for immediately-firing alarms
6 years ago
Soheil Hassas Yeganeh
75dec4d0f2
Track the pollsets of an FD in PO_MULTI mode for pollex.
...
Each pollset in pollex has a lock, grabbed upon adding an FD
to the pollset. Since this is called on a per-call basis,
there is a flat array caching the FDs of the pollset, to
avoid unnecessarily calling epoll_ctl multiple times for
the same FD.
This has two problems:
1) When multiple threads add FDs to the same pollset,
we will have contention on the pollset lock.
2) When we have many FDs we simply run out of cache storage,
and call epoll_ctl().
This commit changes the caching strategy by simply storing
the epfd of pollsets of an FD inside that FD, when we are in
PO_MULTI mode. This results in address in both (1) and (2).
Moreover, this commit fixes another performance bug.
When we have a release FD callback, we do not call close().
That FD will remain in our epollset, until the new owner of
the FD actually call close(). This results in a lot of spurious
wake ups when we simply hand off gRPC FDs to other FDs.
Note that this is a revision on the reverted commit
e83e463b5a
(PR #17823 ).
The main change is to track the epfd of the pollset
instead of the pollset pointer, so that if the pollset
is deleted we can still access the FD. It also halves
the size of the cache vector for 64-bit machines.
6 years ago
Jan Tattermusch
89110b0352
Merge pull request #17950 from jtattermusch/bad_window_update
...
Ignore reserved bit in WINDOW_UPDATE frame
6 years ago
Jan Tattermusch
9abdfa314d
Merge pull request #17955 from jtattermusch/move_logging_back
...
Move Logging types back to Grpc.Core
6 years ago
Jan Tattermusch
486b1fe320
Fix bad_client_simple_request test.
...
The data of 0xffffffff is actually not illegal, the top bit should be
ingored according to the spec.
6 years ago
Nicolas Noble
9ff175961e
Merge pull request #17958 from grpc/revert-17823-fd-cache
...
Revert "Track the pollsets of an FD in PO_MULTI mode for pollex."
6 years ago
rmstar
0ec2ccb1ac
Merge pull request #17956 from rmstar/builddoc
...
Fixed typo in templates documentation
6 years ago
apolcyn
bc3abf3fcb
Merge pull request #17897 from apolcyn/enable_ares_take_3
...
Revert "Revert c-ares as the default resolver"
6 years ago
Yash Tibrewal
3af64e8495
Reduce logging level to info from error for goaway
6 years ago
Yash Tibrewal
25797cf806
Add logging around GOAWAYs and keepalives
6 years ago
Yash Tibrewal
5a9eb31a3e
Clang format
6 years ago
Yash Tibrewal
bfd89bcec5
Don't run for poll and poll-cv
6 years ago
Nicolas Noble
26605fa309
Revert "Track the pollsets of an FD in PO_MULTI mode for pollex."
6 years ago
Yash Tibrewal
6b74b1350b
Experiment with timing values to make sure that tests pass
6 years ago
Noah Eisen
d97fd19eef
Merge pull request #17951 from ncteisen/empty-binary-metadata
...
Add Empty Binary Metadata Test
6 years ago
Noah Eisen
84e6c851b4
Merge pull request #17949 from ncteisen/error-hotpath
...
Fix TSAN in no_error_on_hotpath Test
6 years ago
Jan Tattermusch
f83fbe95b4
Merge pull request #17888 from xichengliudui/updatefiles
...
Fix various typos in .cc and .md files
6 years ago
Prashant Jaikumar
d77bf34c1c
Fixed typo in templates documentation
6 years ago
Jan Tattermusch
8a5c52e53f
move Logging types back to Grpc.Core
6 years ago
Yash Tibrewal
a55047e2c1
Merge branch 'master' into keepaliveopt
6 years ago
Yash Tibrewal
058ceccd71
Add test to check that reads reset the keepalive timer
6 years ago
Yash Tibrewal
e5eb3f8019
Merge pull request #17934 from yashykt/compressionlevel
...
Default compression level quick fix
6 years ago
Jan Tattermusch
e03eea2660
Merge pull request #17944 from grpc/jtattermusch-patch-2-1
...
Fix typo in flow control trace
6 years ago
Jan Tattermusch
88386078d0
Merge pull request #17941 from grpc/revert-17836-bugfix/jq-installation
...
Revert "added retry statements to jq installation commands"
6 years ago
Soheil Hassas Yeganeh
6d293e5bda
Merge pull request #17945 from soheilhy/channelz-test
...
Update the channelz compaction test to use 300 entries.
6 years ago
ncteisen
3fe3be39fe
Add empty binary metadata test
6 years ago
Jan Tattermusch
bc4c77bf95
ignore reserved bit in WINDOW_UPDATE frame
6 years ago
ncteisen
ade38d75c1
Fix tsan
6 years ago
Juanli Shen
13e3688516
Merge pull request #17937 from AspirinSJL/fix_hcc_2
...
Second attemp to fix use-after-free in health check client
6 years ago
rmstar
0d9e6d1e36
Merge pull request #17842 from rmstar/timechange
...
Added test for wall clock time change on the client
6 years ago
Noah Eisen
79ccf20ef1
Merge pull request #17943 from ncteisen/owners-flamewar
...
Remove owners for tools/run_tests/performance
6 years ago
Vijay Pai
cfc52beebc
Merge pull request #17933 from vjpai/resettable_alarm
...
Allow a grpc::Alarm to be set again after firing
6 years ago
Soheil Hassas Yeganeh
94564d1c22
Update the channelz compaction test to use 300 entries.
6 years ago
Jan Tattermusch
0da52ab133
Fix typo in flow control trace
6 years ago
ncteisen
440f734d59
Remove owners for tools/run_tests/performance
6 years ago
Jan Tattermusch
18856a87fc
Merge branch 'master' into updatefiles
6 years ago
Jan Tattermusch
e3f37b7f43
Merge pull request #17928 from jtattermusch/kokoro_v4_perf_image
...
grpc-performance-kokoro-v4 kokoro perf image changes
6 years ago
Jan Tattermusch
474a931036
Revert "added retry statements to jq installation commands"
6 years ago
apolcyn
9aee1731c9
Merge pull request #17598 from crwilcox/terminate-hostname
...
Add period at end of metadata.google.internal to prevent unnecessary DNS lookups
6 years ago
Juanli Shen
fdae4dc833
Second attemp to fix use-after-free in health check client
6 years ago
Nicolas Noble
e06b73cab3
Merge pull request #17930 from grpc/boringssl-ubsan-test
...
Removing BoringSSL-specific ubsan suppressions.
6 years ago
Yash Tibrewal
84a537b1d1
Default compression level quick fix
6 years ago
Vijay Pai
45c684f894
Allow an alarm to be set again after firing
6 years ago
Prashant Jaikumar
bca92b2b7e
Added test for wall-clock time change on the client
6 years ago
Nicolas Noble
9abc673def
Restore gsec* suppressions
...
These aren't from BoringSSL
6 years ago
Eric Gribkoff
5e50a89502
Merge pull request #17929 from ericgribkoff/abort_test_flake
...
fix flake in test_abort_does_not_leak_local_vars
6 years ago
Nicolas Noble
510fba2deb
Removing BoringSSL-specific ubsan suppressions.
...
Let's see if #17791 is really fixed.
6 years ago
Eric Gribkoff
5a20b60cda
fix flake in test_abort_does_not_leak_local_vars
6 years ago
Jan Tattermusch
d6ca2c9c95
v4 kokoro perf image changes
6 years ago
apolcyn
7e57732a1f
Merge pull request #17912 from apolcyn/java_and_go
...
Unskip google default creds for Go and Java in cloud to prod tests
6 years ago