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

add tproxy-config-hosted-pool-example.toml (main) #876

Conversation

plebhash
Copy link
Collaborator

@plebhash plebhash commented Apr 29, 2024

this PR is a companion to stratum-mining/stratumprotocol.org#216

since we will tell developers to clone main branch, we need to make sure that tproxy-config-hosted-pool-example.toml is available for Hosted Config C option.

after this is merged, PR #875 must be merged to keep dev branch up-to-date

@plebhash plebhash changed the title add tproxy-config-hosted-pool-example.toml add tproxy-config-hosted-pool-example.toml (main) Apr 29, 2024
Copy link
Contributor

🐰Bencher

ReportMon, April 29, 2024 at 22:57:12 UTC
ProjectStratum v2 (SRI)
Branchtproxy-config-hosted-pool-example-main
Testbedsv2

🚨 1 ALERT: Threshold Boundary Limit exceeded!
BenchmarkMeasure (units)ViewValueLower BoundaryUpper Boundary
client_sv2_handle_message_miningLatency (nanoseconds (ns))🚨 (view plot | view alert)83.26 (+14.96%)81.50 (102.16%)

Click to view all benchmark results
BenchmarkLatencyLatency Results
nanoseconds (ns) | (Δ%)
Latency Upper Boundary
nanoseconds (ns) | (%)
client_sv2_handle_message_common✅ (view plot)44.46 (-0.11%)45.19 (98.37%)
client_sv2_handle_message_mining🚨 (view plot | view alert)83.26 (+14.96%)81.50 (102.16%)
client_sv2_mining_message_submit_standard✅ (view plot)14.64 (-0.08%)14.69 (99.68%)
client_sv2_mining_message_submit_standard_serialize✅ (view plot)267.58 (+0.70%)287.02 (93.23%)
client_sv2_mining_message_submit_standard_serialize_deserialize✅ (view plot)587.85 (-0.92%)623.73 (94.25%)
client_sv2_open_channel✅ (view plot)166.06 (+0.25%)171.82 (96.65%)
client_sv2_open_channel_serialize✅ (view plot)283.35 (-0.16%)294.04 (96.37%)
client_sv2_open_channel_serialize_deserialize✅ (view plot)380.33 (+1.03%)405.71 (93.74%)
client_sv2_setup_connection✅ (view plot)160.66 (-2.03%)176.09 (91.24%)
client_sv2_setup_connection_serialize✅ (view plot)461.13 (-2.45%)498.94 (92.42%)
client_sv2_setup_connection_serialize_deserialize✅ (view plot)954.61 (-2.14%)1,047.20 (91.16%)

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

Copy link
Contributor

🐰Bencher

ReportMon, April 29, 2024 at 22:57:14 UTC
ProjectStratum v2 (SRI)
Branch876/merge
Testbedsv1
Click to view all benchmark results
BenchmarkLatencyLatency Results
nanoseconds (ns) | (Δ%)
Latency Upper Boundary
nanoseconds (ns) | (%)
client-submit-serialize✅ (view plot)7,146.80 (+3.29%)7,276.09 (98.22%)
client-submit-serialize-deserialize✅ (view plot)8,071.20 (+3.06%)8,252.89 (97.80%)
client-submit-serialize-deserialize-handle/client-submit-serialize-deserialize-handle✅ (view plot)8,498.10 (+1.05%)8,814.84 (96.41%)
client-sv1-authorize-serialize-deserialize-handle/client-sv1-authorize-serialize-deserialize-handle✅ (view plot)893.45 (-0.55%)928.38 (96.24%)
client-sv1-authorize-serialize-deserialize/client-sv1-authorize-serialize-deserialize✅ (view plot)690.74 (-0.77%)715.66 (96.52%)
client-sv1-authorize-serialize/client-sv1-authorize-serialize✅ (view plot)250.61 (+1.20%)254.00 (98.67%)
client-sv1-get-authorize/client-sv1-get-authorize✅ (view plot)155.97 (-0.54%)160.23 (97.34%)
client-sv1-get-submit✅ (view plot)6,921.30 (+3.61%)7,049.20 (98.19%)
client-sv1-get-subscribe/client-sv1-get-subscribe✅ (view plot)275.00 (-1.40%)292.16 (94.13%)
client-sv1-subscribe-serialize-deserialize-handle/client-sv1-subscribe-serialize-deserialize-handle✅ (view plot)731.63 (-2.11%)778.34 (94.00%)
client-sv1-subscribe-serialize-deserialize/client-sv1-subscribe-serialize-deserialize✅ (view plot)608.27 (-1.12%)638.98 (95.19%)
client-sv1-subscribe-serialize/client-sv1-subscribe-serialize✅ (view plot)212.72 (+2.59%)221.24 (96.15%)

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

Copy link
Contributor

🐰Bencher

ReportMon, April 29, 2024 at 22:57:14 UTC
ProjectStratum v2 (SRI)
Branchtproxy-config-hosted-pool-example-main
Testbedsv1

🚨 1 ALERT: Threshold Boundary Limit exceeded!
BenchmarkMeasure (units)ViewValueLower BoundaryUpper Boundary
serialize_subscribeL2 Accesses (accesses)🚨 (view plot | view alert)19.00 (+17.81%)18.86 (100.74%)

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,478.00 (+0.78%)8,743.77 (96.96%)✅ (view plot)3,746.00 (+0.35%)3,866.85 (96.87%)✅ (view plot)5,248.00 (+0.27%)5,415.10 (96.91%)✅ (view plot)9.00 (+13.23%)10.49 (85.76%)✅ (view plot)91.00 (+1.49%)94.12 (96.69%)
get_submit✅ (view plot)95,579.00 (+0.04%)96,245.61 (99.31%)✅ (view plot)59,439.00 (-0.05%)59,832.74 (99.34%)✅ (view plot)85,349.00 (-0.06%)85,907.85 (99.35%)✅ (view plot)58.00 (+6.00%)62.65 (92.58%)✅ (view plot)284.00 (+0.69%)288.58 (98.41%)
get_subscribe✅ (view plot)8,049.00 (+1.12%)8,303.54 (96.93%)✅ (view plot)2,841.00 (+0.61%)2,954.07 (96.17%)✅ (view plot)3,964.00 (+0.46%)4,118.16 (96.26%)✅ (view plot)19.00 (+19.32%)19.60 (96.92%)✅ (view plot)114.00 (+1.41%)117.39 (97.12%)
serialize_authorize✅ (view plot)12,231.00 (+0.44%)12,500.63 (97.84%)✅ (view plot)5,317.00 (+0.25%)5,437.85 (97.78%)✅ (view plot)7,411.00 (+0.19%)7,579.11 (97.78%)✅ (view plot)12.00 (+10.64%)13.59 (88.28%)✅ (view plot)136.00 (+0.72%)139.73 (97.33%)
serialize_deserialize_authorize✅ (view plot)24,472.00 (+0.10%)24,709.17 (99.04%)✅ (view plot)9,898.00 (+0.08%)10,033.00 (98.65%)✅ (view plot)13,957.00 (+0.04%)14,156.30 (98.59%)✅ (view plot)38.00 (+3.06%)42.26 (89.92%)✅ (view plot)295.00 (+0.12%)297.55 (99.14%)
serialize_deserialize_handle_authorize✅ (view plot)30,161.00 (+0.11%)30,338.42 (99.42%)✅ (view plot)12,101.00 (+0.11%)12,221.85 (99.01%)✅ (view plot)17,121.00 (+0.08%)17,296.18 (98.99%)✅ (view plot)60.00 (+3.36%)63.67 (94.24%)✅ (view plot)364.00 (+0.08%)366.68 (99.27%)
serialize_deserialize_handle_submit✅ (view plot)126,400.00 (+0.00%)127,139.47 (99.42%)✅ (view plot)73,224.00 (-0.03%)73,685.30 (99.37%)✅ (view plot)104,940.00 (-0.04%)105,599.94 (99.38%)✅ (view plot)127.00 (+6.63%)130.44 (97.37%)✅ (view plot)595.00 (+0.01%)599.72 (99.21%)
serialize_deserialize_handle_subscribe✅ (view plot)27,511.00 (+0.23%)27,610.10 (99.64%)✅ (view plot)9,643.00 (+0.18%)9,756.07 (98.84%)✅ (view plot)13,636.00 (+0.15%)13,796.46 (98.84%)✅ (view plot)66.00 (+1.94%)70.31 (93.87%)✅ (view plot)387.00 (+0.27%)388.54 (99.60%)
serialize_deserialize_submit✅ (view plot)114,985.00 (-0.06%)115,718.15 (99.37%)✅ (view plot)68,001.00 (-0.07%)68,444.65 (99.35%)✅ (view plot)97,555.00 (-0.08%)98,199.18 (99.34%)✅ (view plot)70.00 (+1.79%)73.94 (94.67%)✅ (view plot)488.00 (-0.01%)492.94 (99.00%)
serialize_deserialize_subscribe✅ (view plot)22,904.00 (+0.20%)23,127.54 (99.03%)✅ (view plot)8,195.00 (+0.19%)8,310.90 (98.61%)✅ (view plot)11,539.00 (+0.16%)11,700.29 (98.62%)✅ (view plot)40.00 (+1.63%)44.35 (90.19%)✅ (view plot)319.00 (+0.22%)321.51 (99.22%)
serialize_submit✅ (view plot)99,896.00 (+0.02%)100,556.38 (99.34%)✅ (view plot)61,483.00 (-0.05%)61,883.45 (99.35%)✅ (view plot)88,196.00 (-0.06%)88,764.07 (99.36%)✅ (view plot)58.00 (+4.97%)61.27 (94.67%)✅ (view plot)326.00 (+0.47%)329.72 (98.87%)
serialize_subscribe✅ (view plot)11,378.00 (+0.65%)11,618.45 (97.93%)✅ (view plot)4,188.00 (+0.41%)4,301.07 (97.37%)✅ (view plot)5,823.00 (+0.33%)5,977.87 (97.41%)🚨 (view plot | view alert)19.00 (+17.81%)18.86 (100.74%)✅ (view plot)156.00 (+0.75%)159.63 (97.73%)

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

Copy link
Contributor

🐰Bencher

ReportMon, April 29, 2024 at 22:57:16 UTC
ProjectStratum v2 (SRI)
Branchtproxy-config-hosted-pool-example-main
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,123.00 (+3.64%)2,139.45 (99.23%)✅ (view plot)481.00 (+2.32%)488.79 (98.41%)✅ (view plot)743.00 (+1.58%)758.67 (97.93%)✅ (view plot)10.00 (+44.44%)10.85 (92.19%)✅ (view plot)38.00 (+3.71%)38.87 (97.75%)
client_sv2_handle_message_mining✅ (view plot)8,253.00 (+0.77%)8,350.85 (98.83%)✅ (view plot)2,137.00 (+0.64%)2,173.71 (98.31%)✅ (view plot)3,158.00 (+0.63%)3,219.18 (98.10%)✅ (view plot)39.00 (-0.72%)43.67 (89.31%)✅ (view plot)140.00 (+0.92%)142.35 (98.35%)
client_sv2_mining_message_submit_standard✅ (view plot)6,346.00 (+0.92%)6,413.80 (98.94%)✅ (view plot)1,758.00 (+0.48%)1,766.08 (99.54%)✅ (view plot)2,561.00 (+0.30%)2,579.41 (99.29%)✅ (view plot)22.00 (+23.99%)23.29 (94.45%)✅ (view plot)105.00 (+0.79%)107.55 (97.63%)
client_sv2_mining_message_submit_standard_serialize✅ (view plot)14,917.00 (+1.01%)15,068.31 (99.00%)✅ (view plot)4,702.00 (+0.18%)4,710.08 (99.83%)✅ (view plot)6,762.00 (+0.11%)6,779.41 (99.74%)✅ (view plot)49.00 (+3.19%)52.51 (93.31%)✅ (view plot)226.00 (+1.73%)230.86 (97.90%)
client_sv2_mining_message_submit_standard_serialize_deserialize✅ (view plot)27,682.00 (+0.81%)27,889.66 (99.26%)✅ (view plot)10,553.00 (+0.12%)10,560.50 (99.93%)✅ (view plot)15,347.00 (+0.06%)15,363.70 (99.89%)✅ (view plot)87.00 (+3.73%)89.73 (96.95%)✅ (view plot)340.00 (+1.68%)346.56 (98.11%)
client_sv2_open_channel✅ (view plot)4,577.00 (+1.99%)4,623.72 (98.99%)✅ (view plot)1,469.00 (+0.61%)1,477.33 (99.44%)✅ (view plot)2,162.00 (+0.42%)2,177.16 (99.30%)✅ (view plot)14.00 (+19.47%)15.29 (91.58%)✅ (view plot)67.00 (+3.04%)68.48 (97.84%)
client_sv2_open_channel_serialize✅ (view plot)14,380.00 (+1.21%)14,483.25 (99.29%)✅ (view plot)5,072.00 (+0.17%)5,080.33 (99.84%)✅ (view plot)7,325.00 (+0.09%)7,343.80 (99.74%)✅ (view plot)39.00 (+5.48%)41.58 (93.79%)✅ (view plot)196.00 (+2.32%)199.47 (98.26%)
client_sv2_open_channel_serialize_deserialize✅ (view plot)22,898.00 (+1.23%)23,064.64 (99.28%)✅ (view plot)7,995.00 (+0.16%)8,003.02 (99.90%)✅ (view plot)11,618.00 (+0.04%)11,640.79 (99.80%)✅ (view plot)79.00 (+9.14%)80.85 (97.72%)✅ (view plot)311.00 (+2.25%)316.07 (98.39%)
client_sv2_setup_connection✅ (view plot)4,749.00 (+0.96%)4,779.11 (99.37%)✅ (view plot)1,510.00 (+0.59%)1,518.33 (99.45%)✅ (view plot)2,289.00 (+0.55%)2,303.77 (99.36%)✅ (view plot)9.00 (-3.04%)13.90 (64.75%)✅ (view plot)69.00 (+1.43%)69.92 (98.68%)
client_sv2_setup_connection_serialize✅ (view plot)16,388.00 (+0.88%)16,463.40 (99.54%)✅ (view plot)5,971.00 (+0.15%)5,979.33 (99.86%)✅ (view plot)8,663.00 (+0.08%)8,682.41 (99.78%)✅ (view plot)47.00 (+6.38%)48.56 (96.78%)✅ (view plot)214.00 (+1.64%)216.67 (98.77%)
client_sv2_setup_connection_serialize_deserialize✅ (view plot)35,700.00 (+0.51%)35,759.84 (99.83%)✅ (view plot)14,822.00 (+0.09%)14,830.02 (99.95%)✅ (view plot)21,755.00 (+0.02%)21,776.53 (99.90%)✅ (view plot)108.00 (+9.80%)112.71 (95.82%)✅ (view plot)383.00 (+0.95%)384.67 (99.56%)

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

@Fi3
Copy link
Collaborator

Fi3 commented Apr 30, 2024

@GitGab19 can you take a look at the benches when you have one sec it seems that we had some serious regression.

@Fi3
Copy link
Collaborator

Fi3 commented Apr 30, 2024

@plebhash can't we just put it on dev and release what we have there (merging dev)? I guess a bunch of bug fix?. So we keep releases small and fast

@plebhash
Copy link
Collaborator Author

plebhash commented May 3, 2024

tproxy-config-hosted-pool-example.toml can land into main in the next upcoming release

closing in favor of #875

@plebhash plebhash closed this May 3, 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