-
Notifications
You must be signed in to change notification settings - Fork 19
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
Synchronous Engine is not correct. #64
Comments
@thinxer while I can't reproduce the fail again in Mac. It's weird. I run about 50 times manually, all passed. Have you updated with the upstream? |
have you merged the pagerank test with your multithread code to test?
|
@thinxer Yes. Weird. |
@thinxer you try to test on multithraed branch too? |
I just merged your I reproduced this error today. |
Weird. Could you try my branch directly? just checkout to my thread-pool branch and test. Wei Chen On 2013年5月20日Monday at 上午11:05, Jianfei Wang wrote:
|
Well, you don't have pagerank_test on your branch... |
Oops. My master branch is up-to-date, non-threading and has pr_test. I run : repeat 100 ./pagerank_test. No error. Wei Chen On 2013年5月20日Monday at 上午11:13, Jianfei Wang wrote:
|
It's correct because it's single-threaded. Only with multi-threading can the problem be found, since the execution On Mon, May 20, 2013 at 11:52 AM, Wei Chen notifications@github.com wrote:
|
Yes, I'll fix that. I suppose it's because the implementation of thread_pool's join. Since all applys are executed after gathers, before scatter, even change vertex data is isolated from other vertex. Wei Chen On 2013年5月20日Monday at 下午12:04, Jianfei Wang wrote:
|
this branch is trying to fix it: https://github.com/pondering/saedb/tree/fix-syn-engine . now found |
It's working on Linux. On Mon, May 20, 2013 at 5:03 PM, Wei Chen notifications@github.com wrote:
|
what do you mean by "working"? I comment out all parallel code except do you have any idea about this issue? Wei Chen On 2013年5月20日Monday at 下午5:55, Jianfei Wang wrote:
|
You mean that even the single-threaded engine has a hard-to-reproduce bug? (1 in 5000) |
I'm not sure. Single-threaded program should not have the problem, and I don't find a failure at least now. But when I just make Wei Chen On 2013年5月21日Tuesday at 上午11:59, Jianfei Wang wrote:
|
Results by the synchronous engine should be the same whether run single-threaded or multithreaded, since it reads node data only from the last iteration. However this is not the case for the page rank test. This indicates that the synchronous engine is not correct. Please investigate this problem.
The text was updated successfully, but these errors were encountered: