Skip to content

v2.0.0-alpha2

Pre-release
Pre-release
Compare
Choose a tag to compare
@harold-b harold-b released this 10 Aug 03:03

Bladebit v2.0.0-alpha2

Bladebit2 alpha 2 adds optimizations to Phase 1 and reduces the required RAM to hold all of temp2 in-cache by roughly half.
64 buckets option (-b 64) has also been added which requires rougly 11 GiB and will perform better in general.

All of temp2's data can be kept in RAM by specifying a cache of 99G and enabling alternating I/O via -a --cache 99G (assuming 64 buckets used and a standard block size of 4096).

Plotting with all temp2 in-RAM on a 128G machine

diskplot -f <farmer_public_key> -c <pool_contract_address> diskplot -a --cache 99G -t1 <temp1_path> <output_path>

Use bladebit diskplot -h for more info on plotting and more information on each of the diskplot options, such as per-phase thread control.

Known Issues

  • In-RAM plotting (memplot command) is currently disabled.
  • -n parameters is not supported yet and results in memory leaks and other undefined behavior.
  • Setting buckets to 128 serializes plot files incorrectly, resulting in invalid plots (currently disabled).
  • Larger than usual file system block sizes may crash on Phase 1.
  • Only 1 instance can be used given the same --temp1/2 directories because the file names are the same. For the time being different subdirectories can be used for multi-instance, if needed, which should not be the case.

Full Changelog: v2.0.0-alpha1...v2.0.0-alpha2