Chia-Network / bladebit

A high-performance k32-only, Chia (XCH) plotter supporting in-RAM and disk-based plotting
Apache License 2.0
336 stars 108 forks source link

[BUG] WINDOWS Bladebit v2.0.0-alpha2 application freeze on out off ssd space #196

Open rnizametdinov opened 2 years ago

rnizametdinov commented 2 years ago

Launch string: ./bladebit.exe -t 24 -f -c diskplot -a --cache 100G -t1 e:/tmp/ e:/ | Tee-Object -FilePath log_run.txt

Table 6 Sorting : Completed in 52.21 seconds. Distribution : Completed in 7.58 seconds. Matching : Completed in 22.37 seconds. Fx : Completed in 26.02 seconds. Completed table 6 in 125.59 seconds with 4294186047 entries. Table 6 I/O wait time: 0.01 seconds. Table 6 I/O Metrics: Average read throughput 4897.39 MiB ( 5135.28 MB ) or 4.78 GiB ( 5.14 GB ). Total size read: 98389.43 MiB ( 103168.80 MB ) or 96.08 GiB ( 103.17 GB ). Total read commands: 196608. Average write throughput 1437.57 MiB ( 1507.40 MB ) or 1.40 GiB ( 1.51 GB ). Total size written: 111693.15 MiB ( 117118.75 MB ) or 109.08 GiB ( 117.12 GB ). Total write commands: 262402.

Table 7

In system monitor LOAD CPU 100% and no write to ssd. I wait 20 min and kill app.

harold-b commented 2 years ago

Would you mind sharing more information about the system specs running this? My suspicion is that it got into an invalid state because of memory limitations

rnizametdinov commented 2 years ago

Would you mind sharing more information about the system specs running this? My suspicion is that it got into an invalid state because of memory limitations

ryzen 5900 + 128Gb ram. in task manager ram consumption:

Madmax ask 256 gb, so I didnt check - i have only 287Gb on drive then launch. Now clean drive and test again

rnizametdinov commented 2 years ago

Its work! it was 320gb peak consumption on ssd drive with --cache 100G So trouble is - bladebit hang without error on "out off ssd space error". Not critical bag, but if you can fix it - it will help a much (less bugs report about hang on different stages, dealed with out off space error)