Keith Moyer
619e6c8ef6
Compare mask with zero
...
Masking a value and comparing to one will only work if the mask itself
is equal to one (which is not the case here). Comparing to zero works
for any mask.
6 years ago
Yash Tibrewal
c79a632c6d
Merge pull request #17959 from yashykt/errortracing
...
Add error logging around GOAWAYs and chttp2 logging around keepalives
6 years ago
Juanli Shen
1fab48edfc
Add null input handling in grpc_json_destroy()
6 years ago
rmstar
bd93d6de41
Merge pull request #17967 from jtattermusch/scaffolding_flaky_network
...
Scaffolding for flaky network test
6 years ago
Jan Tattermusch
817c28f22f
scaffolding for flaky network test
6 years ago
Muxi Yan
7e210fac5b
Pre-fetch Cocoapods master repo
6 years ago
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
e2b668e314
Fix an issue upon setting kEmptinessTheshold.
...
The bug is that kEmptinessTheshold is always set to 0.
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