-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Observing high contention in yb::server::HybridClock::Now() #48
Comments
@bmatican : assigning to you. From the "contention.txt" file that was uploaded, it seems that two most prominent stacks in terms of spinlock content have HybridClock::Now(), are as follows: Stack 1:
Stack 2:
|
@mchang31415 : can you please share how many cores per yugabyte node in your setup? |
@bmatican - can we close out this issue with a link to the relevant commit? |
fixed in c62d02a |
mbautin
pushed a commit
that referenced
this issue
Jun 20, 2019
mbautin
pushed a commit
that referenced
this issue
Jun 20, 2019
#48 - new top logo needs to be auto-minimized to the YB tile for smal…
abhinab-yb
pushed a commit
to abhinab-yb/yugabyte-db
that referenced
this issue
Nov 14, 2024
Engine Allow new bbf_rel_create_date reloption in parser which will be used to store create_date for tables. Extensions Added support for sysobjects.crdate (create_date) for all user defined tables, views, procedures, functions, triggers and table types. We will store create date for different objects as follows: Tables and Table-types: Store create date in pg_class.reloptions column in bbf_rel_create_date=timestamp format. Functions, procedures and triggers: Add new columns as create_date and modify_date in babelfish_function_ext catalog table to store creation timestamp of particular object. Currently we will fill same timestamp in both create_date and modify_date columns. views: Add new columns as create_date and modify_date in babelfish_view_def catalog table to store creation timestamp of particular object. Introduced a helper function babelfish_get_pltsql_function_signature which returns signature of a function which is being used along with function name to get primary key join for babelfish_function_ext table. Fixed function is_table_type to correctly identify if a table is T-SQL table type or not using reverse dependency between type and table. Test description Use case based/ MVU/mVU tests: Added normal jdbc test (BABEL-3010-vu-*) in prepare-verify-cleanup format so that it can also run in latest -> latest upgrade path. This only tests crdate and refdate columns since there are already existing tests for other columns. Additionally, added MVU test from 13.6 to latest and mVU test 14.5 to latest in their respective directories. Fixed various JDBC tests to remove the output of create_date and modify_date since the date will change with each test run. Following tests are modified: BABEL-3267 sys-triggers sys-trigger_events sys-table_types BABEL-TABLEOPTIONS BABEL-2877 BABEL-1566 Boundary conditions: N/A Arbitrary inputs: View correctly returns NULL for existing objects. Negative test scenarios: N/A Performance tests: Performance looks intact for all modified views (no explicit perf testing). Tooling impact: None Client tests: JDBC tests are sufficient, no TDS side changes. Signed-off-by: Rishabh Tanwar <ritanwar@amazon.com> Co-authored-by: Rishabh Tanwar <ritanwar@amazon.com> (cherry picked from commit f0f4d49d0c12f06da46c8c1c78d7d16bfcbf8b12)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Grabbed the following from http://{hostname}:9000/pprof/contention
In the same workload as #47, seeing high number of cpu cycles spent in HybridClock::Now()
Looks like there might be a software bottleneck that could be optimized.
Full output here:
contention.txt
The text was updated successfully, but these errors were encountered: