madMAx43v3r / chia-gigahorse

221 stars 32 forks source link

2nd plot very slow or crashing #109

Open vbadicut opened 1 year ago

vbadicut commented 1 year ago

ubuntu server, 64GB DDR5, i5-12400, 2TB 970 EVO (tmp drive), 3060Ti. First plot around 20min, second plot always very slow that I end up cancelling it. ./cuda_plot_k32 -n 2 -C 8 -M 60 -d /mnt/plot1_31/ -t /mnt/tmp/ -3 /mnt/tmp/ Tried various -M values, C 7 - still no avail Any advice is appreciated

Crafting plot 2 out of 2 (2023/05/07 03:06:10) Process ID: 2093 Working Directory: /mnt/tmp/ Working Directory 2: /mnt/tmp/ Working Directory 3: /mnt/tmp/ Compression Level: C8 (xbits = 8, final table = 4) Plot Name: plot-k32-c8-2023-05-07-03-06-b499fb004552a86954112c2d9972bde6a75bbadd8caa0ddd1c2cebd0a6fb40cc [P1] Setup took 2.553 sec Waiting for disk flush to complete ... Flushing to disk took 144.137 sec Started copy to /mnt/plot1_31/plot-k32-c8-2023-05-07-02-23-071fc7f794f95efe354cb33abfc5d9ee65c94931c9e464d2c0cbc783d6d4379b.plot [P1] Table 1 took 3.339 sec, 4294967296 entries, 16788599 max, 66554 tmp, 0 GB/s up, 10.1828 GB/s down Copy to /mnt/plot1_31/plot-k32-c8-2023-05-07-02-23-071fc7f794f95efe354cb33abfc5d9ee65c94931c9e464d2c0cbc783d6d4379b.plot finished, took 299.365 sec, 243.915 MB/s [P1] Table 2 took 621.053 sec, 4294909846 entries, 16787862 max, 66781 tmp, 0.0515254 GB/s up, 0.082119 GB/s down [P1] Table 3 took 1520.96 sec, 4294695884 entries, 16785781 max, 66587 tmp, 0.0315587 GB/s up, 0.055886 GB/s down [P1] Table 4 took 1475.9 sec, 4294275378 entries, 16784195 max, 66676 tmp, 0.0542007 GB/s up, 0.0806288 GB/s down [P1] Table 5 took 1121.46 sec, 4293547759 entries, 16785091 max, 66547 tmp, 0.071324 GB/s up, 0.0909529 GB/s down

madMAx43v3r commented 1 year ago

Most likely not enough free RAM

madMAx43v3r commented 1 year ago

Try -M 32, or without -M. Using -M causes more RAM to be used, due to copy buffer overhead.

zhurakovsky01 commented 1 year ago

./cuda_plot_k32 -n 2 -S 2 -C 8 -M 20 -d /mnt/plot1_31/ -t /mnt/tmp/ -3 /mnt/tmp/

vbadicut commented 1 year ago

thanks for the advice....formatted the tmp drive and seems better now, around 10m per plot...is there a recommended file system, eg ext4, btrfs ?

madMAx43v3r commented 1 year ago

ext4 is fine