-
Notifications
You must be signed in to change notification settings - Fork 191
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to optimize submission time of workflow(s) #6681
Comments
Sorry. Let's continue the discussion here. I change the title of OP #6677 to "Slow workflow submission when using FolderData as input". After the change it is obvious to see the bottleneck is from database IO. Sadly, I think at the moment there is not simple way to optimize it if all the inputs are what you want to store for later provenance. There is some effort on going by @rabbull to bring the concurrency into the DB operations (@rabbull @GeigerJ2 correct me if I am wrong) but when submit multiple workflows from one script, the creation of process into DB are happened synchronously therefore it has to be done one by another. Two things you can try:
|
I see. As we have used |
It seems that I cannot reopen the closed issue #6677, so I open a new one here. The method in #6677 works, below is the new profiling. Thanks for @unkcpz 's kind help.
But 3 seconds per submission is still a little slower than I expected, I wonder if there is any way to optimize further.
The text was updated successfully, but these errors were encountered: