-
Notifications
You must be signed in to change notification settings - Fork 328
Closed
Description
Dear Marcel and all,
thank you for your great project! I'm just exploring MP-SPDZ using Windows/VirtualBox and made the following observations, which I'd like you to consider to share (Readme or Troubleshooting), as they cost me quite some time and might help others.
Performance is by default abysmal:
AVX/AVX2 instructions are by default deactivated (see e.g. here) causing significant performance loss, deactivate Hyper-V/Hypervisor using:
bcdedit /set hypervisorlaunchtype off
DISM /Online /Disable-Feature:Microsoft-Hyper-V
Activate AVX/AVX2:
c:\Program Files\Oracle\VirtualBox>VBoxManage setextradata "<YOUR VM NAME>" VBoxInternal/CPUM/IsaExts/AVX 1
c:\Program Files\Oracle\VirtualBox>VBoxManage setextradata "<YOUR VM NAME>" VBoxInternal/CPUM/IsaExts/AVX2 1
Still, the default releases are slow under VirtualBox, compile them yourself:
sudo apt-get update
sudo apt-get install automake build-essential git libboost-dev libboost-thread-dev libntl-dev libsodium-dev libssl-dev libtool m4 python3 texinfo yasm
git clone https://github.com/data61/MP-SPDZ.git
cd MP-SPDZ
make tldr
Thanks
Jakob
Metadata
Metadata
Assignees
Labels
No labels