Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Comparison with ag2pc #6

Open
nitincic opened this issue Jan 17, 2020 · 6 comments
Open

Comparison with ag2pc #6

nitincic opened this issue Jan 17, 2020 · 6 comments

Comments

@nitincic
Copy link

nitincic commented Jan 17, 2020

emp-pvc appears to be almost as slow as ag2pc over 32 core LAN machines. Is it because of the more efficient multi-threaded implementation of ag2pc over pvc?

@fionser
Copy link
Collaborator

fionser commented Jan 17, 2020

Hi, Nitin,
Could you provide some testing details ? For example, what circuit did you test ?

@nitincic
Copy link
Author

I'm running a circuit for hashing (multiple sha256 pipelined). Initially pvc does slightly better but eventually, after up-sizing to about 64 sha256 blocks. ag2pc tends to outperform pvc (k=1/2).

@wangxiao1254
Copy link
Member

wangxiao1254 commented Jan 17, 2020 via email

@nitincic
Copy link
Author

I can virtually even see 100s of threads running while executing the circuit with emp-ag2pc, while that's not the case with pvc.

@wangxiao1254
Copy link
Member

wangxiao1254 commented Jan 18, 2020 via email

@fionser
Copy link
Collaborator

fionser commented Jan 18, 2020

@nitincic

  • By default, pvc uses (k/2) so we only launch two threads with two network connections to perform OTs and GC simulation, simultaneously.
  • To change k, modify this line
  • While a larger k will require to launch more threads and connections to run all the simulation in parallel.

Hope this help to solve your issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants