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.
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
andO_DIRECT
are but this patch is very useful in my case.Thanks for a great tool!