From c4a24fcccb2279ebae08089a087ea0f899810ff3 Mon Sep 17 00:00:00 2001 From: ibmp33 <51358300+ibmp33@users.noreply.github.com> Date: Thu, 4 Jul 2024 20:06:58 +0800 Subject: [PATCH] chore: update Groth16 proving times (#266) * chore: update Groth16 proving times * chore: update Groth16 proving times --- groth16/README.md | 64 +++++++++++++++++++++++++---------------------- 1 file changed, 34 insertions(+), 30 deletions(-) diff --git a/groth16/README.md b/groth16/README.md index 99e31519..3129865e 100644 --- a/groth16/README.md +++ b/groth16/README.md @@ -1,46 +1,50 @@ # Groth16 Performance Analysis + Below, we provide a detailed description of the test circuit constraints used in our evaluations, as well as the proving times when utilizing CPU and GPU resources. -Circuit Constraints +## Circuit Constraints - • Template Instances: 519 - • Non-linear Constraints: 8,644,880 - • Linear Constraints: 0 - • Public Inputs: 0 - • Private Inputs: 29,370 (29,366 belong to the witness) - • Public Outputs: 1 - • Wires: 8,616,649 - • Labels: 11,692,711 +- Template Instances: 519 +- Non-linear Constraints: 8,644,880 +- Linear Constraints: 0 +- Public Inputs: 0 +- Private Inputs: 29,370 (29,366 belong to the witness) +- Public Outputs: 1 +- Wires: 8,616,649 +- Labels: 11,692,711 ## Groth16 Proving Time Analysis -Machine 1 -CPU Environment (Machine 1) +### Machine 1 + +#### CPU Environment (Machine 1) + +- Processor: 13th Gen Intel(R) Core™ i7-13700, 16 cores, base clock 2.7 GHz +- Memory: 32 GB DDR4 +- OS: Ubuntu 22.04.4 LTS (Jammy Jellyfish) +- Proving Time: 33.7 seconds - • Processor: 13th Gen Intel(R) Core(TM) i7-13700, 16 cores, base clock 2700 MHz - • Memory: 32 GB DDR4 - • OS: Ubuntu 22.04.4 LTS (Jammy Jellyfish) - • Proving Time: 138 seconds +#### GPU Environment (Machine 1) -GPU Environment (Machine 1) +- GPU Model: NVIDIA GeForce RTX 4060 +- Memory: 8 GB GDDR6 (8188 MiB) +- Proving Time: 14.7 seconds - • GPU Model: NVIDIA GeForce RTX 4060 - • Memory: 8 GB GDDR6 (8188 MiB) - • Proving Time: 121 seconds +The speedup achieved by using the GPU over the CPU is approximately 2.29. -Machine 2 +### Machine 2 -CPU Environment (Machine 2) +#### CPU Environment (Machine 2) - • Processor: AMD EPYC 9354 32-Core Processor, 64 cores, base clock 3249.998 MHz - • Memory: 487 GB DDR4 - • OS: Ubuntu 22.04.4 LTS (Jammy Jellyfish) - • Proving Time: 179 seconds +- Processor: AMD EPYC 9354 32-Core Processor, 64 cores, base clock 3.25 GHz +- Memory: 487 GB DDR4 +- OS: Ubuntu 22.04.4 LTS (Jammy Jellyfish) +- Proving Time: 37.4 seconds -GPU Environment (Machine 2) +#### GPU Environment (Machine 2) - • GPU Model: 4 x NVIDIA GeForce RTX 4090 - • Memory: 24 GB GDDR6X (24564 MiB) - • Proving Time: 157 seconds +- GPU Model: 4 x NVIDIA GeForce RTX 4090 +- Memory: 24 GB GDDR6X (24564 MiB) +- Proving Time: 11.2 seconds -The speedup achieved by using the GPU over the CPU for both machines is approximately 1.14. \ No newline at end of file +The speedup achieved by using the GPU over the CPU is approximately 3.34. \ No newline at end of file