Closed zebra-fgd closed 7 months ago
The difference may not be noticeable with a smaller number of runs, such as those mentioned. I would suggest considering reducing the number of cores, perhaps to half or two, and observing any differences. Sometimes, optimizing performance involves exploration, particularly with tasks of this scale, which, in the grand scheme of things, might seem minor. Another aspect to consider is experimenting with increasing the count to 200 files to see the variations
Thanks for the tip, I lowered the number of cores to execute the code and did not lower the parallel execution time. However I replaced my computer with one with the same performance as mine to execute the code again, and the parallel run time was much shorter, so I'm guessing there might be something wrong with my computer.
Dear Author, I have a problems lately. I wrote a simple multi-process test program with reference to apsimNGpy.parallel.examples.py, but the improvement in results compared to a single-process run is small.
30s for multi-process operation, 30s for first single-process operation, 22s for other single-process operation. I guss In which loading the dotnet environment takes about 8s. Then this doesn't look like it's running in parallel.
Can the code be improved to reduce runtime? Ideally, can the runtime be reduced to about 10s?