PoC-Consortium / engraver

PoCC Burstcoin Reference Plotter
MIT License
63 stars 39 forks source link

engraver stalls early during plotting #41

Closed LeifHalvorsen closed 6 years ago

LeifHalvorsen commented 6 years ago

engraver stops plotting somewhere between 0% and 7% for example: Nonces 2013024 from 30278448 nonces 6.65 % done... will be the last line of output before engraver cpu usage drops to zero. It will then hang there for several hours before I kill it. I've tried two new drives several times with no success. SMART status checks out for both. I have successfully plotted four drives with cg_obup, so I tried using it again. Strangely, the behavior is now the same as with the new engraver. I did run apt upgrade before trying to use engraver to plot. Could some package upgrade have broken both engraver and cg_obup? I'm using Ubuntu 16.04.4 LTS (Xenial Xerus)

Update: I tried using an external USB 3.0 drive dock, same issue. This time it is at Nonces 689376 from 30278448 nonces 2.28 % done... after eight hours. I did notice that the plotting isn't totally frozen. Every hour or so it will start moving again for a few minutes and once again consume system resources, then slow and stop. However, at this rate it will take over a month instead of the four days it used to take to plot a drive.

Update: I've determined that engraver stalls only when creepminer is running. If creepminer is shutdown, engraver starts up again after about 5 minutes or so, even though creepminer is reading plot files on drives different from the drives being plotted.

rico666 commented 6 years ago

engraver cpu usage drops to zero

Looks like serious IO bottleneck. Can be because of slow USB, other processes requiring the IO (e.g. creepminer) or a SMR HDD or a combination thereof.

There is not much the plotter can do about this.

JohnnyFFM commented 6 years ago

Please retry with latest Engraver.