Git Product home page Git Product logo

Comments (4)

6fj avatar 6fj commented on September 28, 2024

我先回答第二个问题吧。

receiver在算法上需要对sender发送的密文处理后才能得到结果,并且还要最终写到文件中,因此你观察到的现象是合理。

对于第一个问题,可以麻烦放一下代码吗?感谢

from psi.

winnylyc avatar winnylyc commented on September 28, 2024

非常感谢您的回答!

对于展示代码,我没想到特别好的方法来展示secretnote,所以这边就用截图来展示了。😓
image
image
image
image
image
可以看到这种情况下,receiver和sender都只要10s左右就能完成spu.pir_query,receiver和sender间的执行时间没有很大的时间差。

我也尝试了将这些所有代码块整合在两个代码块中运行(即一个代码块代表一个party),这种情况测下来和运行两个party各自运行一个.py文件是一样的。

基本上,分段运行时spu.pir_query会用10s左右,将全部函数整合在一起运行时则spu.pir_query会用12s到14s。

from psi.

winnylyc avatar winnylyc commented on September 28, 2024

另外,我刚刚也在别的机器上尝试一下,发现性能越差的机器,这个整体运行和分段运行的时间差越大。我上面的测试是16个处理器,cpu型号是AMD Ryzen 7 7840H with Radeon 780M Graphics,差别是 分段:10s,整体: 13s。在4个处理器,型号为Intel(R) Xeon(R) Platinum 8163 CPU @ 2.50GHz的机器上,差别为 分段:38s, 整体:60s

from psi.

6fj avatar 6fj commented on September 28, 2024

hi @NewByVector 能看一下这个问题吗?感谢

from psi.

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.