Skip to content

Bench fcs zkp#1373

Draft
Effi-S wants to merge 1 commit into
mainfrom
bench-fcs-zkp
Draft

Bench fcs zkp#1373
Effi-S wants to merge 1 commit into
mainfrom
bench-fcs-zkp

Conversation

@Effi-S
Copy link
Copy Markdown

@Effi-S Effi-S commented Feb 18, 2026

We are adding ZKP Benchmarking to test overhead of FSC nodes on TPS

Comment thread cmd/benchmarking/plotly_plot_node.py Fixed
Comment thread cmd/benchmarking/plotly_plot_node.py Fixed
@Effi-S Effi-S force-pushed the bench-fcs-zkp branch 2 times, most recently from 6029aa0 to b8e8a5d Compare March 5, 2026 16:39
Comment thread cmd/benchmarking/plotly_plot_node.py Fixed
@Effi-S Effi-S force-pushed the bench-fcs-zkp branch 2 times, most recently from 3c5bbfd to b1591b6 Compare March 12, 2026 12:43
Comment thread cmd/benchmarking/plotly_plot_node.py Fixed
@adecaro adecaro modified the milestones: Q1/26, Q2/26 Apr 2, 2026
@AkramBitar AkramBitar modified the milestones: Q2/26, Q3/26 Apr 6, 2026
@@ -0,0 +1,36 @@
# Setting up 2 nodes Benchmarking on 2 Severs

To setup AWS EC2 nodes See: [AWS Setup 2 Machines](../../../token/core/zkatdlog/nogh/v1/validator/bench/transfer_service/aws_setup_2_machines.md)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make it general and say if we want to run the benchmark on AWS: ... setting link.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is that setting relevant for AWS only?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

setting_up_nodes.md is general and links to aws_setup_2_machines.md which is AWS specific setup.
Some settings where used on AWS only - alot of overlap though

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TODO

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To setup AWS EC2 nodes See: [AWS Setup 2 Machines]

Setting up 2 nodes Benchmarking on 2 Severs (General)

Comment thread docs/drivers/benchmark/setting_up_nodes.md Outdated
Comment thread docs/drivers/benchmark/benchmark.md Outdated
Comment thread docs/drivers/benchmark/transfer_service_benchmark.md
Comment thread docs/drivers/benchmark/transfer_service_benchmark.md
Comment thread cmd/transfer_service/transfer_bench_test.go
Comment thread cmd/transfer_service/out/cmd/test-node/main.go
@@ -0,0 +1,49 @@
/*
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the deference between transfer_zk_only and transfer_service?

if we need transfer_zk_only .. then we need to describe it un the docs and indicated the deferences between these two.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's discuss this

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed this bench

Comment thread docs/drivers/benchmark/transfer_service_benchmark.md
Copy link
Copy Markdown
Contributor

@AkramBitar AkramBitar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.
Added two comments.
Please resolve the comments and rebase

}
}

func BenchmarkTranferRegression2in2out(b *testing.B) {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I that test described in on of the documentation files?
if not maybe t add it to this doc: docs/drivers/benchmark/core/dlognogh/dlognogh_regression.md
by the way we need this test? is it the same as the parallel regression test?
Do we have it in our graphs and results that we reported?

Comment thread token/core/zkatdlog/nogh/v1/validator/regression/regression_test.go Outdated
// f. TransferApplicationDataValidate [validates metadata]
// 4. After all validators pass, it checks that all metadata have been validated

func (q *TransferServiceView) Call(viewCtx view.Context) (interface{}, error) {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TransferServiceView is misleading as a name cause a token request validation is exeuted by the view. Please, rename it.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

renamed TransferServiceView to TransferServiceTokenValidationView

Comment thread cmd/transfer_service/transfer_service_bench.go
Copy link
Copy Markdown
Contributor

@adecaro adecaro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @Effi-S , I left some preliminary comments.
I think this benchmark infrastructure should be move elsewhere, not under token/core/zkatdlog/nogh/v1/validator. Perhaps, under cmd/benchmarking

Comment thread docs/drivers/benchmark/transfer_service_benchmark.md Outdated
@Effi-S Effi-S requested a review from adecaro April 26, 2026 08:52
Comment thread docs/drivers/benchmark/transfer_service_benchmark.md Outdated
Comment thread token/core/zkatdlog/nogh/v1/validator/regression/regression_test.go Outdated
Signed-off-by: Effi-S <effi.szt@gmail.com>
@AkramBitar
Copy link
Copy Markdown
Contributor

Hi, @adecaro I addressed your comments. Please let me know if you have more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Run ZKP Verification benchamark on Single endorser Perf Extended ZKP Benchmarking in Single Endorser Node Run ZKP benchmarks on more physical cores

3 participants