Releases: Chia-Network/chiapos
Releases · Chia-Network/chiapos
1.0.1
Added
- We now measure time to copy from -2 to -d with thank for the PR to @L3Sota.
- We now retry FileDisk Open for should-be-existing files. We know of at least on k32 this could have saved. Except for the first construction,
FileDisk
instances are only reading or writing files that should have already been created. If the file has magically disappeared, the user probably moved it elsewhere to free disk space, and will likely move it back (or quit plotting manually if they can't). This change copies the "wait 5 minutes and retry" behavior of read, write, copy, and rename failures inFileDisk
andDiskPlotter
toFileDisk
'sOpen
member. Thanks for the PR go to @L3Sota.
Changed
- Efficient plotting of k=32 with 2 threads is now possible with buffer size of 3389 MiB in bitfield mode by shrinking entry sizes to reduce memory and IO usage.
- We now use compiler intrinsics for byte swapping, instead of platform specific functions/macros for easier cross platform support. This was inspired by a PR from @timkuijsten for BSD.
1.0.0
Added
- We now attempt to autodetect and use popcnt instructions, if available, on all platforms. Improves CPU performance of phase 2 by 10% when using bitfield. Check availability of popcnt instruction at runtime with cpuid on x86. Refuse to plot with bitfield if it's not available. Assume presence of optimized popcnt on other architectures (e.g. CNT on aarch64). With this and other changes below, bitfield is now close to the same speed as no bitfield on most machines.
- Initial changes to support a progress percentage display if enabled on the command line.
- There is now a docker install version. Thanks @zmeyc.
Changed
- Increase size of bitfield index by 8x. Indexing every 1024 bits instead of every 8192 bits increases CPU performance of phase 2 about 1.5x.
- Use all allocated memory for sorting in phase 3 and 4. Previously we were using only a half of allocated memory for sorting in phases 3 and 4 due to a wrong assumption that another sort is taking place at the same time.
- Changed primary branch from master to main.
- uint128_t has replaced Bits in phase 2. Improves phase 3 CPU performance by 3%.
- Use uint64_t instead of Bits when rewriting left entries in phase 1. Improves phase 1 CPU performance by 5%.This should improve phase 1 CPU performance by 5%.
- The Hellman attacks example now correctly throws. Thanks @xdustinface!
- The unused pybind11 submodule was removed.
- cxxopts are now fetched by CMake instead of statically in lib/.
- gulrak/filesystem was updated to the current release and is now fetched by CMake.
Fixed
- There was an edge case where harvester could wander off into garbage on certain proof of space challenges causing a crash.
- CI build was not correctly creating and testing bitfield test plots.
0.9
0.12.44
0.12.43
Chia Proof of Space 0.12.41
Fixed
- When adding bitfield back-sort we broke compatibility with BSD. That is fixed in this release.
0.12.40
0.12.39
Added
- We now instrument temp space, time, and memory used building two k=27 on ci for performance tracking and comparison one for each back propagation method.
Changed
- We added a
-e
flag to allow you to choose between bitfield back propagation and the original back propagation. This brings performance a little ahead of the Beta 17 plotter release. However bitfield back propagation may perform faster on spinning disk. YMMV. - More of the sorts in the bitfield sort use uniform sort for better performance.
- This version requires slightly more RAM at each k size.
Fixed
- Previous releases were not deleting temp files as they were no longer needed and therefor temp space needed for a k=32 went from 332 GiB to 499 GiB. This version only needs 332 GiB when using -u 64.
- Beta 17 style back prop had a buck that could occasionally lead to a segfault. We fixed that when using the
-e
flag.