Comments (4)
我先回答第二个问题吧。
receiver在算法上需要对sender发送的密文处理后才能得到结果,并且还要最终写到文件中,因此你观察到的现象是合理。
对于第一个问题,可以麻烦放一下代码吗?感谢
from psi.
非常感谢您的回答!
对于展示代码,我没想到特别好的方法来展示secretnote,所以这边就用截图来展示了。😓
可以看到这种情况下,receiver和sender都只要10s左右就能完成spu.pir_query,receiver和sender间的执行时间没有很大的时间差。
我也尝试了将这些所有代码块整合在两个代码块中运行(即一个代码块代表一个party),这种情况测下来和运行两个party各自运行一个.py文件是一样的。
基本上,分段运行时spu.pir_query会用10s左右,将全部函数整合在一起运行时则spu.pir_query会用12s到14s。
from psi.
另外,我刚刚也在别的机器上尝试一下,发现性能越差的机器,这个整体运行和分段运行的时间差越大。我上面的测试是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.
hi @NewByVector 能看一下这个问题吗?感谢
from psi.
Related Issues (20)
- 关于运行基于cache的ECDH_OPRF_UB_PSI时遇到的问题 HOT 13
- [Bug]: RR22_LOWCOMM_PSI_2PC对抖动高敏感 HOT 8
- [Bug]: 在linux机器下,将bucket_psi打包成.so库时出错 HOT 14
- [Bug]: import时报错illegal instruction HOT 9
- SPU支持四方或者五方隐私求交么? HOT 3
- [Bug]: 生产模式下psi时卡住 HOT 13
- 关于psi_df函数的输入数据问题 HOT 6
- [Bug]: OKVS测试无掩盖效果 HOT 2
- [Bug]: 关于psi-anolis疑问 HOT 3
- 做求交的时候会有以下的日志 HOT 1
- [Bug]: libspu 测试过程中,会偶发出现错误。 HOT 4
- [Bug]: apsi_test测试时,若接收方的数据量达到某一阈值程序会卡在某处,不执行也不终止 HOT 3
- 移除BC22 PSI的原因是什么 HOT 7
- 使用 python 接口测试 psi 的时候,如何设置打印文件日志。 HOT 11
- PIR setup阶段出现问题 HOT 4
- seal_pir性能测试 HOT 15
- [Feature]: pir协议咨询 HOT 4
- [Bug]: 在不支持AVX的机器上x86机器上,编译使用PSI出现指令集问题 HOT 8
- [Bug]: apsi_wrapper运行测试用例代码报错 HOT 3
- [Bug]: 基于secretflow/ubuntu-base-ci:latest编译报错 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from psi.