Part II · The future chip · Chapter 13 of 18

Break-even at scale

Bootstrap time against units, wavelengths, baud, residue width and conversion energy, against an FPGA and two all-digital ASICs, with the ceilings that bound it.

Break-even at scale: the explorerillustrativepaperdatasheet
sparse16: 64 units × 4 λ, 112 GBd, 59-bit residues, E_conv 0.5 pJ/bit; unconstrained HBM, small logic
Loading the computed grid…
FPGA (Part I)87.44 msASIC, equal logic16.26 msASIC, equal siliconover the power cap: no designstacked chipover the power cap: no designexact-mode ceilingNTT-free
1101001,00010⁴10⁻³0.010.1units Ubootstrap time (s)FPGAASIC, equal logicNTT-free (Amdahl)
Regime
Trace
Every value is a point the simulator computed (experiment 12): 1,728 design points per trace in the compute-bound regime, the default design in the memory-bound one. Nothing is interpolated. The grid is sliced at build time from the vendored results and loads with the explorer.
tkernel=max⁡r ∈ {HBM, logic, photonic, power, PCIe}DrCr+tlatt_{\text{kernel}} = \max_{r\,\in\,\{\text{HBM},\,\text{logic},\,\text{photonic},\,\text{power},\,\text{PCIe}\}} \frac{D_r}{C_r} + t_{\text{lat}}
TASICTchip  ≤  TASICTASIC−Tadds  ≤  TASICTASIC−TNTT\frac{T_{\text{ASIC}}}{T_{\text{chip}}} \;\le\; \frac{T_{\text{ASIC}}}{T_{\text{ASIC}} - T_{\text{adds}}} \;\le\; \frac{T_{\text{ASIC}}}{T_{\text{ASIC}} - T_{\text{NTT}}}

What this stage does

Chapter 10 asked whether today’s module speeds up an FHE bootstrap; it does not, because its port binds. This chapter asks the same of the stacked chip, with the same two recorded OpenFHE bootstraps (sparse16 and full14) and the same memory model, against fairer opponents: not just the FPGA of Part I, but two all-digital ASICs in the same process node. The equal-logic ASIC has the same logic area as the chip’s logic layer and no photonics. The equal-silicon ASIC spends the photonic layer’s area on more butterfly units instead.

How it’s modelled

Each recorded kernel is timed analytically, as in experiment 9: its demand on each resource (HBM bytes, logic add-equivalents, photonic symbol slots U × W × B × 0.95, dynamic power against the cap of 500 W illustrative less the static laser and phase-shifter power, PCIe) over that resource’s capacity, and the largest wins. For every NTT kernel the model picks the share of butterflies to send through the optics that minimises its time, so the chip is never slower than its own logic. Two regimes are reported:

  • Part I’s HBM (819 GB/s datasheet) with the default 100 mm² of logic: the realistic memory system.
  • Unconstrained HBM and small logic (10 mm², 66 butterfly units): the most favourable case for the optics, where compute binds. Here the simulator swept units, wavelengths, baud, residue width and E_conv exhaustively.

Two ceilings bound any gain over the equal-logic ASIC: the exact-mode ceiling (optics infinitely fast and free, but the post-processing, multiplies and reductions remain in logic) and the NTT-free ceiling (NTTs cost nothing at all, the Amdahl bound of chapter 10).

What we found

With Part I’s memory, the chip and the ASIC take exactly the same time. At the default design the bootstrap takes 52.97 ms on the chip and 52.97 ms on the equal-logic ASIC (sparse16; 70.51 ms and 70.51 ms for full14): a speed-up of 1×. HBM binds every stage, so the optimal split sends 0 of the butterflies through the optics. Both beat the FPGA (87.44 ms), but that is the ASIC’s doing.

When compute binds, the gain is real but capped at the exact-mode ceiling. The best swept point gains 1.099× over the equal-logic ASIC (16 units × 8 λ, 59 bits) against a ceiling of 1.1×; for full14, 1.071× against 1.073×. More units, wavelengths or baud cannot help past that point: the remaining time is logic the optics cannot do. Of 1,728 swept points, 1,272 gain more than a tenth of a percent and 432 exceed the power cap.

Against the equal-silicon ASIC it never breaks even. The best ratio is 0.9163× (sparse16, 4 units at 28 bits) and 0.9152× (full14): the same silicon spent on butterfly units is faster, and more so as U grows. Break-even would need far smaller photonic units:

The area cardillustrative

Modelled photonic area per unit: 0.4 mm² (orange square).

Largest area that breaks even with the equal-silicon ASIC: 0.06563 mm² (sparse16, green) and 0.05625 mm² (full14, dashed): the units would have to shrink several-fold before spending the same silicon on photonics beats spending it on butterfly units (0.15 mm2 illustrative each).

Areas to scale (side ∝ √area). The break-even area is where the chip and the equal-silicon ASIC would take the same time.
sparse16: speed-up vs U (112 GBd, 59-bit, E_conv 0.5 pJ/bit, compute-bound)illustrativepaper
1101001,00010⁴00.20.40.60.811.2units Uspeed-up over ASICbreak-evenexact ceiling
Solid: against the equal-logic ASIC, saturating at the exact-mode ceiling. Dashed: against the equal-silicon ASIC, falling as U grows. Missing points exceed the power cap.
Data table
sparse16: speed-up vs U (112 GBd, 59-bit, E_conv 0.5 pJ/bit, compute-bound)
units U1 λ vs equal logic2 λ vs equal logic4 λ vs equal logic8 λ vs equal logic1 λ vs equal silicon2 λ vs equal silicon4 λ vs equal silicon8 λ vs equal silicon
41.0061.0121.0251.0510.91310.90720.88460.8537
161.0251.0511.0991.0990.73940.72110.68270.5795
641.0991.0991.0991.0990.44630.40270.33760.26
2561.0991.0991.0991.0990.1850.16420.13670.1076
1,0241.0991.099——0.0830.07667——
4,096————————
full14: speed-up vs U (112 GBd, 59-bit, E_conv 0.5 pJ/bit, compute-bound)illustrativepaper
1101001,00010⁴00.20.40.60.811.2units Uspeed-up over ASICbreak-evenexact ceiling
Data table
full14: speed-up vs U (112 GBd, 59-bit, E_conv 0.5 pJ/bit, compute-bound)
units U1 λ vs equal logic2 λ vs equal logic4 λ vs equal logic8 λ vs equal logic1 λ vs equal silicon2 λ vs equal silicon4 λ vs equal silicon8 λ vs equal silicon
41.0031.0081.0181.0360.91520.90840.88460.8512
161.0181.0361.0711.0710.74740.72660.68440.5886
641.0711.0711.0711.0710.4650.42460.36410.2921
2561.0711.0711.0711.0710.22250.20320.17770.1507
1,0241.0711.071——0.12790.122——
4,096————————
sparse16: speed-up vs logic area (default photonics)illustrativedatasheet
1101001,0000.20.40.60.811.2logic area (mm²)speed-up over ASICbreak-even
With Part I's HBM (blue) the chip gains only when the logic is tiny; the gain needs both more memory bandwidth and less logic. Dashed: against the equal-silicon ASIC.
Data table
sparse16: speed-up vs logic area (default photonics)
logic area (mm²)HBM 819 GB/s, vs equal logicHBM 3276 GB/s, vs equal logicHBM ∞ GB/s, vs equal logicHBM 819 GB/s, vs equal siliconHBM 3276 GB/s, vs equal siliconHBM ∞ GB/s, vs equal silicon
51.0491.091.1020.87750.42780.197
1011.0691.09910.64520.3376
2011.0461.09410.88310.5259
50111.064110.7665
100111.023110.8755
200111.001110.9394

Energy is the other half of the case, and it goes the wrong way: chapter 14.

What would need measured data

Every chip and ASIC parameter here is illustrative: the area of a unit and of a butterfly unit, the logic clock, the conversion energy and the power cap. The ceilings do not depend on them, which is why the conclusion is robust: the exact-mode ceiling is set by how much of a bootstrap is modular additions inside NTT butterflies. Measured data that would move the break-even area are the real footprint of a photonic unit with its phase shifters and receivers, and of a 59-bit modular butterfly in the same node.