You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I propose the plotter process simply detects if temp and destination directory are on the same drive and then moves the new plots, instead of copying and subsequently removing them from the source directory. This would save a lot of time, because moving on the same drive only takes milliseconds instead of 10 minutes in this example (because moving only changes the file reference in the file table):
Copied final file from "C:\\ChiaTemp\\plot-k32-xxxxxx.plot.2.tmp" to "C:\\ChiaPlot\\plot-k32-xxxxxx.plot.2.tmp"
Copy time = 595.666 seconds. CPU (11.870%) Wed May 12 07:39:30 2021
Removed temp2 file "C:\\ChiaTemp\\plot-k32-xxxxxx.plot.2.tmp"? 1
This would save a lot of plotting time for a simple cheap change in the code, because the next sequential plot on the same drive usually has to wait for the copy to finish. Especially on HDDs where you don't want to create plots in parallel.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I propose the plotter process simply detects if temp and destination directory are on the same drive and then moves the new plots, instead of copying and subsequently removing them from the source directory. This would save a lot of time, because moving on the same drive only takes milliseconds instead of 10 minutes in this example (because moving only changes the file reference in the file table):
This would save a lot of plotting time for a simple cheap change in the code, because the next sequential plot on the same drive usually has to wait for the copy to finish. Especially on HDDs where you don't want to create plots in parallel.
Beta Was this translation helpful? Give feedback.
All reactions