Bible Pay

Read 38288 times

  • T-Mike
  • Sr. Member

    • 391


    • 2
    • February 06, 2018, 06:12:58 pm
    more
Why do they make RAC decrease by a factor of 2 every week. So even if I'm doing 200 cobblestones a week the next week it's a 100 RAC?

http://boinc.berkeley.edu/wiki/Computation_credit


I have just tried running boinc on ARM. Not successful though, I'm not getting any tasks :

11-Feb-2018 15:15:24 [Rosetta@home] Sending scheduler request: To fetch work.
11-Feb-2018 15:15:24 [Rosetta@home] Requesting new tasks for CPU
11-Feb-2018 15:15:27 [Rosetta@home] Scheduler request completed: got 0 new tasks
11-Feb-2018 15:15:27 [Rosetta@home] This project doesn't support computers of type aarch64-unknown-linux-gnu

Anyone  else tried ARM (e.g. Raspberry?)

The first machine I tried was an ARM (aarch64) and didn't work.  This is because, I believe, Rosetta does not craft their work units to process correctly in ARM.


I was able to setup Linux machine with BOINC with 3 commands!

togoshigekata BOINC:
https://boinc.bakerlab.org/rosetta/hosts_user.php?userid=1981221

sudo apt install boinc-client boinc-manager
boinccmd --lookup_account https://boinc.bakerlab.org/rosetta/ EMAIL PWD
boinccmd --project_attach https://boinc.bakerlab.org/rosetta/ ACCOUNTKEY

and I used top command to look at CPU usage, and the CPU was auto used up by BOINC

Thanks Luke!

Boinccmd tool:
http://boinc.berkeley.edu/wiki/Boinccmd_tool

You're better off going to the website at https://boinc.bakerlab.org/rosetta, click on the link by Account Keys that says "View" and copy your "weak" password.  Then use that "weak" password on shared computers or really everywhere!


  • rastiks
  • Newbie

    • 14


    • 0
    • February 11, 2018, 05:48:57 am
    more
The first machine I tried was an ARM (aarch64) and didn't work.  This is because, I believe, Rosetta does not craft their work units to process correctly in ARM.

That is a shame - I actually do have several ARM servers that I use to mine BBP currently. I would love to use them for rosetta too. Not mentioning all the Raspberry/Bananapi/Odroid computers that geeks like me usually have at home :) and could be leveraged.

As I wrote, if ARM works with Android (working on my tablet), it should work with Linux - I guess it just needs to be set up at rosetta servers.. And it works for some other boinc projects, e.g. Einstein (https://boinc.berkeley.edu/projects.php). If there is a good point of contact for Rosetta, I would try to reach them and ask for adding ARM+Linux support.



  • Rob A.
  • Administrator

    • 1120


    • 20
    • June 05, 2017, 08:09:04 pm
    • Patmos, Island Of
    more
Anyone know how to maximize BOINC CPU in command line on Linux?

I just checked on my Linux machine with top command noticed only 7 boinc/rosetta threads running at 100% CPU,
when I was expecting to see 16 threads at 100% CPU (like I saw after first installing BOINC and linking Rosetta)

I found some config files in the /etc/boinc-client folder: cc_config.xml and global_prefs_override.xml

References:
http://boinc.berkeley.edu/wiki/Installing_BOINC_on_Ubuntu
https://boinc.berkeley.edu/wiki/BOINC_Data_directory
http://boinc.berkeley.edu/wiki/Boinccmd_tool
http://boinc.berkeley.edu/wiki/Client_configuration

This guide shows a giant config file:
https://www.digitalocean.com/community/tutorials/how-to-set-up-seti-home-on-ubuntu-14-04-or-debian-7
cpu_usage_limit option stands out

Ill poke around some more tomorrow
Just an fyi btw, another way to do it is to copy the client_state.xml in linux to a backup, then install boinc manager GUI on linx (apt-get install boinc-manager), then run the boinc-manager from the linux desktop (requires graphics) then go into Advanced mode from Tools | Advanced, then make the changes using the settings and preferences, then take a diff of client_state.xml (see what changed) then export those keys to a file, then you will know what to change on every new box in the future.



  • Rob A.
  • Administrator

    • 1120


    • 20
    • June 05, 2017, 08:09:04 pm
    • Patmos, Island Of
    more
That's great! And the exchanges can have a different version of the daemon to run without the additional libraries?
I was able to do it with Open SSL, so they dont need anything.  I made sure to say around our function - If this is Not a Sanctuary - exit immediately.  This way when Bittrex audits our code and says what is this for, they wont get question listing us, as they are highly suspicious of anything that has outside access inside an exchange.  As long as they are not a sanctuary, their node will not do anything funny.  It should pass code review.

But anyway, no they (and we) don't need any additional software libs now.




  • T-Mike
  • Sr. Member

    • 391


    • 2
    • February 06, 2018, 06:12:58 pm
    more
https://en.wikipedia.org/wiki/BOINC_Credit_System

Please read the part on RAC, is there any information on exactly how it's calculated? Even though the statement needs verification on the wiki, I think we should calculate our own from the credits of each task which would be more accurate. If the statement is true, it looks like maybe you can trick the RAC to being higher possibly by having a higher benchmark score. I will also try to find out how the credits are calculated.


  • Rob A.
  • Administrator

    • 1120


    • 20
    • June 05, 2017, 08:09:04 pm
    • Patmos, Island Of
    more
Why do they make RAC decrease by a factor of 2 every week. So even if I'm doing 200 cobblestones a week the next week it's a 100 RAC?

http://boinc.berkeley.edu/wiki/Computation_credit
RAC is a very cool float.  Think of it as the half life of a piece of uranium.  It takes computing power to build it up, then it decays over a one month period with the half life being 2 weeks.  Its very useful to show exactly where a researcher is in the work curve.  If you have been researching for one month solid before you come to Biblepay, we know with certainty how much effort you already put in and can confidently pay you in the next superblock based on your RAC.  It ends up being a perfect representation to rank Rosetta users side by side using disparate equipment.  ( Our biblepay magnitude is also based on the sum of Rosetta RAC and our available budget, so your in-client magnitude is Your next DC superblock share as a percent * 10).

If you want to see work done over a one day period, you can instead look at total credit delta.  Look at todays total credit minus yesterdays total credit.



« Last Edit: February 13, 2018, 08:41:52 am by Rob A. »


  • Rob A.
  • Administrator

    • 1120


    • 20
    • June 05, 2017, 08:09:04 pm
    • Patmos, Island Of
    more
The first machine I tried was an ARM (aarch64) and didn't work.  This is because, I believe, Rosetta does not craft their work units to process correctly in ARM.

Yeah, I can add a couple additional things need done to host an ARM project on boinc.  Its not a limitation of Boinc or the Rosetta Project.

Basically, the Build of Rosetta produces a long compatibility string, something such as "Linux 64 - ARM - Kaeplin" and when the Rosetta developer finds that string, they have to ask Rosetta web admin to add it as a project type (So then Rosetta supports Windows, Mac, Linux, Arm Kaeplin).  After that nothing works yet.  Then they have to have config manager build a Kaeplin build.  Then Network manager configure the outputs to go in the Kaeplin directory.  Then enable Boinc Rosetta to serve those workunits.  Then script a program to Create work units for Kaeplin. 

So its everything from a custom build for that proc to enabling that proc for the project.  They probably only support one Arm build at this time, whatever one is in the google play store that works on the galaxy s7.

You can make posts in the Rosetta forums asking them to support more Arm flavors.   You can get the string from the task scheduler error, where it says Project has no tasks available for "Arm xxxxxx".



  • Rob A.
  • Administrator

    • 1120


    • 20
    • June 05, 2017, 08:09:04 pm
    • Patmos, Island Of
    more
https://en.wikipedia.org/wiki/BOINC_Credit_System

Please read the part on RAC, is there any information on exactly how it's calculated? Even though the statement needs verification on the wiki, I think we should calculate our own from the credits of each task which would be more accurate. If the statement is true, it looks like maybe you can trick the RAC to being higher possibly by having a higher benchmark score. I will also try to find out how the credits are calculated.
Its just the half life of your recent credit added in the last month.  Actually its very accurate. 
I dont understand why you would want something different - how could anyone tamper with it?  Its not possible.  No researcher has access to the Rosetta validator or write access to the boinc network.

Its already more accurate than anyone would ever need.


  • T-Mike
  • Sr. Member

    • 391


    • 2
    • February 06, 2018, 06:12:58 pm
    more
Its just the half life of your recent credit added in the last month.  Actually its very accurate. 
I dont understand why you would want something different - how could anyone tamper with it?  Its not possible.  No researcher has access to the Rosetta validator or write access to the boinc network.

Its already more accurate than anyone would ever need.

I understand the decreasing by a factor of 2 part now. That's for the old number and then the new current RAC is added to it.

I was just trying to see if the RAC and credit given was fair and not easy to manipulate. I read the paragraph again and understand it a little better now, it does not appear the RAC is tamperable so far.


  • T-Mike
  • Sr. Member

    • 391


    • 2
    • February 06, 2018, 06:12:58 pm
    more
It appears every project has a different credit system. Rosetta's credit system seems pretty good so far.

https://boinc.bakerlab.org/forum_thread.php?id=2194


  • Rob A.
  • Administrator

    • 1120


    • 20
    • June 05, 2017, 08:09:04 pm
    • Patmos, Island Of
    more
1.0.9.0b-Mandatory Upgrade for Testnet

- Allow headless to participate in SanctuaryQuorum
- Enabled CPID botnet busting rule (requires each block to have signed and associated CPIDs with Magnitude in order to mine (and we enforce distinct CPIDs over 5 block periods))

* Windows is still compiling *



*** ALL : I have discovered that by moving up to version 1.0.9.0 and enforcing it (since we don't want to touch the Protocol Version in Prod) for some reason, the nodes are now interpreting "1090" as "109".  Therefore, I had to check in some code to allow the wallet to understand we are on 1090.  Please upgrade to 1090b in Testnet and please discard the last 1090 version.  (Otherwise, we cant connect).

« Last Edit: February 13, 2018, 11:28:31 am by Rob A. »


  • orbis
  • Full Member

    • 130


    • 1
    • February 08, 2018, 04:37:14 pm
    more
it looks, that rosetta is too much for VPS. I'm testing it on one of my VPS and in last two days it freeze up 3 times. No respond from VPS and only solution was restart. Then it works for some time and freeze again.. I must find solution how to limit cpu resources :) Is here anyone else testing VPS?


  • T-Mike
  • Sr. Member

    • 391


    • 2
    • February 06, 2018, 06:12:58 pm
    more
it looks, that rosetta is too much for VPS. I'm testing it on one of my VPS and in last two days it freeze up 3 times. No respond from VPS and only solution was restart. Then it works for some time and freeze again.. I must find solution how to limit cpu resources :) Is here anyone else testing VPS?

Did you try something similar to this yet?
https://boinc.berkeley.edu/dev/forum_thread.php?id=3113

Or you can do this for any process:
https://www.tecmint.com/cputool-limit-linux-process-cpu-usage-load/