← Lab /Systems

DRAMatic narrows HE performance gap on PIM but is limited by multiplication speed and data transfer

DRAMatic significantly closes the runtime and energy efficiency gap between UPMEM PIM and Microsoft SEAL for homomorphic encryption operations

Systems arXiv 12 Feb 2026 Method Prototype evidence

Published as “DRAMatic Speedup: Accelerating HE Operations on a Processing-in-Memory System”

Why it matters

The work shows that programmable PIM can dramatically accelerate HE over earlier PIM approaches, but further hardware improvements are needed before it can compete with optimized CPU libraries.

Summary

DRAMatic achieves up to a 334× speed-up over prior UPMEM PIM HE work (MHY+), but remains 7× slower than an optimized CPU library (Microsoft SEAL) for NTT and 3× slower for BGV multiplication, while consuming slightly more power. The evidence comes from experimental measurements on a test machine with 512 DPUs, varying ciphertext counts (up to 512) and polynomial lengths (up to 8192).

What they found 4

  1. DRAMatic is about 334× faster than prior PIM work for pure computation when processing 512 ciphertexts or more.

    “For 512 ciphertexts and above, DRAMatic is about 334 times faster in pure computation time.”

  2. DRAMatic uses roughly 284× less energy than MHY+ for pure computation and about 330× less when including data transfer and retrieval.

    “For 512 ciphertexts and above, DRAMatic uses about 284 times less energy than MHY+ for pure computation and about 330 times less energy when including data transfer and retrieval.”

  3. SEAL is about 7× faster than DRAMatic for NTT in pure computation.

    “SEAL performs better in general and is about 7 times faster than DRAMatic in pure computation time.”

  4. DRAMatic’s power consumption is slightly higher than MHY+ (311-323 W vs 278 W).

    “DRAMatic instead slightly increases its power consumption from 311 watts up to 323 watts as the number of ciphertexts (and thus DPU utilization) increases.”

Caveats 6

  • DRAMatic remains 7× slower than SEAL for NTT: "SEAL performs better in general and is about 7 times faster than DRAMatic in pure computation time."
  • DRAMatic is 3× slower than SEAL for BGV multiplication: "DRAMatic ... is only about 3 times slower than SEAL in pure computation time."
  • DRAMatic consumes more power than the CPU baseline: "DRAMatic ... slightly increases its power consumption from 311 watts up to 323 watts" while SEAL uses ~187 W.
  • DRAMatic does not currently support 2D NTT or 4D NTT, which show even better performance.
  • The weak multiplication performance of DPUs remains a bottleneck.
  • DRAMatic is less energy efficient than the CPU system.

What’s new here 4

  • Implements full BGV multiplication, NTT and iNTT on general-purpose UPMEM PIM without expensive inter-DPU communication.
  • Uses Residue Number System, custom multiplication routines and careful MRAM buffering to support larger HE parameters.
  • Provides the first power and energy measurements of HE workloads on UPMEM PIM.
  • Proposes hardware extensions and a hybrid CPU-PIM architecture to overcome DPU multiplication and data-transfer bottlenecks.