Coder Social home page Coder Social logo

Comments (2)

ladnir avatar ladnir commented on September 26, 2024

yes, in some ways the threading support for IKNP is actually better than silent. If you want multiple threads for IKNP, you call splitBase() and this will give you a new instance if IKNP. You then create multiple threads and give each one copy of IKNP.

For silent, you can do the same but maybe sometimes you dont want to. If you call splitBase() and run multiple instances at a time, the communication complexity scales linearly with the number of threads. The internal communication complexity of silent is log, so if you want N ots, then you will send log N data if you use one thread and t * log(N/t) data if you split the ots across t threads.

In order to keep the same communication complexity and use t threads, silentOT offers this additional parameter. Unfortunately, the current PCG codes don't support multi-threading so only a portion of the silentOT protocol will actually be multi-threaded. In particular, only the generation of the sparse noise vector is multi-threaded. This is less than half the time for a single-threaded execution.

If you are ok with t * log(N/t) communication complexity, I think the splitBase() approach is still preferable. If you do this approach, make sure that you call the genBaseOts() protocol before calling splitBase, that way you dont need to do expensive base OT generation every time.

from libote.

Xenooooooooo avatar Xenooooooooo commented on September 26, 2024

I see, I'll keep on doing more tests of libOTe.
Thanks for your patience, professor.

from libote.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.