stolk / chiaplotgraph

Chia Plot Graph
MIT License
55 stars 6 forks source link

Renaming a file does not seem to trigger the "time to copy" and keeps graphing. #9

Closed bslavin closed 3 years ago

bslavin commented 3 years ago

If the tmp2 and destination folder are the same there is no copy phase. There is just a renaming which saves a ton of time. I think that this is not recognized by the plotter.

image

Time for phase 4 = 872.239 seconds. CPU (88.810%) Mon May 31 16:49:40 2021 Approximate working space used (without final file): 269.322 GiB Final File size: 101.344 GiB Total time = 34103.741 seconds. CPU (124.490%) Mon May 31 16:49:40 2021 Renamed final file from "/plottemp01/plot-k32-2021-05-31-07-21-xxxxxxxx.plot.2.tmp" to "/plottemp01/plot-k32-2021-05-31-07-21-xxxxxxxx.plot" 2021-05-31T16:49:40.740 chia.plotting.create_plots : INFO Summary: 2021-05-31T16:49:40.741 chia.plotting.create_plots : INFO Created a total of 1 new plots 2021-05-31T16:49:40.741 chia.plotting.create_plots : INFO plot-k32-2021-05-31-07-21-xxxxxxxx.plot

Would you be able to handle this usecase?

stolk commented 3 years ago

Can you please try the attached version, and report back? chiaplotgraph.c.gz

bslavin commented 3 years ago

My process: download, ungz the file rm chiaplotgraph make

image

Still seems to drag it out.

stolk commented 3 years ago

Can you send me a few of your plot logs, so that I can investigate?

On Wed, Jun 2, 2021 at 1:36 PM Brad Slavin @.***> wrote:

My process: download, ungz the file rm chiaplotgraph make

[image: image] https://user-images.githubusercontent.com/838505/120548640-6d8f6180-c3a7-11eb-8749-dca8d5c6dfc4.png

Still seems to drag it out.

— You are receiving this because you were assigned.

Reply to this email directly, view it on GitHub https://github.com/stolk/chiaplotgraph/issues/9#issuecomment-853365634, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADPE4FAU25M2ISNGVPTDZLTQ2I4TANCNFSM4546KELA .

-- Owner/Director of Game Studio Abraham Stolk Inc. Vancouver BC, Canada @.***

bslavin commented 3 years ago

https://www.dropbox.com/s/3vs2qwnyiq838hw/logs.tar?dl=0

stolk commented 3 years ago

Thx, grabbed the tar. You can delete that dropbox now.

stolk commented 3 years ago

Interestingly, only the first log is properly closed. image I will look into it.

bslavin commented 3 years ago

That is because it was done before the copy technique was used.

stolk commented 3 years ago

Ok, I found it, and fixed it.

$ git pull
$ make clean
$ make

image