aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/lib/iomgr
Commit message (Collapse)AuthorAge
...
| * | Merge pull request #16823 from AspirinSJL/rqGravatar Juanli Shen2018-10-25
| |\ \ | | | | | | | | Account the memory usage of channel and call by resource quota
| | * | Fix OOM by expanding resource quota coverageGravatar Juanli Shen2018-10-25
| | | |
| * | | Don't unnecessarily create exec_ctxGravatar Yash Tibrewal2018-10-25
| |/ /
| * | Use union to make alignement robust.Gravatar Soheil Hassas Yeganeh2018-10-19
| | | | | | | | | | | | Suggested-by: vjpai@google.com
| * | Do not waste cache lines with unnecessary paddings.Gravatar Soheil Hassas Yeganeh2018-10-19
| | | | | | | | | | | | | | | | | | 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.
| * | Add comment for grpc_error_get_int().Gravatar Soheil Hassas Yeganeh2018-10-18
| | | | | | | | | | | | Explain that the input parameter cannot be nullptr.
| * | Optimize error handling for special cases.Gravatar Soheil Hassas Yeganeh2018-10-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | Merge pull request #16885 from ncteisen/tcp-user-timeoutGravatar Noah Eisen2018-10-16
| |\ \ | | | | | | | | Protect Spammy Log with Tracer
| * \ \ Merge pull request #10859 from haorenfsa/masterGravatar hcaseyal2018-10-16
| |\ \ \ | | | | | | | | | | fix: while using eventfd, a random fd will be closed when error occurs during creating eventfd
| | | * | protect spammy log with tracerGravatar ncteisen2018-10-15
| | |/ / | |/| |
| * | | Merge pull request #16838 from soheilhy/worktree-tcp-readGravatar Soheil Hassas Yeganeh2018-10-12
| |\ \ \ | | | | | | | | | | Simple optimizations in TCP read
| | * | | Do not wait for allocation if buffer is less than half the target.Gravatar Soheil Hassas Yeganeh2018-10-11
| | | | | | | | | | | | | | | | | | | | | | | | | We overallocate by 2x for target. Unless buffer is more than half full, we should not delay read for more allocation.
| | * | | Update TCP read estimates as soon as we read the whole buffer.Gravatar Soheil Hassas Yeganeh2018-10-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | | Merge pull request #16753 from jtattermusch/unify_fallthroughGravatar Jan Tattermusch2018-10-11
| |\ \ \ \ | | |/ / / | |/| | | Unify fallthrough comment in switch statements
| * | | | Remove grpc_use_signal which is no longer relevantGravatar Vijay Pai2018-10-10
| | | | |
| | * | | unify fallthrough comment in switch statementsGravatar Jan Tattermusch2018-10-10
| |/ / /
| * | | Merge pull request #16750 from AspirinSJL/timerGravatar Juanli Shen2018-10-08
| |\ \ \ | | | | | | | | | | Clean some timer code
| * \ \ \ Merge pull request #16795 from yashykt/disable_error_trackingGravatar Yash Tibrewal2018-10-08
| |\ \ \ \ | | | | | | | | | | | | Disable error tracking until Fathom changes are commited
| * \ \ \ \ Merge pull request #16714 from muxi/add-timer-manager-debugGravatar Muxi Yan2018-10-05
| |\ \ \ \ \ | | | | | | | | | | | | | | Core infrastructure for timer manager debug
| | | * | | | Disable error tracking till Fathom changes are commitedGravatar Yash Tibrewal2018-10-05
| | | | | | |
| | * | | | | Clean-up unused variableGravatar Muxi Yan2018-10-03
| | | | | | |
| | * | | | | Polish macro againGravatar Muxi Yan2018-10-02
| | | | | | |
| * | | | | | Shard channelz stats by CPUGravatar ncteisen2018-10-02
| | |/ / / / | |/| | | |
| | | * | | Clean some timer codeGravatar Juanli Shen2018-10-01
| | | | | |
| | * | | | polish macroGravatar Muxi Yan2018-10-01
| | | | | |
| | * | | | Add alias for macro for internal appGravatar Muxi Yan2018-10-01
| | | | | |
| * | | | | Address feedback commentGravatar Sree Kuchibhotla2018-09-28
| | | | | |
| | | | * | read_fd should always have a certain value when create error occurs [fix: ↵Gravatar haorenfsa2018-09-29
| | | |/ / | | | | | | | | | | | | | | | while using eventfd, when error occurs during creating eventfd, a random fd will be closed]
| * | | | Merge branch 'master' into sreek-epGravatar Sree Kuchibhotla2018-09-28
| |\ \ \ \ | | | |/ / | | |/| |
| | | * | Log init counter after the cv is initializedGravatar Muxi Yan2018-09-27
| | | | |
| | * | | Add TODO in fd_global_shutdown()Gravatar Juanli Shen2018-09-27
| | | | |
| | | * | Remove another cvGravatar Muxi Yan2018-09-27
| | | | |
| | | * | Wrap everything with macroGravatar Muxi Yan2018-09-27
| | | | |
| * | | | Add comments on what 'covering' a write meansGravatar Sree Kuchibhotla2018-09-27
| |/ / /
| | * | Core infrastructure for timer manager debugGravatar Muxi Yan2018-09-27
| | | |
| * | | Merge pull request #16700 from soheilhy/timer-shardsGravatar Yang Gao2018-09-27
| |\ \ \ | | | | | | | | | | Increase the maximum number of timer shards to 32.
| * \ \ \ Merge pull request #16698 from soheilhy/branch-optimization-errGravatar Noah Eisen2018-09-26
| |\ \ \ \ | | | | | | | | | | | | Avoid extra branches in grpc_error_get_(str|int).
| * | | | | Empty implementation of grpc_use_signal since not actually needed anymoreGravatar Vijay Pai2018-09-26
| | |_|/ / | |/| | |
| | | * | Set a minimum bound of 1 for the number of timer shards.Gravatar Soheil Hassas Yeganeh2018-09-25
| | | | |
| | | * | Increase the maximum number of timer shards to 32.Gravatar Soheil Hassas Yeganeh2018-09-25
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | Commit 82f9886e accidentally sets the maximum number of timer shards 1, from previously 32. We probably want to increase the max shards further.
| | * | Avoid extra branches in grpc_error_get_(str|int).Gravatar Soheil Hassas Yeganeh2018-09-25
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | Moving the check for "which" inside the for loop, will let the compiler unroll the loop and merge it with the branches grpc_error_is_especial. This is visible in the following godbolts: Before: https://godbolt.org/z/Nqujh1 After: https://godbolt.org/z/fA2PX-
| * / Delete epollsig poller and tests using itGravatar Vijay Pai2018-09-22
| |/
| * Merge branch 'master' into tcpusertimeoutGravatar Yash Tibrewal2018-09-12
| |\
| * | Add logging to be sure about set valuesGravatar Yash Tibrewal2018-09-12
| | |
| * | Add support for reading channel argsGravatar Yash Tibrewal2018-09-06
| | |
| | * Merge branch 'cronetfix' into statusGravatar Yash Tibrewal2018-08-31
| | |\
| | | * Merge branch 'master' into minor-timer-fixGravatar Sree Kuchibhotla2018-08-28
| | | |\
| | | | * Merge branch 'master' into errqueueredefineGravatar Yash Tibrewal2018-08-27
| | | | |\
| | | | | * Remove linux/version.h include from port.hGravatar Yash Tibrewal2018-08-27
| | | | | |
| | | | | * Revert "Revert "Fathom tcp changes""Gravatar Yash Tibrewal2018-08-27
| | | | | |