Skip to content

Commit

Permalink
chore: update Groth16 proving times (#266)
Browse files Browse the repository at this point in the history
* chore: update Groth16 proving times

* chore: update Groth16 proving times
  • Loading branch information
ibmp33 authored Jul 4, 2024
1 parent 57e81bb commit c4a24fc
Showing 1 changed file with 34 additions and 30 deletions.
64 changes: 34 additions & 30 deletions groth16/README.md
Original file line number Diff line number Diff line change
@@ -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.
The speedup achieved by using the GPU over the CPU is approximately 3.34.

0 comments on commit c4a24fc

Please sign in to comment.