You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@systemds.apache.org by "Baunsgaard (via GitHub)" <gi...@apache.org> on 2023/12/03 13:49:24 UTC
[PR] [WIP] Java separate primitives and transform test [systemds]
Baunsgaard opened a new pull request, #1953:
URL: https://github.com/apache/systemds/pull/1953
Try to fix github infinite run tests.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@systemds.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [WIP] Java separate primitives and transform test [systemds]
Posted by "Baunsgaard (via GitHub)" <gi...@apache.org>.
Baunsgaard commented on PR #1953:
URL: https://github.com/apache/systemds/pull/1953#issuecomment-1864745007
@mboehm7
I finally found out what the issue is and propose a solution.
The problem is runing tests with multiple federated workers in the same JVM. Therefore, we fail in cases where multiple workers read the same input matrix X in their individual partitions. This makes the buffer pool fail / timeout, with the latest changes and speedups from different sources (or at least that is my hypothesis).
The fix is to change the workers to run in separate processes, this is anyway the use case for the federated workers so all good making the change. I will change all the federated tests later today.
Future work: We might want to consider testing multiprocessing congestion on our buffer pool and internal memory management for future usage of parallel execution of instructions.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@systemds.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [WIP] Java separate primitives and transform test [systemds]
Posted by "mboehm7 (via GitHub)" <gi...@apache.org>.
mboehm7 commented on PR #1953:
URL: https://github.com/apache/systemds/pull/1953#issuecomment-1871205501
What exactly is the issue with running multiple workers in the same JVM? The buffer pool anyway assign unique cache file ID. In the past, I always found the multi-threaded federated tests to be more stable than the multi-process tests. In any case, it's great that you have a handle on it now, and the increased runtime (wait times) should be small anyway. I could imagine that using multiple ports for all workers in the same JVM might have been an issue in this changed test environment.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@systemds.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [WIP] Java separate primitives and transform test [systemds]
Posted by "Baunsgaard (via GitHub)" <gi...@apache.org>.
Baunsgaard closed pull request #1953: [WIP] Java separate primitives and transform test
URL: https://github.com/apache/systemds/pull/1953
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@systemds.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [WIP] Java separate primitives and transform test [systemds]
Posted by "Baunsgaard (via GitHub)" <gi...@apache.org>.
Baunsgaard commented on PR #1953:
URL: https://github.com/apache/systemds/pull/1953#issuecomment-1871229023
> What exactly is the issue with running multiple workers in the same JVM? The buffer pool anyway assigns a unique cache file ID.
I was probably wrong in my original guess, and I do not know the internals for the pool enough to say if that was it, but we tend for the workers to use up the resources, and having multiple workers use the same source file, and cache the reading of the same path and file seems a likely course to me as any. Especially if one of the workers fails and crashes then we do not get the error out , and instead, the test just runs forever until timeout. It seems like GitHub changed some settings for the workers that provoked this.
> I always found the multi-threaded federated tests to be more stable than the multi-process tests.
I agree with this statement. especially now when I am trying to convert them all to multi-process. I found out today that Microsoft reduced the memory from 8GB to 7GB for the default nodes that we tested with. We allocate 3gXmx for each worker and many tests use 4 workers. there is nothing written to the log if a worker crashes and the tests are not written in ways that inform us if this happens it just times out.
https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners
> I could imagine that using multiple ports for all workers in the same JVM might have been an issue in this changed test environment.
Can be that they limited the range of ports allowed to be used. but I do not think so since we choose random ports in the allowed range, and I have disabled the parallel running of multiple federated tests at the same time.
I am trying to make the tests more robust to crashing workers, and hopefully, this fixes the problems.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@systemds.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org