encryptorion-lab / phantom-fhe

PhantomFHE: A CUDA-Accelerated Homomorphic Encryption Library
https://encryptorion-lab.gitbook.io/phantom-fhe/
GNU General Public License v3.0
60 stars 8 forks source link

Performance Comparisons with Microsoft SEAL #3

Closed ttttonyhe closed 3 months ago

ttttonyhe commented 3 months ago

Hi,

After doing some preliminary testing, I found that Phantom FHE, despite utilizing GPU acceleration, did not result in better performance than Microsoft SEAL when running the same program with the same parameters on the same machine (4*NVIDIA A100). Though my test was not very extensive, and the test program only consists of simple operations like additions and multiplications. I was wondering if anyone did more performance comparisons between the two libraries and could show me the results you got.

Thank you!

D4rkCrypto commented 3 months ago

There are several possible reasons why PhantomFHE doesn't outperform SEAL in your test:

BTW, PhantomFHE currently doesn't support multi-GPUs, it runs on only GPU 0 by default.

I suggest taking a look at benchmarking results in our paper (also on A100), to see if your card can reproduce similar results.

Thanks for your issue!

ttttonyhe commented 3 months ago

Thank you for your reply!

Good to know:

BTW, PhantomFHE currently doesn't support multi-GPUs, it runs on only GPU 0 by default.

Will definitely do:

I suggest taking a look at benchmarking results in our paper (also on A100), to see if your card can reproduce similar results.