[Tech Preview] Hashstore backend for storage nodes

I have migrated my nodes to memtable. They are running almost silent now (=more sequencial writes). Here are my settings:

Environment  = STORJ_HASHSTORE_COMPACTION_PROBABILITY_POWER=2 #will become the new default value next release
Environment  = STORJ_HASHSTORE_COMPACTION_REWRITE_MULTIPLE=10 #will become the new default value next release
Environment  = STORJ_HASHSTORE_SYNC_LIFO=true
Environment  = STORJ_HASHSTORE_STORE_FLUSH_SEMAPHORE=1
Environment  = STORJ_HASHSTORE_TABLE_DEFAULT_KIND=memtbl
Environment  = STORJ_HASHSTORE_MEMTBL_MMAP=true
Environment  = STORJ_HASHSTORE_MEMTBL_MLOCK=false

I copied the settings used for the storj select nodes. What ever works best for them should also be good enough for my node.

I haven’t moved the hashtable to SSD. That seems unessesary to me. Memtable with hashtable on HDD is working great for me and in case of a hardware failure I can get my nodes back online in a short time.

7 Likes