Cardano 1.3 Performance Improvements for August 2018

daedalus

#1


#2

Thank you very much for this report


#3

Thanks for this @rickymac Rick! :slight_smile:


#4

Thank you!


#5

Thank you, Rick. Very much appreciated.


#6

I managed to get it running on Linux really easily. I followed this guide that u/frozenlores posted on Reddit:

Daedalus Linux Guide
# I re-installed Nixos to get rid of old daedalus & cardano-sl (in Nixos)
sudo rm -rf /nix
curl https://nixos.org/nix/install | sh

# Employ signed binary IOHK cache
sudo mkdir -p /etc/nix
sudo nano /etc/nix/nix.conf       # ..or any other editor, if you prefer

# ..and then add two following lines:

binary-caches            = https://cache.nixos.org https://hydra.iohk.io
binary-cache-public-keys = hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=

cd
git clone https://github.com/input-output-hk/daedalus.git
cd daedalus

git checkout release/0.11.0

# Initialize nix environment
. ~/.nix-profile/etc/profile.d/nix.sh

nix build -f ./release.nix mainnet.installer

# Run daedalus - results can be found at ./result/daedalus-*.bin
./result/daedalus*.bin

I installed it in a VM to avoid messing up my system with all this external software.

Build process:

  • Disk space used: 4.6 GB.
  • Time: 18 minutes, with downloading everything from scatch.

Synchronization:

  • Disk space used for blockchain data: 7.8 GB.
  • Time: 1 hour and 20 minutes, starting from scratch. This is a huge improvement, it used to be 5+ hours.

Restoration:

  • Was able to see balance instantly.
  • 30 minutes to restore complete transaction history.

I did have some trouble synchronizing, 1.3 million small files exhausted available inodes on the dedicated 20 GB ext4 filesystem at 93% progress. After increasing it to 30 GB, Daedalus continued to sync where it left off. This storage problem will be solved with Cardano 1.4, so it’s all good.

It was a smooth experience overall. Daedalus warned me of an out-of-sync clock, that was nice. Error reporting could be improved further, Deadalus was stuck syncing and it didn’t say why, I had to check logs to find out.


IOHK statement: A Beta release for Daedalus on Linux
Daedalus 0.11.0 with Cardano 1.3.0 released
#7

These are some useful stats. What is your network speed and hardware platform? I just posted another video with specs and covering network and file system in a similar manner. Cardano 1.3 Network and Filesystem Improvements benchmark video

Thank you for taking the time to research and share this information @hayamoto_jr :+1:


#8

That was on a 6 year old laptop with an i5 CPU and a decent SSD, the VM had 4 GB RAM. The maximum download speed is 17 Mbit/s.