Skip to content
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

patch bosminer subscribe edge case #965

Merged
merged 1 commit into from
Jun 10, 2024

Conversation

plebhash
Copy link
Collaborator

@plebhash plebhash commented Jun 9, 2024

close #964

Copy link
Contributor

github-actions bot commented Jun 9, 2024

🐰Bencher

ReportSun, June 9, 2024 at 22:56:32 UTC
ProjectStratum v2 (SRI)
Branch964-bosminer-subscribe
Testbedsv2

🚨 1 ALERT: Threshold Boundary Limit exceeded!
BenchmarkMeasure (units)ViewValueLower BoundaryUpper Boundary
client_sv2_handle_message_miningLatency (nanoseconds (ns))🚨 (view plot | view alert)83.74 (+14.64%)81.26 (103.06%)

Click to view all benchmark results
BenchmarkLatencyLatency Results
nanoseconds (ns) | (Δ%)
Latency Upper Boundary
nanoseconds (ns) | (%)
client_sv2_handle_message_common✅ (view plot)44.42 (-0.30%)45.24 (98.18%)
client_sv2_handle_message_mining🚨 (view plot | view alert)83.74 (+14.64%)81.26 (103.06%)
client_sv2_mining_message_submit_standard✅ (view plot)14.63 (-0.12%)14.69 (99.61%)
client_sv2_mining_message_submit_standard_serialize✅ (view plot)269.34 (+1.86%)284.17 (94.78%)
client_sv2_mining_message_submit_standard_serialize_deserialize✅ (view plot)589.64 (-0.76%)628.00 (93.89%)
client_sv2_open_channel✅ (view plot)164.17 (-0.87%)171.29 (95.84%)
client_sv2_open_channel_serialize✅ (view plot)278.48 (-1.68%)293.11 (95.01%)
client_sv2_open_channel_serialize_deserialize✅ (view plot)371.96 (-1.68%)424.34 (87.66%)
client_sv2_setup_connection✅ (view plot)165.72 (+0.91%)175.06 (94.67%)
client_sv2_setup_connection_serialize✅ (view plot)462.76 (-2.55%)505.36 (91.57%)
client_sv2_setup_connection_serialize_deserialize✅ (view plot)942.64 (-2.82%)1,038.22 (90.79%)

Bencher - Continuous Benchmarking
View Public Perf Page
Docs | Repo | Chat | Help

Copy link
Contributor

github-actions bot commented Jun 9, 2024

🐰Bencher

ReportSun, June 9, 2024 at 22:56:32 UTC
ProjectStratum v2 (SRI)
Branch964-bosminer-subscribe
Testbedsv1

🚨 1 ALERT: Threshold Boundary Limit exceeded!
BenchmarkMeasure (units)ViewValueLower BoundaryUpper Boundary
serialize_deserialize_handle_authorizeRAM Accesses (accesses)🚨 (view plot | view alert)368.00 (+1.15%)366.93 (100.29%)

Click to view all benchmark results
BenchmarkEstimated CyclesEstimated Cycles Results
estimated cycles | (Δ%)
Estimated Cycles Upper Boundary
estimated cycles | (%)
InstructionsInstructions Results
instructions | (Δ%)
Instructions Upper Boundary
instructions | (%)
L1 AccessesL1 Accesses Results
accesses | (Δ%)
L1 Accesses Upper Boundary
accesses | (%)
L2 AccessesL2 Accesses Results
accesses | (Δ%)
L2 Accesses Upper Boundary
accesses | (%)
RAM AccessesRAM Accesses Results
accesses | (Δ%)
RAM Accesses Upper Boundary
accesses | (%)
get_authorize✅ (view plot)8,508.00 (+0.87%)8,726.56 (97.50%)✅ (view plot)3,746.00 (+0.15%)3,856.71 (97.13%)✅ (view plot)5,248.00 (+0.06%)5,403.54 (97.12%)✅ (view plot)8.00 (+0.23%)10.43 (76.71%)✅ (view plot)92.00 (+2.22%)93.99 (97.88%)
get_submit✅ (view plot)95,489.00 (-0.07%)96,150.39 (99.31%)✅ (view plot)59,439.00 (-0.05%)59,783.10 (99.42%)✅ (view plot)85,349.00 (-0.07%)85,842.76 (99.42%)✅ (view plot)61.00 (+10.02%)62.73 (97.24%)✅ (view plot)281.00 (-0.38%)287.76 (97.65%)
get_subscribe✅ (view plot)7,965.00 (-0.16%)8,274.61 (96.26%)✅ (view plot)2,841.00 (+0.40%)2,940.93 (96.60%)✅ (view plot)3,970.00 (+0.42%)4,100.90 (96.81%)✅ (view plot)15.00 (-7.85%)19.73 (76.04%)✅ (view plot)112.00 (-0.58%)117.00 (95.73%)
serialize_authorize✅ (view plot)12,261.00 (+0.46%)12,505.65 (98.04%)✅ (view plot)5,317.00 (+0.11%)5,427.71 (97.96%)✅ (view plot)7,411.00 (+0.05%)7,566.88 (97.94%)✅ (view plot)11.00 (+1.54%)13.42 (81.97%)✅ (view plot)137.00 (+1.08%)140.24 (97.69%)
serialize_deserialize_authorize✅ (view plot)24,520.00 (+0.21%)24,707.59 (99.24%)✅ (view plot)9,898.00 (-0.02%)10,027.94 (98.70%)✅ (view plot)13,960.00 (-0.05%)14,153.71 (98.63%)✅ (view plot)33.00 (-9.95%)41.63 (79.27%)✅ (view plot)297.00 (+0.75%)297.59 (99.80%)
serialize_deserialize_handle_authorize✅ (view plot)30,297.00 (+0.51%)30,340.07 (99.86%)✅ (view plot)12,101.00 (+0.05%)12,211.71 (99.09%)✅ (view plot)17,117.00 (-0.00%)17,282.15 (99.04%)✅ (view plot)60.00 (+2.08%)64.76 (92.66%)🚨 (view plot | view alert)368.00 (+1.15%)366.93 (100.29%)
serialize_deserialize_handle_submit✅ (view plot)126,382.00 (-0.02%)127,039.47 (99.48%)✅ (view plot)73,224.00 (-0.04%)73,625.57 (99.45%)✅ (view plot)104,937.00 (-0.05%)105,519.50 (99.45%)✅ (view plot)131.00 (+8.51%)132.03 (99.22%)✅ (view plot)594.00 (-0.13%)599.21 (99.13%)
serialize_deserialize_handle_subscribe✅ (view plot)27,481.00 (+0.10%)27,602.53 (99.56%)✅ (view plot)9,643.00 (+0.12%)9,742.93 (98.97%)✅ (view plot)13,636.00 (+0.10%)13,776.91 (98.98%)✅ (view plot)67.00 (+1.43%)73.91 (90.65%)✅ (view plot)386.00 (+0.06%)388.54 (99.35%)
serialize_deserialize_submit✅ (view plot)114,959.00 (-0.11%)115,661.64 (99.39%)✅ (view plot)68,001.00 (-0.08%)68,408.16 (99.40%)✅ (view plot)97,554.00 (-0.10%)98,158.47 (99.38%)✅ (view plot)72.00 (+3.38%)75.32 (95.59%)✅ (view plot)487.00 (-0.22%)492.37 (98.91%)
serialize_deserialize_subscribe✅ (view plot)22,858.00 (-0.07%)23,113.48 (98.89%)✅ (view plot)8,195.00 (+0.11%)8,298.75 (98.75%)✅ (view plot)11,543.00 (+0.12%)11,684.51 (98.79%)✅ (view plot)37.00 (-6.29%)44.06 (83.97%)✅ (view plot)318.00 (-0.16%)321.50 (98.91%)
serialize_submit✅ (view plot)99,802.00 (-0.09%)100,478.57 (99.33%)✅ (view plot)61,483.00 (-0.05%)61,832.56 (99.43%)✅ (view plot)88,197.00 (-0.06%)88,696.38 (99.44%)✅ (view plot)60.00 (+7.07%)62.20 (96.47%)✅ (view plot)323.00 (-0.51%)329.25 (98.10%)
serialize_subscribe✅ (view plot)11,302.00 (-0.22%)11,610.48 (97.34%)✅ (view plot)4,188.00 (+0.27%)4,287.93 (97.67%)✅ (view plot)5,827.00 (+0.26%)5,960.18 (97.77%)✅ (view plot)17.00 (+3.49%)19.01 (89.44%)✅ (view plot)154.00 (-0.80%)159.82 (96.36%)

Bencher - Continuous Benchmarking
View Public Perf Page
Docs | Repo | Chat | Help

Copy link
Contributor

github-actions bot commented Jun 9, 2024

🐰Bencher

ReportSun, June 9, 2024 at 22:56:32 UTC
ProjectStratum v2 (SRI)
Branch964-bosminer-subscribe
Testbedsv2
Click to view all benchmark results
BenchmarkEstimated CyclesEstimated Cycles Results
estimated cycles | (Δ%)
Estimated Cycles Upper Boundary
estimated cycles | (%)
InstructionsInstructions Results
instructions | (Δ%)
Instructions Upper Boundary
instructions | (%)
L1 AccessesL1 Accesses Results
accesses | (Δ%)
L1 Accesses Upper Boundary
accesses | (%)
L2 AccessesL2 Accesses Results
accesses | (Δ%)
L2 Accesses Upper Boundary
accesses | (%)
RAM AccessesRAM Accesses Results
accesses | (Δ%)
RAM Accesses Upper Boundary
accesses | (%)
client_sv2_handle_message_common✅ (view plot)2,031.00 (-0.85%)2,125.58 (95.55%)✅ (view plot)473.00 (+0.50%)486.49 (97.23%)✅ (view plot)736.00 (+0.51%)755.60 (97.41%)✅ (view plot)7.00 (+2.20%)10.38 (67.45%)✅ (view plot)36.00 (-1.70%)38.55 (93.38%)
client_sv2_handle_message_mining✅ (view plot)8,215.00 (+0.22%)8,337.34 (98.53%)✅ (view plot)2,137.00 (+0.47%)2,171.53 (98.41%)✅ (view plot)3,160.00 (+0.50%)3,216.48 (98.24%)✅ (view plot)38.00 (-1.32%)43.63 (87.09%)✅ (view plot)139.00 (+0.11%)142.00 (97.89%)
client_sv2_mining_message_submit_standard✅ (view plot)6,216.00 (-0.93%)6,389.59 (97.28%)✅ (view plot)1,750.00 (+0.03%)1,763.31 (99.25%)✅ (view plot)2,556.00 (+0.08%)2,576.27 (99.21%)✅ (view plot)18.00 (+3.58%)22.19 (81.12%)✅ (view plot)102.00 (-1.74%)106.96 (95.37%)
client_sv2_mining_message_submit_standard_serialize✅ (view plot)14,701.00 (-0.51%)15,036.08 (97.77%)✅ (view plot)4,694.00 (+0.01%)4,707.31 (99.72%)✅ (view plot)6,756.00 (+0.02%)6,775.56 (99.71%)✅ (view plot)49.00 (+3.84%)51.75 (94.69%)✅ (view plot)220.00 (-1.10%)230.02 (95.65%)
client_sv2_mining_message_submit_standard_serialize_deserialize✅ (view plot)27,474.00 (-0.01%)27,848.01 (98.66%)✅ (view plot)10,545.00 (+0.03%)10,558.67 (99.87%)✅ (view plot)15,339.00 (+0.00%)15,361.07 (99.86%)✅ (view plot)89.00 (+6.31%)89.39 (99.56%)✅ (view plot)334.00 (-0.26%)345.44 (96.69%)
client_sv2_open_channel✅ (view plot)4,497.00 (+0.07%)4,611.49 (97.52%)✅ (view plot)1,461.00 (+0.06%)1,474.58 (99.08%)✅ (view plot)2,152.00 (-0.03%)2,172.99 (99.03%)✅ (view plot)14.00 (+16.30%)15.36 (91.14%)✅ (view plot)65.00 (-0.26%)68.17 (95.35%)
client_sv2_open_channel_serialize✅ (view plot)14,194.00 (-0.19%)14,459.97 (98.16%)✅ (view plot)5,064.00 (+0.02%)5,077.58 (99.73%)✅ (view plot)7,319.00 (+0.02%)7,339.48 (99.72%)✅ (view plot)38.00 (+2.29%)41.51 (91.55%)✅ (view plot)191.00 (-0.48%)198.81 (96.07%)
client_sv2_open_channel_serialize_deserialize✅ (view plot)22,678.00 (+0.15%)23,029.96 (98.47%)✅ (view plot)7,987.00 (+0.05%)8,001.24 (99.82%)✅ (view plot)11,613.00 (-0.00%)11,636.73 (99.80%)✅ (view plot)78.00 (+6.55%)81.48 (95.73%)✅ (view plot)305.00 (+0.11%)315.09 (96.80%)
client_sv2_setup_connection✅ (view plot)4,669.00 (-0.63%)4,765.25 (97.98%)✅ (view plot)1,502.00 (+0.06%)1,515.58 (99.10%)✅ (view plot)2,279.00 (+0.09%)2,300.05 (99.08%)✅ (view plot)9.00 (+0.42%)13.13 (68.52%)✅ (view plot)67.00 (-1.33%)69.61 (96.26%)
client_sv2_setup_connection_serialize✅ (view plot)16,312.00 (+0.24%)16,481.18 (98.97%)✅ (view plot)5,963.00 (+0.01%)5,976.58 (99.77%)✅ (view plot)8,652.00 (-0.03%)8,677.55 (99.71%)✅ (view plot)48.00 (+7.61%)48.90 (98.15%)✅ (view plot)212.00 (+0.35%)217.13 (97.64%)
client_sv2_setup_connection_serialize_deserialize✅ (view plot)35,608.00 (+0.20%)35,751.32 (99.60%)✅ (view plot)14,814.00 (+0.03%)14,828.24 (99.90%)✅ (view plot)21,748.00 (-0.01%)21,772.47 (99.89%)✅ (view plot)105.00 (+5.48%)112.56 (93.29%)✅ (view plot)381.00 (+0.33%)384.44 (99.11%)

Bencher - Continuous Benchmarking
View Public Perf Page
Docs | Repo | Chat | Help

Copy link
Contributor

github-actions bot commented Jun 9, 2024

🐰Bencher

ReportSun, June 9, 2024 at 22:56:36 UTC
ProjectStratum v2 (SRI)
Branch965/merge
Testbedsv1
Click to view all benchmark results
BenchmarkLatencyLatency Results
nanoseconds (ns) | (Δ%)
Latency Upper Boundary
nanoseconds (ns) | (%)
client-submit-serialize✅ (view plot)6,513.50 (-6.00%)7,348.04 (88.64%)
client-submit-serialize-deserialize✅ (view plot)7,406.50 (-5.63%)8,333.91 (88.87%)
client-submit-serialize-deserialize-handle/client-submit-serialize-deserialize-handle✅ (view plot)8,098.10 (-3.80%)8,836.63 (91.64%)
client-sv1-authorize-serialize-deserialize-handle/client-sv1-authorize-serialize-deserialize-handle✅ (view plot)896.09 (-0.26%)926.62 (96.71%)
client-sv1-authorize-serialize-deserialize/client-sv1-authorize-serialize-deserialize✅ (view plot)701.20 (+0.59%)718.06 (97.65%)
client-sv1-authorize-serialize/client-sv1-authorize-serialize✅ (view plot)245.26 (-1.13%)255.19 (96.11%)
client-sv1-get-authorize/client-sv1-get-authorize✅ (view plot)157.32 (+0.10%)162.46 (96.84%)
client-sv1-get-submit✅ (view plot)6,286.70 (-6.08%)7,142.19 (88.02%)
client-sv1-get-subscribe/client-sv1-get-subscribe✅ (view plot)283.85 (+1.83%)291.53 (97.36%)
client-sv1-subscribe-serialize-deserialize-handle/client-sv1-subscribe-serialize-deserialize-handle✅ (view plot)757.80 (+1.41%)776.54 (97.59%)
client-sv1-subscribe-serialize-deserialize/client-sv1-subscribe-serialize-deserialize✅ (view plot)607.64 (-1.06%)637.59 (95.30%)
client-sv1-subscribe-serialize/client-sv1-subscribe-serialize✅ (view plot)206.05 (-0.32%)220.01 (93.65%)

Bencher - Continuous Benchmarking
View Public Perf Page
Docs | Repo | Chat | Help

@Fi3 Fi3 merged commit 4fd9098 into stratum-mining:dev Jun 10, 2024
13 checks passed
@plebhash plebhash deleted the 964-bosminer-subscribe branch June 10, 2024 11:33
@plebhash plebhash mentioned this pull request Aug 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants