| Commit message (Collapse) | Author | Age |
|
|
|
|
|
| |
Make sure paddings are GPR_CACHELINE_SIZE minus the
size of fields in that cache line. Otherwise, we will waste an
additional cache line for no good reason.
|
|
|
|
| |
Explain that the input parameter cannot be nullptr.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This commit contains a few improvements:
1. Using a consequetive range of [0..4], will allow us to merge all
branches of error_is_special into one comparison.
2. With (1), we can remove the for loops to find entries in
error_status_map with a single O(1) lookup.
3. grpc_error_is_special() code paths should be inlined for ref
and unref to avoid callq for the majority of cases where speical
error is used.
4. grpc_error_get_int() should never accept a nullptr argument to
avoid an expensive branch in the hot path. Callers should all
allocate a dummy int on the stack when calling.
|
| |
|
|\
| |
| | |
Protect Spammy Log with Tracer
|
| | |
|
|\ \ |
|
| |\ \
| | | |
| | | | |
fix: while using eventfd, a random fd will be closed when error occurs during creating eventfd
|
| |\ \ \
| | | | |
| | | | | |
Channelz Part 9: Enable by Default
|
| |\ \ \ \
| | | | | |
| | | | | | |
Avoid unnecessary ref/unref calls to get mdelem from slices.
|
| | | | | | |
|
| | |_|_|/
| |/| | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Remove grpc_mdelem_from_slices_no_unref() since it's a wrapper
around grpc_mdelem_create().
|
| | | |\ \
| | |_|/ /
| |/| | | |
|
| | | | | |
|
|/| | | |
| | | | |
| | | | | |
Simple optimizations in TCP read
|
| |_|/ /
|/| | | |
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
grpc/revert-16791-revert-16695-pass_pollset_set_tsi_handshaker
Revert "Revert "Create and pass pollset_set to ALTS TSI handshaker""
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
We overallocate by 2x for target. Unless buffer is more than half
full, we should not delay read for more allocation.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
If we have a continous stream of bytes on the socket, we will
never grow the buffer, because we will never get EAGAIN, and
call finish. This is a serious performance issue, which can
be misued.
As soon as we have a full buffer, update the estimate.
|
|\ \ \ \ \
| |_|/ / /
|/| | | | |
Unify fallthrough comment in switch statements
|
| | | | | |
|
| | | | | |
|
|/ / / / |
|
|\ \ \ \
| | | | |
| | | | | |
Make link_head consistent with link_tail.
|
| | | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Channelz Part 8: Get Server Sockets
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Add Compaction to Channelz Registry
|
| | | | | | | |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
I mistakenly added "const ref" which breaks Android client.
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
Clean some timer code
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
Disable error tracking until Fathom changes are commited
|
| |_|_|_|_|_|/ /
|/| | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
grpc_mdelem_from_slices() unref's the key and value. As a result,
in quite a few cases on the hot path, we first ref slice, so that
grpc_mdelem_from_slices() can unref them.
Add grpc_mdelem_from_slices_no_unref() which does not unref() the
input slices. This cuts 0.5% - 1.0% across app benchmarks.
|
| |_|_|_|/ / /
|/| | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
This is a tiny change I note while removing memset() calls.
link_head doesn't set the reserved pointer while link_tail (correctly)
does.
|
| | | | | | | |
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
Core infrastructure for timer manager debug
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | |\ \ \
| |_|_|_|_|/ / /
|/| | | | | | |
| | | | | | | | |
channelz-server-sockets
|
| | | | | | | | |
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
Limit Channel Trace by Memory
|
| | | | | | | | | |
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
Shard Channelz Stats by CPU
|
| | | | | | | | | | |
|
| | | | | | | | | | |
|
| | | | | | | | | | |
|
| |_|_|_|_|_|_|/ /
|/| | | | | | | | |
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
Revert "Create and pass pollset_set to ALTS TSI handshaker"
|
| | |_|_|/ / / / /
| |/| | | | | | | |
|