-
Notifications
You must be signed in to change notification settings - Fork 3
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
Benchmark waku in Raspberry Pi #17
Comments
Thanks for creating this @alrevuelta! IMHO, one deliverable that should be part of this bounty is to have clear steps on how to perform cross-compilation. I mean, building It will give a lot of value once we have the cross-compilation made for both Therefore, I would add the next two points to the bounty:
( cc @vpavlin ) |
This comment was marked as resolved.
This comment was marked as resolved.
Hey there, this is Mikel Cortes (@cortze). I've been following the work at Waku for a while, and I'd like to look at this particular bounty. I have a Rasberry Pi 4 with 4GB of memory that has been getting little use lately, so I'll be happy to compile and run Nwaku there. I can create a separate repo to share the compiled binaries and the guide on setting everything up at a fresh RasberryPi OS image. I'd expect to have this ready over the Xmas break, presenting the report at the beginning of January (around the 8th). I have research and monitoring experience in the field. I've performed a few measurement studies for IPFS's DHT and Ethereum's related topics; here I leave some relevant past works of mine that give some context:
Let me know if you would be interested and which would be the next move on the bounty. |
@cortze Thank you for your interest! Please check https://github.com/waku-org/bounties#applying-for-a-bounty If you are not already please join us in our discord community! https://discord.waku.org |
@cortze sounds good. Please apply https://github.com/waku-org/bounties/#applying-for-a-bounty before we can select you. |
@cortze something I am thinking about is that there is no mention of store. |
I'm not sure what are you meaning with "store node", do you refer to the DB gathering all the data? |
Yes the "store" is the protocol that stores the data in a DB. |
Btw, I just bought a Raspberry Pi (v4, 8GB RAM) as well, so if you have a build to test (and maybe collect more metrics for your analysis?) let me know:) |
I see, I thought of using Postgres as the
There seems not to be any problem compiling the |
Hi @cortze, how is it going? |
We just synced and @cortze will be finishing the bounty by next week. The only thing left is to stress test RPi with few dozens of RLN msg per second and see how it responds. Gave him some hints on how to achieve this. |
@fryorcraken @alrevuelta I made this repository, including all the used files, binaries, figures, and the report's draft. Let me know what you think about it :) |
Great work thanks. Looks great, I would just use a more realistic message size (10kB) and we can close this. Great to see nwaku working well in rpi, with very reasonable proof verification/generation times and a reasonable CPU consumption processing 20/30 msg/sec, which is a significant rate. Hope with 10kB it doesn't change much. |
@alrevuelta I've recreated the same tests but with a larger message size, 16KB this time. All the points in the proposal should be covered, so let me know what you think about it. |
@cortze Thanks for your work! @fryorcraken I consider this bounty as completed, as it meets the deliverables stated in the description. Let me know if you have any concerns. |
Any news on the state of the bounty @fryorcraken ? |
Transfer in progress. You should see it in the next few days. |
Transfer received, @fryorcraken ! |
Finished, paid, and received. Closing. |
Context
Run
nwaku
in a Raspberry Pi and benchmark it, taking RLN into account. Detects bottlenecks and limitations if any. Write a report with the findings identifying any problems that should be addressed and how viable it is to run in RPi and with which limitations. Provide clear instructions + guide on how it can be installed.Waku Is Uncompromising Web3 Communication at Scale.
A family of robust, censorship-resistant communication protocols, designed to enable privacy-focused messaging for web3 apps.
Disclaimer: Waku is experimental, you may find blocking issues while tacking this bounty. We will prioritize their resolution to unblock you, which means you may have to pause development until done.
Thank you for your patience and understanding.
Your participation in this bounty is subject to your acceptance of our terms and conditions.
Please see waku-org/bounties#applying-for-a-bounty for details.
Rewards
1000 DAI
Timeframe to Completion
30 days
Application Evaluation
To ensure you are selected for this bounty, provide the following information:
Bounty
Impact
Extend
nwaku
adoption by allowing people to run it on inexpensive hardware such as Raspberry Pi with minimum effort and clear instructions. Assesses its viability with benchmarks.Deliverables
nwaku
in a RaspberryPi. Run nwaku binaries, not docker image. Publish binaries to be used by others.nwaku
in RPi to join The Waku Network, inspire yourself from nwaku-compose for the command line arguments to use.nwaku
joining TheWakuNetwork on a RPi.nwaku
in RPi, comparing it against existing results in a thick cloud server, checking metrics suchwaku_rln_proof_verification_duration_seconds
(see this),waku_rln_proof_generation_duration_seconds
, mem and CPU usage.Resources
Learn more about Waku at https://docs.waku.org/.
Join our Discord to get support at https://discord.waku.org/.
nwaku GitHub repo: https://github.com/waku-org/nwaku
The text was updated successfully, but these errors were encountered: