GPU Optimization of QuickSilver Proving and Verification in FAEST v3
GPU implementation of QuickSilver proving and verification for all FAEST v3 parameter sets, one warp per signature, benchmarked against 16-thread AVX CPU on an RTX A5000.
Schemes: FAEST v3, QuickSilver, faest-avx v3, Karatsuba multiplication
Findings (quotes checked against the source text)
-
The GPU implements QuickSilver proving and verification for all FAEST v3 parameter sets.
We implement QuickSilver proving and verification on NVIDIA GPUs for all FAEST v3 parameter sets.
-
Each signature's QuickSilver work is mapped to one warp, with threads evaluating cipher constraints in parallel and combining results to preserve hash order.
We assign the QuickSilver work for each signature to one warp, whose threads evaluate cipher constraints in parallel and combine their results to preserve the hash order.
-
Field multiplication uses Karatsuba with the GPU's carry-less multiply-add instruction.
For field multiplication, we use Karatsuba with the GPU's carry-less multiply-add instruction.
-
Across six fast sets, GPU throughput overtakes CPU throughput at batch sizes of 23 to 91 signatures, including transfer time.
Across the six fast sets, the smallest tested batch at which GPU throughput exceeds CPU throughput ranges from 23 to 91 signatures, including the time to transfer prepacked inputs and return the results.
-
At peak throughput the GPU handles 1.9 to 5.7 times as many QuickSilver calls per second as the CPU.
At peak throughput, the GPU processes 1.9 to 5.7 times as many QuickSilver calls per second as the CPU.
Numbers (as extracted, not quote-checked)
- Batch size where GPU throughput exceeds CPU (six fast sets): 23 to 91 signatures
- Peak QuickSilver calls/s, GPU vs CPU: 1.9 to 5.7 times
For builders
FAEST v3 signing and verification can be batched on GPUs for throughput gains, but only once batches are large enough to amortize transfer costs.
Limits
Based on the abstract only; full text not read. Single GPU versus a 16-thread CPU; throughput-focused, with no security or side-channel analysis stated and no chain integration.
Topics: benchmarks sig-other zk-proofs implementation-sidechannel