What I measure (what is most relevant for me): startup time of the sis manager, up to the prompt.
My current benchmark: i6_experiments.users.zeyer.experiments.chris_hybrid_2021.test_run. This creates a graph of 526 jobs.
I run this benchmark on a local computer with extremely fast FS, to separate the influence of slow FS at this point.
I would expect that the startup time takes a few millisecs, not more.
It took around 21 seconds the first time I tried this.
Now, via #84, #85, #87, it takes around 14 seconds for me.
For #85, I use GRAPH_WORKER = 1.
So, this issue here is to discuss why this specific case is still so slow, and what we can potentially do to improve it.
I guess other cases will be different, so maybe we should better discuss them separately, to not mix-up things. When the FS is slow, I think we also can improve a lot. I would still expect that this runs in maybe 2-3 seconds max. But let's discuss that separately.
For profiling, I current use austin, and then I visualize the output in VSCode. Not sure what you would recommend to use instead. I run:
echo n | sudo austin ./sis m config/exp2022_06_15_hybrid.py > sample7.austin
Or just timing:
time echo n | ./sis m config/exp2022_06_15_hybrid.py
What I measure (what is most relevant for me): startup time of the sis manager, up to the prompt.
My current benchmark:
i6_experiments.users.zeyer.experiments.chris_hybrid_2021.test_run. This creates a graph of 526 jobs.I run this benchmark on a local computer with extremely fast FS, to separate the influence of slow FS at this point.
I would expect that the startup time takes a few millisecs, not more.
It took around 21 seconds the first time I tried this.
Now, via #84, #85, #87, it takes around 14 seconds for me.
For #85, I use
GRAPH_WORKER = 1.So, this issue here is to discuss why this specific case is still so slow, and what we can potentially do to improve it.
I guess other cases will be different, so maybe we should better discuss them separately, to not mix-up things. When the FS is slow, I think we also can improve a lot. I would still expect that this runs in maybe 2-3 seconds max. But let's discuss that separately.
For profiling, I current use austin, and then I visualize the output in VSCode. Not sure what you would recommend to use instead. I run:
Or just timing: