AMD EPYC 3251

Notes

  • Hyper-threading is OFF

  • CPU isolation is ON

Default

lscpu

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Architecture:                    x86_64
CPU op-mode(s):                  32-bit, 64-bit
Byte Order:                      Little Endian
Address sizes:                   48 bits physical, 48 bits virtual
CPU(s):                          8
On-line CPU(s) list:             0-7
Thread(s) per core:              1
Core(s) per socket:              8
Socket(s):                       1
NUMA node(s):                    1
Vendor ID:                       AuthenticAMD
CPU family:                      23
Model:                           1
Model name:                      AMD EPYC 3251 8-Core Processor
Stepping:                        2
Frequency boost:                 disabled
CPU MHz:                         1199.998
CPU max MHz:                     2500.0000
CPU min MHz:                     1200.0000
BogoMIPS:                        4999.99
Virtualization:                  AMD-V
L1d cache:                       256 KiB
L1i cache:                       512 KiB
L2 cache:                        4 MiB
L3 cache:                        16 MiB
NUMA node0 CPU(s):               0-7

roq-deribit-benchmark (roq-deribit)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
2021-07-14T12:47:34+00:00
Running roq-deribit-benchmark
Run on (8 X 2500 MHz CPU s)
CPU Caches:
  L1 Data 32 KiB (x8)
  L1 Instruction 64 KiB (x8)
  L2 Unified 512 KiB (x8)
  L3 Unified 8192 KiB (x2)
Load Average: 0.72, 1.84, 3.04
***WARNING*** CPU scaling is enabled, the benchmark real time measurements may be noisy and will incur extra overhead.
-------------------------------------------------------------------------------------------------
Benchmark                                                       Time             CPU   Iterations
-------------------------------------------------------------------------------------------------
BM_fix_execution_report_parse_message                         848 ns          843 ns       822728
BM_fix_heartbeat_parse_message                                223 ns          221 ns      3118603
BM_fix_logon_parse_message                                    397 ns          395 ns      1779110
BM_fix_logon_create_message                                   441 ns          430 ns      1620848
BM_fix_logout_parse_message                                   206 ns          204 ns      3554955
BM_fix_market_data_increment_refresh_parse_message_1          714 ns          703 ns      1022035
BM_fix_market_data_increment_refresh_parse_message_2         2274 ns         2265 ns       307571
BM_fix_market_data_request_reject_parse_message               258 ns          258 ns      2696231
BM_fix_market_data_snapshot_full_refresh_parse_message      25947 ns        25857 ns        27073
BM_fix_new_order_single_create_message                        500 ns          498 ns      1416935
BM_fix_order_cancel_reject_parse_message                      275 ns          270 ns      2614468
BM_fix_order_cancel_replace_request_create_message            575 ns          573 ns      1235036
BM_fix_order_cancel_request_create_message                    306 ns          304 ns      2298470
BM_fix_position_report_parse_message                          696 ns          694 ns      1007361
BM_fix_reject_parse_message                                   269 ns          267 ns      2641235
BM_fix_security_list_parse_message                         144093 ns       142484 ns         4961
BM_fix_user_response_parse_message                            626 ns          619 ns      1048543

roq-benchmark (roq-tools)

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
2021-07-14T12:45:52+00:00
Running roq-benchmark
Run on (8 X 2500 MHz CPU s)
CPU Caches:
  L1 Data 32 KiB (x8)
  L1 Instruction 64 KiB (x8)
  L2 Unified 512 KiB (x8)
  L3 Unified 8192 KiB (x2)
Load Average: 0.29, 2.24, 3.30
***WARNING*** CPU scaling is enabled, the benchmark real time measurements may be noisy and will incur extra overhead.
-----------------------------------------------------------------------------------------
Benchmark                                               Time             CPU   Iterations
-----------------------------------------------------------------------------------------
BM_roq_charconv_parse_number_uint64                  11.0 ns         10.8 ns     64713468
BM_absl_SimpleAtoi_uint64                            16.2 ns         15.7 ns     45446017
BM_roq_charconv_parse_number_double                  8.81 ns         8.60 ns     85012247
BM_fast_float_from_chars_double                      20.8 ns         20.6 ns     33884315
BM_absl_SimpleAtod_double                            52.6 ns         52.2 ns     13439751
BM_absl_from_chars_double                            50.0 ns         48.9 ns     14421142
BM_roq_charconv_parse_number_double_scientific       11.7 ns         11.5 ns     58751619
BM_fast_float_from_chars_double_scientific           20.7 ns         20.5 ns     34047697
BM_absl_SimpleAtod_double_scientific                 61.3 ns         58.7 ns     11889351
BM_absl_from_chars_double_scientific                 54.3 ns         54.0 ns     12768232
BM_Codec_Encode_DownloadBegin                        17.0 ns         16.9 ns     41341908
BM_Codec_Decode_DownloadBegin                        18.4 ns         18.2 ns     38381671
BM_Codec_Encode_DownloadEnd                          6.06 ns         5.71 ns    100000000
BM_Codec_Decode_DownloadEnd                          27.5 ns         27.3 ns     26045015
BM_Codec_Encode_GatewaySettings                      3.34 ns         3.29 ns    218174924
BM_Codec_Decode_GatewaySettings                      37.9 ns         37.7 ns     18500231
BM_Codec_Encode_StreamStatus                         7.66 ns         7.62 ns     91897876
BM_Codec_Decode_StreamStatus                         52.5 ns         52.0 ns     13221335
BM_Codec_Encode_ExternalLatency                      1.26 ns         1.22 ns    567799466
BM_Codec_Decode_ExternalLatency                      10.6 ns         10.6 ns     66823219
BM_Codec_Encode_RateLimitUsage                       1.21 ns         1.20 ns    581623114
BM_Codec_Decode_RateLimitUsage                       16.3 ns         16.2 ns     44045668
BM_Codec_Encode_GatewayStatus                        4.91 ns         4.87 ns    134270570
BM_Codec_Decode_GatewayStatus                        28.8 ns         28.1 ns     26247889
BM_Codec_Encode_ReferenceData                         222 ns          221 ns      3235234
BM_Codec_Decode_ReferenceData                         175 ns          172 ns      4189138
BM_Codec_Encode_MarketStatus                         32.4 ns         32.1 ns     22453450
BM_Codec_Decode_MarketStatus                         36.7 ns         36.2 ns     17966551
BM_Codec_Encode_TopOfBook                            55.1 ns         54.7 ns     11423306
BM_Codec_Decode_TopOfBook                            81.6 ns         79.4 ns      8689409
BM_Codec_Encode_MarketByPrice                         106 ns          105 ns      6623056
BM_Codec_Decode_MarketByPrice                        83.3 ns         82.9 ns      8344962
BM_Codec_Decode_MarketByPrice_Handler                 101 ns          101 ns      6857729
BM_Codec_Encode_MarketByOrder                         109 ns          108 ns      6544387
BM_Codec_Decode_MarketByOrder                        84.8 ns         83.5 ns      7797701
BM_Codec_Decode_MarketByPrice_Handler                 104 ns          102 ns      7013001
BM_Codec_Encode_TradeSummary                         75.0 ns         74.3 ns      9674841
BM_Codec_Decode_TradeSummary                         50.6 ns         50.0 ns     13609072
BM_Codec_Encode_StatisticsUpdate                     79.8 ns         79.3 ns      8760291
BM_Codec_Decode_StatisticsUpdate                     57.9 ns         57.3 ns     11745302
BM_Codec_Encode_CreateOrder                           111 ns          110 ns      6175163
BM_Codec_Decode_CreateOrder                           143 ns          139 ns      4983065
BM_Codec_Encode_ModifyOrder                          45.0 ns         43.8 ns     16615119
BM_Codec_Decode_ModifyOrder                          68.7 ns         64.6 ns     10760496
BM_Codec_Encode_CancelOrder                          38.3 ns         37.8 ns     20847891
BM_Codec_Decode_CancelOrder                          40.5 ns         40.2 ns     17503948
BM_Codec_Encode_CancelAllOrders                      17.3 ns         16.9 ns     41454312
BM_Codec_Decode_CancelAllOrders                      18.5 ns         18.4 ns     38416600
BM_Codec_Encode_OrderAck                              115 ns          114 ns      6232504
BM_Codec_Decode_OrderAck                              114 ns          113 ns      6321166
BM_Codec_Encode_OrderUpdate                           272 ns          270 ns      2677938
BM_Codec_Decode_OrderUpdate                           252 ns          247 ns      2801251
BM_Codec_Encode_TradeUpdate                           166 ns          165 ns      4250180
BM_Codec_Decode_TradeUpdate                           150 ns          149 ns      4746586
BM_Codec_Encode_PositionUpdate                       88.4 ns         87.5 ns      7793899
BM_Codec_Decode_PositionUpdate                       86.9 ns         86.0 ns      8061403
BM_Codec_Encode_FundsUpdate                          52.7 ns         52.2 ns     12326980
BM_FlatBuffers_Encode_DownloadBegin                   238 ns          233 ns      3125823
BM_FlatBuffers_Decode_DownloadBegin                  18.9 ns         18.8 ns     37139212
BM_FlatBuffers_Encode_DownloadEnd                     228 ns          227 ns      3084704
BM_FlatBuffers_Decode_DownloadEnd                    20.2 ns         20.2 ns     34691236
BM_FlatBuffers_Encode_GatewaySettings                 248 ns          246 ns      2953581
BM_FlatBuffers_Decode_GatewaySettings                24.3 ns         24.2 ns     27452697
BM_FlatBuffers_Encode_StreamStatus                    276 ns          274 ns      2582353
BM_FlatBuffers_Decode_StreamStatus                   23.4 ns         23.4 ns     29071771
BM_FlatBuffers_Encode_ExternalLatency                 203 ns          203 ns      3450606
BM_FlatBuffers_Decode_ExternalLatency                19.2 ns         19.1 ns     36572654
BM_FlatBuffers_Encode_RateLimitUsage                  206 ns          203 ns      3502742
BM_FlatBuffers_Decode_RateLimitUsage                 19.7 ns         19.4 ns     33244903
BM_FlatBuffers_Encode_ReferenceData                   630 ns          622 ns      1173072
BM_FlatBuffers_Decode_ReferenceData                  38.0 ns         37.8 ns     18352178
BM_FlatBuffers_Encode_MarketStatus                    289 ns          287 ns      2432142
BM_FlatBuffers_Decode_MarketStatus                   23.1 ns         22.8 ns     31266293
BM_FlatBuffers_Encode_TopOfBook                       394 ns          382 ns      1837725
BM_FlatBuffers_Decode_TopOfBook                      31.5 ns         31.3 ns     22309205
BM_FlatBuffers_Encode_MarketByPrice                  1295 ns         1286 ns       554704
BM_FlatBuffers_Decode_MarketByPrice                   157 ns          156 ns      4513535
BM_FlatBuffers_Encode_MarketByOrder                  1418 ns         1410 ns       487729
BM_FlatBuffers_Decode_MarketByOrder                   180 ns          176 ns      3960819
BM_FlatBuffers_Encode_TradeSummary                    806 ns          797 ns       937368
BM_FlatBuffers_Decode_TradeSummary                   98.6 ns         97.9 ns      6941871
BM_FlatBuffers_Encode_StatisticsUpdate                692 ns          689 ns      1079953
BM_FlatBuffers_Decode_StatisticsUpdate               81.8 ns         81.4 ns      8580981
BM_FlatBuffers_Encode_CreateOrder                     472 ns          466 ns      1550071
BM_FlatBuffers_Decode_CreateOrder                    32.4 ns         32.2 ns     21590401
BM_FlatBuffers_Encode_ModifyOrder                     312 ns          311 ns      2250339
BM_FlatBuffers_Decode_ModifyOrder                    24.9 ns         24.8 ns     27739551
BM_FlatBuffers_Encode_CancelOrder                     297 ns          295 ns      2300366
BM_FlatBuffers_Decode_CancelOrder                    22.8 ns         22.6 ns     29390530
BM_FlatBuffers_Encode_CancelAllOrders                 223 ns          219 ns      3207344
BM_FlatBuffers_Decode_CancelAllOrders                19.2 ns         19.1 ns     37088273
BM_FlatBuffers_Encode_OrderAck                        492 ns          489 ns      1405372
BM_FlatBuffers_Decode_OrderAck                       32.6 ns         32.4 ns     21754255
BM_FlatBuffers_Encode_OrderUpdate                     659 ns          653 ns      1078998
BM_FlatBuffers_Decode_OrderUpdate                    53.5 ns         51.1 ns     10000000
BM_FlatBuffers_Encode_TradeUpdate                     976 ns          963 ns       711613
BM_FlatBuffers_Decode_TradeUpdate                     113 ns          112 ns      6231810
BM_FlatBuffers_Encode_PositionUpdate                  395 ns          390 ns      1756752
BM_FlatBuffers_Decode_PositionUpdate                 29.6 ns         29.4 ns     24086002
BM_FlatBuffers_Encode_FundsUpdate                     331 ns          326 ns      2131099
BM_FlatBuffers_Decode_FundsUpdate                    24.6 ns         24.5 ns     28596756
BM_MarketByOrder_Add_New_Remove                       222 ns          221 ns      3181500
BM_MarketByOrder_Add_Exists_Remove                   96.4 ns         95.9 ns      7299705
BM_MarketByOrder_Modify_Exists                       94.9 ns         94.5 ns      7403896
BM_MarketByPrice_MarketByPrice                        116 ns          115 ns      6137495

Performance

1
tuned-adm profile network-latency

lscpu

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Architecture:                    x86_64
CPU op-mode(s):                  32-bit, 64-bit
Byte Order:                      Little Endian
Address sizes:                   48 bits physical, 48 bits virtual
CPU(s):                          8
On-line CPU(s) list:             0-7
Thread(s) per core:              1
Core(s) per socket:              8
Socket(s):                       1
NUMA node(s):                    1
Vendor ID:                       AuthenticAMD
CPU family:                      23
Model:                           1
Model name:                      AMD EPYC 3251 8-Core Processor
Stepping:                        2
Frequency boost:                 disabled
CPU MHz:                         2499.766
CPU max MHz:                     2500.0000
CPU min MHz:                     1200.0000
BogoMIPS:                        5000.14
Virtualization:                  AMD-V
L1d cache:                       256 KiB
L1i cache:                       512 KiB
L2 cache:                        4 MiB
L3 cache:                        16 MiB
NUMA node0 CPU(s):               0-7

roq-deribit-benchmark (roq-deribit)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
2021-07-16T11:24:56+00:00
Running /opt/conda/bin/roq-deribit-benchmark
Run on (8 X 2491.61 MHz CPU s)
CPU Caches:
  L1 Data 32 KiB (x8)
  L1 Instruction 64 KiB (x8)
  L2 Unified 512 KiB (x8)
  L3 Unified 8192 KiB (x2)
Load Average: 0.02, 0.23, 1.52
-------------------------------------------------------------------------------------------------
Benchmark                                                       Time             CPU   Iterations
-------------------------------------------------------------------------------------------------
BM_fix_execution_report_parse_message                         845 ns          837 ns       832618
BM_fix_heartbeat_parse_message                                213 ns          212 ns      3327808
BM_fix_logon_parse_message                                    399 ns          395 ns      1767096
BM_fix_logon_create_message                                   447 ns          443 ns      1653307
BM_fix_logout_parse_message                                   218 ns          205 ns      3475803
BM_fix_market_data_increment_refresh_parse_message_1          707 ns          691 ns      1011359
BM_fix_market_data_increment_refresh_parse_message_2         2277 ns         2260 ns       309280
BM_fix_market_data_request_reject_parse_message               261 ns          259 ns      2692457
BM_fix_market_data_snapshot_full_refresh_parse_message      26083 ns        25878 ns        27004
BM_fix_new_order_single_create_message                        526 ns          501 ns      1383576
BM_fix_order_cancel_reject_parse_message                      271 ns          268 ns      2610570
BM_fix_order_cancel_replace_request_create_message            581 ns          575 ns      1228531
BM_fix_order_cancel_request_create_message                    306 ns          304 ns      2327578
BM_fix_position_report_parse_message                          685 ns          682 ns      1026717
BM_fix_reject_parse_message                                   265 ns          264 ns      2663714
BM_fix_security_list_parse_message                         141414 ns       138228 ns         4999
BM_fix_user_response_parse_message                            619 ns          614 ns      1140023

roq-benchmark (roq-tools)

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
A2021-07-16T11:26:04+00:00
Running /opt/conda/bin/roq-benchmark
Run on (8 X 2500.06 MHz CPU s)
CPU Caches:
  L1 Data 32 KiB (x8)
  L1 Instruction 64 KiB (x8)
  L2 Unified 512 KiB (x8)
  L3 Unified 8192 KiB (x2)
Load Average: 0.09, 0.22, 1.42
-----------------------------------------------------------------------------------------
Benchmark                                               Time             CPU   Iterations
-----------------------------------------------------------------------------------------
BM_roq_charconv_parse_number_uint64                  10.9 ns         10.8 ns     64939834
BM_absl_SimpleAtoi_uint64                            15.7 ns         15.4 ns     44974371
BM_roq_charconv_parse_number_double                  8.83 ns         8.30 ns     85384802
BM_fast_float_from_chars_double                      19.9 ns         19.9 ns     35318941
BM_absl_SimpleAtod_double                            52.7 ns         52.4 ns     13384492
BM_absl_from_chars_double                            48.9 ns         48.7 ns     14425060
BM_roq_charconv_parse_number_double_scientific       11.3 ns         11.3 ns     62143868
BM_fast_float_from_chars_double_scientific           21.5 ns         20.6 ns     30131557
BM_absl_SimpleAtod_double_scientific                 59.7 ns         58.5 ns     11970190
BM_absl_from_chars_double_scientific                 55.3 ns         54.8 ns     12764349
BM_Codec_Encode_DownloadBegin                        18.3 ns         18.0 ns     39052761
BM_Codec_Decode_DownloadBegin                        18.9 ns         18.3 ns     38343803
BM_Codec_Encode_DownloadEnd                          4.05 ns         4.01 ns    174487060
BM_Codec_Decode_DownloadEnd                          27.5 ns         27.3 ns     25401457
BM_Codec_Encode_GatewaySettings                      3.23 ns         3.21 ns    218162769
BM_Codec_Decode_GatewaySettings                      37.9 ns         37.6 ns     18689497
BM_Codec_Encode_StreamStatus                         6.74 ns         6.71 ns    124681368
BM_Codec_Decode_StreamStatus                         51.5 ns         51.0 ns     13338521
BM_Codec_Encode_ExternalLatency                      1.26 ns         1.20 ns    581675954
BM_Codec_Decode_ExternalLatency                      10.6 ns         10.5 ns     66572113
BM_Codec_Encode_RateLimitUsage                       1.21 ns         1.20 ns    582266679
BM_Codec_Decode_RateLimitUsage                       15.9 ns         15.8 ns     44388306
BM_Codec_Encode_GatewayStatus                        4.88 ns         4.86 ns    143519035
BM_Codec_Decode_GatewayStatus                        26.8 ns         26.0 ns     26907345
BM_Codec_Encode_ReferenceData                         227 ns          226 ns      3192983
BM_Codec_Decode_ReferenceData                         170 ns          169 ns      4115745
BM_Codec_Encode_MarketStatus                         32.2 ns         32.1 ns     20414087
BM_Codec_Decode_MarketStatus                         36.4 ns         36.2 ns     19394628
BM_Codec_Encode_TopOfBook                            56.8 ns         56.6 ns     12882013
BM_Codec_Decode_TopOfBook                            79.4 ns         79.2 ns      8924769
BM_Codec_Encode_MarketByPrice                         104 ns          103 ns      6710763
BM_Codec_Decode_MarketByPrice                        83.1 ns         82.9 ns      8427424
BM_Codec_Decode_MarketByPrice_Handler                 101 ns          100 ns      6979567
BM_Codec_Encode_MarketByOrder                         111 ns          110 ns      6260866
BM_Codec_Decode_MarketByOrder                        81.0 ns         80.9 ns      8470153
BM_Codec_Decode_MarketByPrice_Handler                 100 ns         99.8 ns      6979063
BM_Codec_Encode_TradeSummary                         73.7 ns         73.2 ns      9582866
BM_Codec_Decode_TradeSummary                         54.0 ns         53.6 ns     13141968
BM_Codec_Encode_StatisticsUpdate                     79.3 ns         79.0 ns      9156218
BM_Codec_Decode_StatisticsUpdate                     59.7 ns         59.6 ns     11741219
BM_Codec_Encode_CreateOrder                           111 ns          111 ns      6500938
BM_Codec_Decode_CreateOrder                           142 ns          141 ns      5005845
BM_Codec_Encode_ModifyOrder                          38.3 ns         38.3 ns     15594534
BM_Codec_Decode_ModifyOrder                          59.3 ns         59.2 ns     11602260
BM_Codec_Encode_CancelOrder                          34.8 ns         34.6 ns     20361174
BM_Codec_Decode_CancelOrder                          39.9 ns         39.8 ns     17569916
BM_Codec_Encode_CancelAllOrders                      18.1 ns         18.0 ns     38651423
BM_Codec_Decode_CancelAllOrders                      18.4 ns         18.2 ns     38290132
BM_Codec_Encode_OrderAck                              111 ns          111 ns      6069858
BM_Codec_Decode_OrderAck                              109 ns          108 ns      6283802
BM_Codec_Encode_OrderUpdate                           264 ns          262 ns      2673465
BM_Codec_Decode_OrderUpdate                           248 ns          248 ns      2863959
BM_Codec_Encode_TradeUpdate                           164 ns          163 ns      4335778
BM_Codec_Decode_TradeUpdate                           152 ns          152 ns      4922950
BM_Codec_Encode_PositionUpdate                       84.4 ns         84.3 ns      7795389
BM_Codec_Decode_PositionUpdate                       84.9 ns         84.4 ns      8199533
BM_Codec_Encode_FundsUpdate                          54.6 ns         54.5 ns     12891854
BM_FlatBuffers_Encode_DownloadBegin                   227 ns          226 ns      3168996
BM_FlatBuffers_Decode_DownloadBegin                  18.9 ns         18.9 ns     37128025
BM_FlatBuffers_Encode_DownloadEnd                     228 ns          227 ns      3098165
BM_FlatBuffers_Decode_DownloadEnd                    20.3 ns         20.2 ns     34601176
BM_FlatBuffers_Encode_GatewaySettings                 245 ns          245 ns      3034562
BM_FlatBuffers_Decode_GatewaySettings                25.6 ns         25.6 ns     25741099
BM_FlatBuffers_Encode_StreamStatus                    271 ns          270 ns      2607592
BM_FlatBuffers_Decode_StreamStatus                   22.4 ns         22.4 ns     29062461
BM_FlatBuffers_Encode_ExternalLatency                 203 ns          203 ns      3452025
BM_FlatBuffers_Decode_ExternalLatency                19.2 ns         19.2 ns     36510879
BM_FlatBuffers_Encode_RateLimitUsage                  215 ns          201 ns      3578895
BM_FlatBuffers_Decode_RateLimitUsage                 19.8 ns         19.7 ns     36294261
BM_FlatBuffers_Encode_ReferenceData                   601 ns          600 ns      1163877
BM_FlatBuffers_Decode_ReferenceData                  37.7 ns         37.5 ns     18680478
BM_FlatBuffers_Encode_MarketStatus                    285 ns          284 ns      2510639
BM_FlatBuffers_Decode_MarketStatus                   22.5 ns         22.4 ns     31251310
BM_FlatBuffers_Encode_TopOfBook                       381 ns          381 ns      1829838
BM_FlatBuffers_Decode_TopOfBook                      31.6 ns         31.4 ns     22328036
BM_FlatBuffers_Encode_MarketByPrice                  1274 ns         1273 ns       546818
BM_FlatBuffers_Decode_MarketByPrice                   156 ns          155 ns      4599961
BM_FlatBuffers_Encode_MarketByOrder                  1464 ns         1462 ns       483164
BM_FlatBuffers_Decode_MarketByOrder                   179 ns          178 ns      3893129
BM_FlatBuffers_Encode_TradeSummary                    803 ns          801 ns       875372
BM_FlatBuffers_Decode_TradeSummary                   96.9 ns         96.8 ns      7168798
BM_FlatBuffers_Encode_StatisticsUpdate                680 ns          676 ns      1028958
BM_FlatBuffers_Decode_StatisticsUpdate               81.8 ns         81.6 ns      8620247
BM_FlatBuffers_Encode_CreateOrder                     465 ns          463 ns      1523309
BM_FlatBuffers_Decode_CreateOrder                    32.0 ns         32.0 ns     21400071
BM_FlatBuffers_Encode_ModifyOrder                     311 ns          310 ns      2242407
BM_FlatBuffers_Decode_ModifyOrder                    24.8 ns         24.7 ns     28270023
BM_FlatBuffers_Encode_CancelOrder                     295 ns          293 ns      2402386
BM_FlatBuffers_Decode_CancelOrder                    22.6 ns         22.6 ns     30932024
BM_FlatBuffers_Encode_CancelAllOrders                 217 ns          216 ns      3239130
BM_FlatBuffers_Decode_CancelAllOrders                18.9 ns         18.9 ns     37135468
BM_FlatBuffers_Encode_OrderAck                        478 ns          478 ns      1460168
BM_FlatBuffers_Decode_OrderAck                       31.4 ns         31.3 ns     21836515
BM_FlatBuffers_Encode_OrderUpdate                     651 ns          648 ns      1038187
BM_FlatBuffers_Decode_OrderUpdate                    50.3 ns         50.3 ns     14562538
BM_FlatBuffers_Encode_TradeUpdate                     946 ns          941 ns       708275
BM_FlatBuffers_Decode_TradeUpdate                     106 ns          106 ns      6589773
BM_FlatBuffers_Encode_PositionUpdate                  396 ns          393 ns      1765977
BM_FlatBuffers_Decode_PositionUpdate                 29.5 ns         29.5 ns     24128908
BM_FlatBuffers_Encode_FundsUpdate                     328 ns          327 ns      2136429
BM_FlatBuffers_Decode_FundsUpdate                    24.6 ns         24.5 ns     28597031
BM_MarketByOrder_Add_New_Remove                       221 ns          220 ns      3166289
BM_MarketByOrder_Add_Exists_Remove                   96.3 ns         96.1 ns      7265209
BM_MarketByOrder_Modify_Exists                       94.8 ns         94.4 ns      7414114
BM_MarketByPrice_MarketByPrice                        114 ns          114 ns      6095246

Metrics (market_data_incremental_refresh)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
roq_profile_bucket{source="deribit", connection="4:md", function="market_data_incremental_refresh", le="500"} 0
roq_profile_bucket{source="deribit", connection="4:md", function="market_data_incremental_refresh", le="1000"} 55
roq_profile_bucket{source="deribit", connection="4:md", function="market_data_incremental_refresh", le="2000"} 198892
roq_profile_bucket{source="deribit", connection="4:md", function="market_data_incremental_refresh", le="5000"} 452905
roq_profile_bucket{source="deribit", connection="4:md", function="market_data_incremental_refresh", le="10000"} 459458
roq_profile_bucket{source="deribit", connection="4:md", function="market_data_incremental_refresh", le="20000"} 460148
roq_profile_bucket{source="deribit", connection="4:md", function="market_data_incremental_refresh", le="+Inf"} 460198
roq_profile_sum{source="deribit", connection="4:md", function="market_data_incremental_refresh"} 1.0561e+09
roq_profile_count{source="deribit", connection="4:md", function="market_data_incremental_refresh"} 460198
roq_profile_bucket{source="deribit", connection="5:md", function="market_data_incremental_refresh", le="500"} 0
roq_profile_bucket{source="deribit", connection="5:md", function="market_data_incremental_refresh", le="1000"} 0
roq_profile_bucket{source="deribit", connection="5:md", function="market_data_incremental_refresh", le="2000"} 17682
roq_profile_bucket{source="deribit", connection="5:md", function="market_data_incremental_refresh", le="5000"} 79632
roq_profile_bucket{source="deribit", connection="5:md", function="market_data_incremental_refresh", le="10000"} 80655
roq_profile_bucket{source="deribit", connection="5:md", function="market_data_incremental_refresh", le="20000"} 80776
roq_profile_bucket{source="deribit", connection="5:md", function="market_data_incremental_refresh", le="+Inf"} 80777
roq_profile_sum{source="deribit", connection="5:md", function="market_data_incremental_refresh"} 2.09935e+08
roq_profile_count{source="deribit", connection="5:md", function="market_data_incremental_refresh"} 80777
roq_profile_bucket{source="deribit", connection="6:md", function="market_data_incremental_refresh", le="500"} 0
roq_profile_bucket{source="deribit", connection="6:md", function="market_data_incremental_refresh", le="1000"} 0
roq_profile_bucket{source="deribit", connection="6:md", function="market_data_incremental_refresh", le="2000"} 16593
roq_profile_bucket{source="deribit", connection="6:md", function="market_data_incremental_refresh", le="5000"} 71588
roq_profile_bucket{source="deribit", connection="6:md", function="market_data_incremental_refresh", le="10000"} 72618
roq_profile_bucket{source="deribit", connection="6:md", function="market_data_incremental_refresh", le="20000"} 72700
roq_profile_bucket{source="deribit", connection="6:md", function="market_data_incremental_refresh", le="+Inf"} 72701
roq_profile_sum{source="deribit", connection="6:md", function="market_data_incremental_refresh"} 1.89153e+08
roq_profile_count{source="deribit", connection="6:md", function="market_data_incremental_refresh"} 72701
roq_profile_bucket{source="deribit", connection="7:md", function="market_data_incremental_refresh", le="500"} 0
roq_profile_bucket{source="deribit", connection="7:md", function="market_data_incremental_refresh", le="1000"} 0
roq_profile_bucket{source="deribit", connection="7:md", function="market_data_incremental_refresh", le="2000"} 212
roq_profile_bucket{source="deribit", connection="7:md", function="market_data_incremental_refresh", le="5000"} 1714
roq_profile_bucket{source="deribit", connection="7:md", function="market_data_incremental_refresh", le="10000"} 1742
roq_profile_bucket{source="deribit", connection="7:md", function="market_data_incremental_refresh", le="20000"} 1743
roq_profile_bucket{source="deribit", connection="7:md", function="market_data_incremental_refresh", le="+Inf"} 1743
roq_profile_sum{source="deribit", connection="7:md", function="market_data_incremental_refresh"} 4.89819e+06
roq_profile_count{source="deribit", connection="7:md", function="market_data_incremental_refresh"} 1743
1
2
>>> (1.0561e+09 + 2.09935e+08 + 1.89153e+08 + 4.89819e+06) / (460198 + 80777 + 72701 + 1743)
2372.5074948937227