osu-crypto / libPSI

A repository for private set intersection.
Other
168 stars 47 forks source link

Some problems were encountered when entering ./frontend.exe -drrt #21

Closed WandQ closed 2 years ago

WandQ commented 3 years ago

Hi, I want to test the performance of drrt protocol. When I enter. /frontend.exe -drrt, the following two errors occur: (1)

krusty@DESKTOP-NALLGES:/mnt/d/ubuntu/libPSI/out/build/linux/frontend$ ./frontend.exe -drrt
protocol     n      threads      total(ms)    online(ms)     comm (MB)        bandwidth (Mbps)
------------------------------------------------------------------------------------------------
network receive error._autoName_0 ): No buffer space available
terminate called after throwing an instance of ' at  /mnt/d/ubuntu/libOTe/cryptoTools/cryptoTools/Network/Channel.cpp:819
osuCrypto::BadReceiveBufferSize'
  what():  Bad receive buffer size.
  Size transmitted: 870400 bytes
  Size of buffer:   1 bytes

Aborted (core dumped)

(2)

krusty@DESKTOP-NALLGES:/mnt/d/ubuntu/libPSI/out/build/linux/frontend$ ./frontend.exe -drrt
protocol     n      threads      total(ms)    online(ms)     comm (MB)        bandwidth (Mbps)
------------------------------------------------------------------------------------------------

Note: It's stuck at this interface with no output and seems to be blocked somewhere.

In addition, when I enter ./frontend.exe -u, the intersection result is displayed incorrectly:

...
140 - Psi_drrn_SingletonSet_Test_Impl       Failed - Known issue with incorrect result. Ok to ignore for benchmarking...   12ms
141 - Psi_drrn_FullSet_Test_Impl            Failed - Known issue with incorrect result. Ok to ignore for benchmarking...   18ms
142 - Psi_drrn_EmptySet_Test_Impl             Passed   26ms
...

#############################################
           Failed (4)
           Passed (126)
            skipped (37)
#############################################

What causes the above problems? How can I avoid or fix it? How can I enter commands to get the correct intersection? Look forward to your reply.

ladnir commented 2 years ago

Sorry, didnt see this. Are you still having issues?