input-output-hk / cardano-sl

Cryptographic currency implementing Ouroboros PoS protocol
Apache License 2.0
3.76k stars 631 forks source link

What is recommended amount of INODEs and space for cardano-sl? #2337

Open gwpl opened 6 years ago

gwpl commented 6 years ago

As I've already described here: https://github.com/input-output-hk/cardano-sl/issues/2305#issuecomment-357654422

I've tried approach of running NixOS appliance on VirtualBox. In mean time I had to grow partition, what I've done by converting from vmdk to vdi, so I could resize. After growing in size, later it run out in inodex, cardano-sl started throwing "no space on device", and df -i gave clear indication that there is no more inodes.

Therefore:

(So, I could add another virtual disk in virtual machine, move all cardano-sl stuff there and make it running).

Data from NixOS, at moment it got 0 IFree free inodes and stopped working (maybe will update once I make another drive on this machine with more inodes...):

gwpl commented 6 years ago

Update: So far ~1M Inodes (just for cardano-sl repo + running i.e. dedicated partition for cardano-sl) seems workable -> so I recommend at least ~2M Inodes to have some slack. (I personally set >8M Inodes on my VMs just for cardano-sl, separate partition from system).

gwpl commented 6 years ago

Here is proposed block store , which could solve the issues : https://github.com/input-output-hk/daedalus/issues/576

neongreen commented 6 years ago

Please see https://github.com/input-output-hk/cardano-sl/pull/2169.

tl;dr we are aware of the problem, I have written a proposal, it was accepted by other members of the team, now we just need to implement it 😉