Skip to content
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

Stablize remote worker on de10-nano board #172

Closed
marktwtn opened this issue Jul 19, 2019 · 1 comment
Closed

Stablize remote worker on de10-nano board #172

marktwtn opened this issue Jul 19, 2019 · 1 comment
Assignees

Comments

@marktwtn
Copy link
Collaborator

Running remote worker on de10-nano board with incoming PoW packets may sometimes encounter unexpected behaviour.
The MWM(minimum weight magnitude) value in the packet is read as 94 instead of 14, which makes the remote worker running forever and can not calculate another PoW.

We already figure out this weird behaviour is caused by the compiler optimization.
Hence we need to use #pragma or GCC attribute to not optimize the source code which causes the unexpected behaviour.

@marktwtn marktwtn self-assigned this Jul 19, 2019
@marktwtn
Copy link
Collaborator Author

marktwtn commented Aug 8, 2019

As using the newest dcurl on de10-nano board, it seems that the remote worker works well.

Based on the description of @ajblane , the unexpected behaviour would happen if the remote worker had run for 1~2 days.
However, after using the newest dcurl, the weird behaviour disappeared.
The remote worker has been running for 5 days and nothing happened.

@marktwtn marktwtn closed this as completed Aug 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant