[MDEV-7952] clock_gettime() takes 0.24% in OLTP RO Created: 2015-04-09  Updated: 2015-06-19  Resolved: 2015-06-19

Status: Closed
Project: MariaDB Server
Component/s: OTHER
Affects Version/s: 10.1
Fix Version/s: 10.1.6

Type: Bug Priority: Major
Reporter: Sergey Vojtovich Assignee: Sergey Vojtovich
Resolution: Fixed Votes: 0
Labels: None

Epic Link: Performance: micro optimizations
Sprint: 10.1.6-1

 Description   

Data comes from Sandy Bridge system running sysbench OLTP RO in 1 thread against 1 table.

Call graphs:

-   0.24%  mysqld  librt-2.15.so        [.] clock_gettime
   - clock_gettime
      + 43.38% tc_release_table(TABLE*)
      + 40.03% dispatch_command(enum_server_command, THD*, char*, unsigned int)
      + 10.67% MDL_context::acquire_lock(MDL_request*, double)
      + 5.93% mysql_lock_tables(THD*, st_mysql_lock*, unsigned int)

Check if there's cheaper timer available.



 Comments   
Comment by Sergey Vojtovich [ 2015-06-17 ]

serg, please review patch for this task:

[Commits] 3f0b023: MDEV-7952 - clock_gettime() takes 0.24% in OLTP RO

Generated at Thu Feb 08 07:23:32 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.