Credit system.

Message boards : Random stuff : Credit system.

To post messages, you must log in.

1 · 2 · Next

AuthorMessage
tito

Send message
Joined: 30 Jan 17
Posts: 4
Credit: 100,565,584
RAC: 0
   
Message 49 - Posted: 1 Feb 2017, 6:51:43 UTC

Aren't credits set a bit to high? ~ 70k daily from 7threads sounds little overpaid. Same host in well paid Enigma@home (with optymalization on) can reach ~ 20k daily. Please do not make credit system worthless.
ID: 49 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Sergei Chernykh
Project administrator
Project developer

Send message
Joined: 5 Jan 17
Posts: 533
Credit: 72,451,573
RAC: 0
   
Message 50 - Posted: 1 Feb 2017, 6:54:57 UTC - in response to Message 49.  
Last modified: 1 Feb 2017, 8:04:03 UTC

I use standard BOINC credit system. Where to set it? There's always an option to switch to fixed credit per work unit, since work units are pretty consistent and uniform now.

P.S. According to this table: https://boincstats.com/en/stats/-1/cpcs project credit level can vary dramatically between projects, sometimes one project gives almost 100 times more credits than another. I don't understand how exactly a credit for work unit is computed. Even looking at the source code doesn't help much.
ID: 50 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
fzs600

Send message
Joined: 23 Jan 17
Posts: 8
Credit: 404,034,624
RAC: 4,354,351
    
Message 52 - Posted: 1 Feb 2017, 9:32:07 UTC - in response to Message 50.  

Hello i agree with tito

The credits are really too high

thank you
ID: 52 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
tito

Send message
Joined: 30 Jan 17
Posts: 4
Credit: 100,565,584
RAC: 0
   
Message 53 - Posted: 1 Feb 2017, 9:32:18 UTC

I will pass that thread to admin of Universe@home. He should be aware of matter.
Re vary of credits between projects - my opinion is to TRY keep everything equal, but in smart way. SETI "creditnew" system is terrible. Overpaying is also not good.
ID: 53 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Sergei Chernykh
Project administrator
Project developer

Send message
Joined: 5 Jan 17
Posts: 533
Credit: 72,451,573
RAC: 0
   
Message 54 - Posted: 1 Feb 2017, 9:38:21 UTC - in response to Message 53.  
Last modified: 1 Feb 2017, 9:45:00 UTC

I've directly modified sample_bitwise_validator and added a scaling factor there to reduce credits. It'll give 2.5 times less credits per WU from now on. Please give feedback here.

P.S. According to logs, it's giving less credits now: https://sech.me/boinc/Amicable/workunit.php?wuid=11429

I don't know what level is considered to be 'normal', so you can greatly help me by replying here.
ID: 54 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
krzyszp

Send message
Joined: 1 Feb 17
Posts: 1
Credit: 277,816
RAC: 0
  
Message 57 - Posted: 1 Feb 2017, 17:22:58 UTC - in response to Message 54.  

Hello,
My name is Krzysztof 'krzyszp' Piszczek, I'm Universe@Home admin and tito ask me to join this disscusion :)

I had load of problems with setting correct points for WU's in past, so I decide to check execution "referal" machine well know for me and set is as "0 level" for points.
Currently my E3-1230v2 on Windows 7 makes about 2.2k points daily on single thread (with multithreading) and I think it is average amount of points in most projects.
Obviously I ser points-per-wu in generator.
ID: 57 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile Coleslaw
Avatar

Send message
Joined: 26 Jan 17
Posts: 2
Credit: 63,725,603
RAC: 0
   
Message 59 - Posted: 1 Feb 2017, 20:39:08 UTC

2.5 times less may still be over crediting from what I've been seeing. I've made over 800k in the last 3 days and my systems have not been fully dedicated to the project. I cannot come anywhere near that amount of credit on CPU's at any of the other projects. At most I probably would typically earn between 75k and 100k depending on project and how focused I am on that project. And again that would be over the course of 3 days time. I personally don't care what the points are. I just know that there are quite a few that took notice and are monopolizing on this opportunity.
ID: 59 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Sergei Chernykh
Project administrator
Project developer

Send message
Joined: 5 Jan 17
Posts: 533
Credit: 72,451,573
RAC: 0
   
Message 60 - Posted: 1 Feb 2017, 21:21:12 UTC - in response to Message 59.  

I'm getting lost in numbers. At the current scale, my Xeon CPU E5-1650 v3 (6 cores) generates ~35k credits a day running 12 threads. Is it normal or too much?
ID: 60 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
tito

Send message
Joined: 30 Jan 17
Posts: 4
Credit: 100,565,584
RAC: 0
   
Message 61 - Posted: 1 Feb 2017, 21:31:39 UTC - in response to Message 60.  

There is also a question about optymalization of Your application. Remember that sometimes somebody can squize much more more from the code - eg TN-Grid where one of our collegues optymized application so it became 4 times faster.
~35k from Your CPU sounds still little too much. Personally I would target it to ~ 28k. Still above protein projects but fair for math.
ID: 61 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile bcavnaugh
Avatar

Send message
Joined: 26 Jan 17
Posts: 21
Credit: 272,313,122
RAC: 0
   
Message 63 - Posted: 2 Feb 2017, 3:27:53 UTC
Last modified: 2 Feb 2017, 3:34:31 UTC

You could say the same about Collatz as well http://boinc.thesonntags.com/collatz/result.php?resultid=125538173


Amicable Numbers
Run Time 3,390.83 CPU Time 50,972.52 Credit 985.71
Run Time 2,486.41 CPU Time 77,604.84 Credit 3,777.12
Run Time 20,754.45 CPU Time 35,612.59 Credit 11,402.79
Run Time 1,466.71 CPU Time 0.33 Credit 38,986.66 Collatz

And then look at Look at Rosetta @ home 5-6 hours work for less than 100 Credits
Crunching@EVGA The Number One Team in the BOINC Community.
Folding@EVGA The Number One Team in the Folding@Home Community.
ID: 63 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Sergei Chernykh
Project administrator
Project developer

Send message
Joined: 5 Jan 17
Posts: 533
Credit: 72,451,573
RAC: 0
   
Message 64 - Posted: 2 Feb 2017, 5:46:36 UTC - in response to Message 61.  
Last modified: 2 Feb 2017, 5:49:21 UTC

There is also a question about optymalization of Your application. Remember that sometimes somebody can squize much more more from the code - eg TN-Grid where one of our collegues optymized application so it became 4 times faster.
~35k from Your CPU sounds still little too much. Personally I would target it to ~ 28k. Still above protein projects but fair for math.

Everyone is welcome to try optimizing it: https://github.com/SChernykh/Amicable/tree/boinc-version
But I doubt that it's possible at all. 1-2%, maybe 5% improvement, but not 4 times faster.

I did a test run of Primegrid in January, it gave me a set of 12 "The Riesel Problem (Sieve)" tasks, and when they got validated, I received 7208 credits for just 2.5 hours of work, so it's ~69.2k per day on the same CPU on another math project.
ID: 64 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
tito

Send message
Joined: 30 Jan 17
Posts: 4
Credit: 100,565,584
RAC: 0
   
Message 66 - Posted: 2 Feb 2017, 6:38:52 UTC - in response to Message 64.  

In sieve Yes. If You Try LLR it would be half of it. BTW does Your aplication use AVX/FMA/AVX2 ?
ID: 66 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Sergei Chernykh
Project administrator
Project developer

Send message
Joined: 5 Jan 17
Posts: 533
Credit: 72,451,573
RAC: 0
   
Message 67 - Posted: 2 Feb 2017, 7:43:44 UTC - in response to Message 66.  

Half of it would be exactly what it is here now. My application uses only integer arithmetic. Floating point just can't represent 64-bit integers without losing precision.
ID: 67 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile Aleksander Parkitny

Send message
Joined: 24 Jan 17
Posts: 1
Credit: 130,087
RAC: 0
  
Message 73 - Posted: 2 Feb 2017, 21:44:49 UTC

I believe that the best option is to take one reference machine. Crunch for 24 hours for one project similar to Yours. Then approximate the results. It would be fair.
ID: 73 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile Dingo
Avatar

Send message
Joined: 30 Jan 17
Posts: 11
Credit: 71,598,438
RAC: 4,583
   
Message 84 - Posted: 6 Feb 2017, 9:13:37 UTC
Last modified: 6 Feb 2017, 9:14:56 UTC

How does the credit system work out the multithread?

If I use 12 cores on a task and my buddy user uses one for the same task do we get the same credit? If we do which seems to be the case, the user running on one task gets a windfall. I think because one uses 12 cores it should get 12 times the credit of the one using one core. If I was a normal BOINC project I would be returning 12 tasks to the other users one and therefor get 12 times the points.

I might be wrong but I am sure someone will let me know.... Old timers sets in sometimes this early in the morning.

Proud Founder and member of



Have a look at my WebCam
ID: 84 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Sergei Chernykh
Project administrator
Project developer

Send message
Joined: 5 Jan 17
Posts: 533
Credit: 72,451,573
RAC: 0
   
Message 85 - Posted: 6 Feb 2017, 9:26:52 UTC - in response to Message 84.  
Last modified: 6 Feb 2017, 9:28:29 UTC

How does the credit system work out the multithread?

If I use 12 cores on a task and my buddy user uses one for the same task do we get the same credit? If we do which seems to be the case, the user running on one task gets a windfall. I think because one uses 12 cores it should get 12 times the credit of the one using one core. If I was a normal BOINC project I would be returning 12 tasks to the other users one and therefor get 12 times the points.

I might be wrong but I am sure someone will let me know.... Old timers sets in sometimes this early in the morning.


The credit is based on CPU time spent, so your client counts total time spent on all 12 cores for you, your buddy's client counts time spent on one core. Then both clients report to the server: "I spent X CPU seconds and claim Y credit", then server does math and other checks and awards both clients with equal credit which is a minimum of two claimed credits to limit cheating.

Edit: actually, clients report number of floating point OPs performed, not just CPU seconds.
ID: 85 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile Dingo
Avatar

Send message
Joined: 30 Jan 17
Posts: 11
Credit: 71,598,438
RAC: 4,583
   
Message 92 - Posted: 6 Feb 2017, 19:30:33 UTC - in response to Message 85.  
Last modified: 6 Feb 2017, 19:42:57 UTC

Then both clients report to the server: "I spent X CPU seconds and claim Y credit", then server does math and other checks and awards both clients with equal credit which is a minimum of two claimed credits to limit cheating.

Edit: actually, clients report number of floating point OPs performed, not just CPU seconds.



So if it "awards both clients with equal credit which is a minimum of two claimed credits " why would I ever use all my cores, I am better off using one core and get the same points?

https://sech.me/boinc/Amicable/workunit.php?wuid=22718

This is a Work Unit that I picked at random and is the 12 core machine but not sure if I was running all 12 then, my Run time 51 min 53 sec CPU time is 10 hours 21 minutes 10 seconds and my buddy Run time 1 hours 39 min 28 sec CPU time is 4 hours 58 min 11 sec yet we get the same credit of 566.02.
I do not know how much I or he claimed but it does not seem correct that we get the same credit.

Here are two Work Units from the same machine (374) and processed about the same time and get vastly different credit of 566.02 and 2591.14 credits,

https://sech.me/boinc/Amicable/workunit.php?wuid=22648
https://sech.me/boinc/Amicable/workunit.php?wuid=22715

So it all depends on who you get paired with which does not seem to be fair or logical.

When everyone is running the same work unit on one thread the credit system works OK but not when one is running 12 cores and someone else 4 cores.

Proud Founder and member of



Have a look at my WebCam
ID: 92 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Sergei Chernykh
Project administrator
Project developer

Send message
Joined: 5 Jan 17
Posts: 533
Credit: 72,451,573
RAC: 0
   
Message 93 - Posted: 6 Feb 2017, 19:50:06 UTC - in response to Message 92.  

This credit system logic is definitely weird. I guess the better option would be to switch to fixed credit per work unit.
ID: 93 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
fractal

Send message
Joined: 1 Feb 17
Posts: 8
Credit: 100,048,293
RAC: 0
   
Message 94 - Posted: 6 Feb 2017, 21:53:06 UTC - in response to Message 92.  

So it all depends on who you get paired with which does not seem to be fair or logical.

When everyone is running the same work unit on one thread the credit system works OK but not when one is running 12 cores and someone else 4 cores.

One issue may be that this project is memory intensive and thus will run out of memory bandwidth before you run out of cores on a 12 core machine.

I see it all the time with my collection of machines. I have an i5 with four cores at the same clock speed as my xeon with 12 cores. The i5 core finishes a work unit in half the time as the xeon, but the xeon does more of them at the same time. You can get good scaling if the main loop of your application fits in processor cache, but if it does not then all cores are competing for access to main memory.

So, yes, it DOES depend on who you get paired with. A couple of machines with lots of cores and slow memory will get more credit for doing the same work as a leaner, meaner machine. That is because credit is based on cpu seconds * cpu benchmark. And the cpu benchmark is computed with an algorithm that, you got it, fits in cache ;)

Many projects facing this issue pick a reference system and run work on it to get representative credit. They then assign fixed credit to the work units based on how their reference system performs. Some people hit the jackpot if their systems are more efficient than the reference system. Others are not as happy.

Oh, and it should make sense that it doesn't matter whether you are running a multi-threaded app which runs 4 or 12 cores or a single threaded app and you run 4 or 12 parallel work units. The end result is the same. The advantage of the multi-threaded app is the programmer is doing the work of identifying what can be shared between the threads instead of making the operating system. This can have a marked affect in projects like this one that want a lot of memory that can be shared between threads.
ID: 94 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Sergei Chernykh
Project administrator
Project developer

Send message
Joined: 5 Jan 17
Posts: 533
Credit: 72,451,573
RAC: 0
   
Message 95 - Posted: 6 Feb 2017, 22:41:50 UTC - in response to Message 94.  

Yes, it's better to run just one work unit on all cores because threads share common data and cache miss rate is low. Those who run multiple instances are generally a bit slower because CPU cache gets exhausted.
ID: 95 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
1 · 2 · Next

Message boards : Random stuff : Credit system.


©2024 Sergei Chernykh