Skip to content

Optimize multi-threaded CKKS bootstrapping #908

@yspolyakov

Description

@yspolyakov

Currently, we see a very modest speed-up. E.g. , when we run on a machine with 8 cores, the speed-up is only 2.2x (as compared to the single-threaded execution) vs the theoretical maximum of 8x.

Optimization tasks for the following functions:

  • EvalLinearSum* implementation
  • PS logic for EvalPolyPS
  • EvalPowers() for EvalPolyPS
  • PS logic for EvalChebyshevSeriesPS
  • EvalPowers-like function for EvalChebyshevSeriesPS
  • EvalSlotsToCoeffs
  • Hybrid key switching
  • Reduce memory consumption for optimized code and add configurable parameters as needed
  • Benchmark against 1.4.x both CKKS and functional CKKS bootstrapping

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions