| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
commit_hash:ba8c42476d6274212745348071682042e780037f
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
## Motivation
Profiling the YT master Automaton thread showed TOriginAttributes::Capture (run on every non-OK TError) spending ~60% of its time in a getpid() syscall — uncached on glibc >= 2.25. NYT::GetCurrentThreadId() (gettid) feeds hot thread-affinity / log-manager checks on the same thread.
## Changes
- New library/cpp/yt/system/process_id.* with cached GetProcessId(); GetSystemThreadId() now caches the kernel tid in TLS. Both caches reset in the child after fork.
- Moved thread_name.{h,cpp} from misc to system.
- Removed GetCurrentProcessId/GetCurrentThreadId shims from yt/yt/core/misc/proc.{h,cpp}; migrated all callers to NYT::GetProcessId / NYT::GetSystemThreadId.
- TOriginAttributes::Capture uses the cached getters; recorded Tid is now the real kernel tid (matches perf/ps).
- Added microbenchmarks (library/cpp/yt/system/benchmarks, yt/yt/core/benchmarks/error.cpp).
## Microbenchmarks (release)
| | before | after |
|---|---|---|
| getpid | 101 ns | 0.33 ns |
| gettid | 102 ns | 1.64 ns |
| Capture | 161 ns | 50 ns |
| failed TError | 221 ns | 74 ns |
commit_hash:ee37ae57d61a5a2dd33daee935270f4bb93b7ff9
|
| |
|
|
|
| |
Add a templated GetEnvValueOrThrow<T> that parses the environment variable value via FromString, next to the existing std::string overload.
commit_hash:0421b0463c473c8c7f88c0b1619484e52b002897
|
| |
|
|
| |
commit_hash:58bf07dcff4aac728a67e0607d2c3b49ad1feef1
|
| |
|
|
|
|
|
|
|
|
|
| |
Fix typos in docstrings
---
Pull Request resolved: https://github.com/ytsaurus/ytsaurus/pull/1733
Co-authored-by: ilyaibraev <[email protected]>
commit_hash:33a12aeaeeaec2f93ef9f465a3d5cdff95b62757
|
| |
|
|
| |
commit_hash:ca6efe06865fe9fc9ebfd5ca8bbd79c2acbb4ff3
|
| |
|
|
| |
commit_hash:699e7e9a27bcf1220bbe3e408349a36a50408644
|
| |
|
|
| |
commit_hash:fff41cdbc1400a312067a6517c334440404c662b
|
| |
|
|
| |
commit_hash:3466775b052bc8a85a2aa85e9605968e7a5ea025
|
| |
|
|
| |
commit_hash:2728816c79b29fccf31698e16733a0220fd3069e
|
| |
|
|
|
|
|
|
|
| |
* Changelog entry
Type: feature
Component: master
Drop indicies in multicell manager
commit_hash:692a550606183f6a8cb93425761911bbba09dceb
|
| |
|
|
| |
commit_hash:5a11a7288f325d6fa0a9bec9a1ce0b7afa1f4984
|
| |
|
|
| |
commit_hash:7e973890af2061e2a78b34d31c404f000375a88b
|
| |
|
|
| |
commit_hash:075da2320aef76c06611fc1f363508ed26ad1a78
|
| |
|
|
| |
commit_hash:946123c814d23e070516ef5f7d339cf6025547b6
|
| |
|
|
| |
commit_hash:a21fb954574aa503699e20da93fad863363d4adf
|
| |
|
|
| |
commit_hash:cc1f5b9ecc05f6b098f1645ba338fc644c0bb53f
|
| |
|
|
| |
commit_hash:2d2808f61599fcfea314ad660585e984d50ffbb3
|
| |
|
|
| |
commit_hash:84610a30b17de408952f5c68dbc32b18b753b247
|
| |
|
|
| |
commit_hash:c574e7092eae2a9ed715448139ca905f0af5562c
|
| |
|
|
|
|
| |
fix some releaved issues
commit_hash:dd15e713a6a83c8a14f1df2f011fa06f189f4a00
|
| |
|
|
| |
commit_hash:1b74a48db886359075d1ae03494d493c2627e139
|
| |
|
|
| |
commit_hash:88bc9543595f9b630942d63aa1c3aee154056e92
|
| |
|
|
| |
commit_hash:3dc71807ca8b74fbc84807633ded4fca86b0151e
|
| |
|
|
| |
commit_hash:0912d7a08b0b2ae26b6298108a9fdd57cabbc77a
|
| |
|
|
| |
commit_hash:a2da9a8efcf62169b36a6c950e0a7d4550576eb6
|
| |
|
|
| |
commit_hash:fe925e642ebbb6e9929cf82358873ddb8b754b90
|
| |
|
|
| |
commit_hash:da3595c17e930ef69088c3164f42adc50d57f283
|
| |
|
|
| |
commit_hash:4bc357937e76b2b082671bb0f67ac3012ee4dbca
|
| |
|
|
| |
commit_hash:24a87198c8fc53da983f9678679b990070e329b8
|
| |
|
|
| |
commit_hash:25c6545fed2bffe20f7a008a218b9245896926ec
|
| |
|
|
| |
commit_hash:70f4e2c519e189107c5e9dec6ba45eeb58973f46
|
| |
|
|
| |
commit_hash:7a04b71703a53450dbaa8ec880141545e019a71e
|
| |
|
|
| |
commit_hash:6f47ff10b7e4503466c226a6d3df0637a5c14715
|
| |
|
|
| |
commit_hash:3b7f35f613737aa92f473877e8b24782f7dfcd2a
|
| |
|
|
| |
commit_hash:c574736c9cbb7c6da6502dc751214d8d7f343568
|
| |
|
|
|
|
| |
Y_NO_SANITIZE("address")
commit_hash:30841b1871a64fd6b3cc1eebcc9e4d5f1281c4fa
|
| |
|
|
| |
commit_hash:856b6638d9642f4711f5058d77bd58dd78accb8a
|
| |
|
|
| |
commit_hash:1deb4fa77014b102af1c79903f60641f23a50813
|
| |
|
|
| |
commit_hash:7b0bb805a82d9829ea93f5b867962e77a2c56244
|
| |
|
|
| |
commit_hash:6d5cf8bea86a35efd558df2aaec98702dc514f1c
|
| |
|
|
| |
commit_hash:0f03724e68eb4d3d411946e1c7b201d1b79f951a
|
| |
|
|
| |
commit_hash:f68a98021cf1e69e6ac402deb24dc2eef75162f5
|
| |
|
|
| |
commit_hash:4744aaa8f540cfc9351f1aacb9e1431d115aed85
|
| |
|
|
| |
commit_hash:5bb34cf1e8e039b59fff79917c694509fff4666c
|
| |
|
|
|
|
|
| |
I'm quite unhappy with the amount of copy-pasted and slightly altered code but the differences between `YT_LOG_ALERT_AND_THROW` and `YT_LOG_EVENT` are too subtle for a reasonable generalization.
This commit also fixes some misplaced `[[(un)likely]]` annotations.
commit_hash:3eda6b52e0e0cea0daf4d996602d446de2d7d732
|
| |
|
|
| |
commit_hash:2d7af3653dc3c1036b3b52409faba2fae321046a
|
| |
|
|
| |
commit_hash:77b05e63c7d030fccb8d13d83f5e9dc4f660e19d
|
| |
|
|
| |
commit_hash:ef7700a25960a737e5b047b2c21e473ebf15fbb9
|
| |
|
|
|
| |
add realization of hash-functions for 32-bit platforms
commit_hash:3247a0524d3b66d759bf5ebd598be84c8dfb5837
|