PoC-Consortium / engraver

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

Now has an option to use Direct I/O #32

Closed un-clouded closed 6 years ago

un-clouded commented 6 years ago

Hi there,

My hosts were very slow while plotting (ten seconds to open vim slow) and using direct I/O for plotting solves that for me. I suspected that the cache of the OS files was being purged by writing the plots, which don't need caching anyway. I don't know enough to know how portable aligned_alloc and O_DIRECT are but this patch is very useful in my case.

Thanks for a great tool!