-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AG-MPC with FerretCOT? #12
Comments
By the way, I am also working to plug it in. May push a PR if I make some good progress. |
Some update. I have implemented a prototype that replaces IKNP with FerretCOT: weikengchen@7814c9e. It is not ready for PR or deployment, as the code sometimes produces a segfault, sometimes okay. There are still three challenges in using the current implementation of
|
In regard to
|
emp now supports opening many netio from the same port, so there is not
much harm to have many netio, right?
On Sun, Dec 6, 2020 at 10:31 AM CK Weng ***@***.***> wrote:
In regard to FerretCOT:
1. It is possible to use only 1 NetIO, but some parts of the code will
have to be reconstructed. It is definitely reasonable to give this choice
in the future.
2. I think for now we can assume it will be used for large circuits.
If the circuit is small, the user can use the IKNP directly.
3. The performance of FerretCOT does not deteriorate much when I
change from 4 threads to only 1 thread, so it does not heavily rely on
muti-cores. You can use 1 thread for now, in this way actually only 1
NetIO is needed.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#12 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AARKGCWY4VQRMNQSSSWDZ4TSTOWULANCNFSM4UN3Q3LQ>
.
--
Sent from Gmail Mobile
|
Thanks! I updated my prototype so that it would approximate the amortized FUND_IND cost based on how many OTs are ready, how many OTs are used, by the following code:
which would help people who want to do a benchmark. The corresponding PR is here: This seems something quite similar to HE-based SPDZ, in that the offline phase may produce much more triples than a specific program needs. In HE-based SPDZ it is due to the packing of FHE ciphertexts and batching multiple ciphertexts in one network packet to alleviate the effect of network latency. Here, it is for LPN. |
(And the prototype has occasion segfault because all the FerretCOT instances I used want to read/write to the same |
It seems that FerretCOT architecture has been stabilized. Would AG-MPC use FerretCOT by default? Any suggestions on the number of threads to be used? (How major the computation cost is in FerretCOT?)
I would cc @carlweng here!
The text was updated successfully, but these errors were encountered: