Integer

This document details the HPU performance benchmarks of homomorphic operations on integers using TFHE-rs.

All HPU benchmarks were launched on AMD Alveo v80 FPGAs.

The cryptographic parameters HPU_PARAM_MESSAGE_2_CARRY_2_KS32_PBS_TUNIFORM_2M128 were used.

1xHPU

Below are the results for the execution on a single Alveo v80 board.

The following tables show the performance when the inputs of the benchmarked operation are encrypted:

Encrypted/encrypted operations latency

Encrypted/encrypted operations throughput

The following tables show the performance when the left input of the benchmarked operation is encrypted and the other is a clear scalar of the same size:

Encrypted/clear operations latency

Encrypted/clear operations throughput

Reproducing TFHE-rs benchmarks

TFHE-rs benchmarks can be easily reproduced from the source.

The following example shows how to reproduce TFHE-rs benchmarks:

#Integer benchmarks:
make bench_integer_hpu

Last updated

Was this helpful?