Author

Topic: [ANN][YAC] YACoin ongoing development - page 172. (Read 379868 times)

sr. member
Activity: 425
Merit: 262
My main interest here is determining the feasibility of yacoin moving forward, as I have a decent amount of them.

One of the problems I see with YACoin is that many people who mined shitload of coins early ^ are not interested in actively working on YAC mass adoption or development. YACoin is still
lacking blockchain explorer and many other features but I don't see anyone owning huge pile of YAC giving a damn about it. It seems even posting on this forum and not letting YACoin
threads end spammed out to 5th+ page is hard task for most of you out there. You are giving nothing but expect much, well, that simply won't work. If Satoshi and early Bitcoin adopters
went the same way we would probably not have any cryptocoins today.

I, the guy who mined under 1 YAC total but bought close to 40k coins very early and in the effect added initial value to them, will abstain from participation in any sort of YACoin debate
until I see things moving in the right direction.

Actually, don't expect too much because we know things are changing, no one knows which is the end. But we can see the direction ahead that is innovative things not copycats. That's why we need to pay more attention on the development of the infrastructure.
member
Activity: 94
Merit: 10
My main interest here is determining the feasibility of yacoin moving forward, as I have a decent amount of them.

One of the problems I see with YACoin is that many people who mined shitload of coins early ^ are not interested in actively working on YAC mass adoption or development. YACoin is still
lacking blockchain explorer and many other features but I don't see anyone owning huge pile of YAC giving a damn about it. It seems even posting on this forum and not letting YACoin
threads end spammed out to 5th+ page is hard task for most of you out there. You are giving nothing but expect much, well, that simply won't work. If Satoshi and early Bitcoin adopters
went the same way we would probably not have any cryptocoins today.

I, the guy who mined under 1 YAC total but bought close to 40k coins very early and in the effect added initial value to them, will abstain from participation in any sort of YACoin debate
until I see things moving in the right direction.
I own 10K of them, not much. And I'm eager to promote it, too.
hero member
Activity: 588
Merit: 500
How do I fix the old checkpoint message?
member
Activity: 110
Merit: 11
Windmaster - Thanks for the the checkpoint fix.
legendary
Activity: 2772
Merit: 1028
Duelbits.com
I'm not even sure that people mining it with gpu is a bad thing in long run or even now. Price needs to go up for cpu mining to be decently profitable and gpu mining might be the one that will keep things moving until then.

And it was always expected that gpus are going to jump in at some moment. Despite some problems it was still a coin where people without lot of gpu power could take the bigger piece of pie in early days than it's case with other coins.
member
Activity: 104
Merit: 10
I'm saving that especially for the next altcoin that gets the bright idea to fork YACoin into yet another useless copy-pasta altcoin launch with difficulty set to 0.

I can't believe that hasn't already happened.


There was OneCoin, but the developer couldn't figure out how to compile for Windows, and gave up.

Quote
Also - is the mtrit in this thread famous mtrit or famous original mtrit?

I have trouble parsing this sentence.
sr. member
Activity: 462
Merit: 250
Just my 2 cents here:

Congratulation to mtrlt, you deserve all your litecoins Smiley

For the rest:

I understood that you wanted to continue to develop yacoin for it's "uniqueness" being cpu-only (AFAIK FPGA from the start)
What I see here it's quite different, maybe you should change thread title as it's not about the client, it's about the miner.
If you are up to multiply your daily crypto income there are easier available-to-eveybody way to do this.
Don't take this as an attack  Grin

My main interest here is determining the feasibility of yacoin moving forward, as I have a decent amount of them. It's great that a development community is forming around it, as that's a huge plus, and IMO required for any "lasting" altcoin. However, I believe that this coin still needs something to set it apart from the rest if it is to be substantially successful. It currently has that. But how much of that is due to the intrinsic technical properties of the coin, and how much of that is due to the fact that no GPU miner is publicly available yet? THAT is the key question for me.

Therefore, I'm very interested in the effectiveness of GPU mining in the months and years moving forward, especially as it relates to CPU.  If we can at least keep the performance advantage between CPUs and GPUs < 5x or so once N >= 2048 (in a few months) then that may prove to be good enough. This is why any technical data on hash rates with various N sizes would be very interesting to me, especially as it compares to a CPU.

Right now, GPUs are clearly more effective than CPUs, but the # of users mining with GPUs appears to be very low (1 or 2? Smiley). If a reaper/cgminer YAC kernel is made available though, that will change very quickly.
hero member
Activity: 802
Merit: 1003
GCVMMWH
I'm saving that especially for the next altcoin that gets the bright idea to fork YACoin into yet another useless copy-pasta altcoin launch with difficulty set to 0.

I can't believe that hasn't already happened.

Also - is the mtrit in this thread famous mtrit or famous original mtrit?
sr. member
Activity: 347
Merit: 250
What I see here it's quite different, maybe you should change thread title as it's not about the client, it's about the miner.
If you are up to multiply your daily crypto income there are easier available-to-eveybody way to do this.
Don't take this as an attack  Grin

Only the last page or two, and there's a bunch of client-related stuff dealing with checkpoints and the warning the original client is showing mixed in.  Certainly a discussion about GPU mining and the first people to post hash rates and implementation details is of interest to ongoing YACoin development.
full member
Activity: 196
Merit: 100
Just my 2 cents here:

Congratulation to mtrlt, you deserve all your litecoins Smiley

For the rest:

I understood that you wanted to continue to develop yacoin for it's "uniqueness" being cpu-only (AFAIK FPGA from the start)
What I see here it's quite different, maybe you should change thread title as it's not about the client, it's about the miner.
If you are up to multiply your daily crypto income there are easier available-to-eveybody way to do this.
Don't take this as an attack  Grin
member
Activity: 77
Merit: 10
does anyone kind nice guy here could tell me with simple instructions how to remove that warning from the Yac client, or maybe tell if not doing it what worse can happen?

ty Kiss

Just download the latest WindMaster's client and compile it and you won't get any warnings. Running the old client won't do any harm though.
member
Activity: 104
Merit: 10
Right now, I'm hesitant to reveal details. I'd absolutely love it you (FlyLord, WindMaster, hanzac, others?) could PM me your OpenCL code, but I don't know what I could give in return.

But for what purpose, if we all achieved way shittier hash rates than you did?


I just want to see how others think. So far, except for BTC, I've always been the first to make an open source GPU miner for a currency that has had a new hash function. (My list only contains Solidcoin 2.0 and Litecoin, though. Maybe I've missed some altcoins?) I've not seen the OpenCL development practices of anyone else. I'm just curious, that's all. You don't have to send me code if you don't want to. Smiley
sr. member
Activity: 425
Merit: 262
I can post my code but it's still buggy (the hash not accepted):
http://sourceforge.net/projects/hnindev/files/scrypt130302.cl

The bug might involved in mem copy from registers to memory or from memory to registers (the endian problem).
sr. member
Activity: 347
Merit: 250
Right now, I'm hesitant to reveal details. I'd absolutely love it you (FlyLord, WindMaster, hanzac, others?) could PM me your OpenCL code, but I don't know what I could give in return.

But for what purpose, if we all achieved way shittier hash rates than you did?


but I don't know what I could give in return.

Oh, I think I have a good idea what everyone will probably ask for in return, and it's not something you're likely to give.  Smiley  It's sorta like everyone that keeps PM'ing me asking for my Verilog implementation for FPGA's, thinking they're going to run it on off-the-shelf BTC mining FPGA boards, or not reading close enough that it was an implementation for N=32 specifically.  I'm saving that especially for the next altcoin that gets the bright idea to fork YACoin into yet another useless copy-pasta altcoin launch with difficulty set to 0.
member
Activity: 104
Merit: 10
Right now, I'm hesitant to reveal details. I'd absolutely love it you (FlyLord, WindMaster, hanzac, others?) could PM me your OpenCL code, but I don't know what I could give in return.
newbie
Activity: 14
Merit: 0
mtrlt, want to give us a hint as to what you optimized?
member
Activity: 104
Merit: 10

How do you feel your YAC GPU kernel performance will hold up off of those adjustments (in absolute terms and in relative terms to a high end CPU)?


I've not yet tested high N values extensively, however I know that N=512 is the first N where lookup_gap=2 is faster than lookup_gap=1.
sr. member
Activity: 425
Merit: 262
If I had to guess he read the keccak whitepaper which talks about optimizing the code, there's apparently some instructions that are not necessary or something. I'm also not taking advantage of the vector types. The core ChaCha code as an example, takes 16 uint's and could be done using either a uint4 [4] or uint8 [2] or uint16 -- but, as I mentioned, I've got no clue if that would actually make it faster.

After reading the PBKDF2 specs and pseudocode, I also think there are too many steps in the scrypt-jane code -- maybe I'm just reading it wrong -- that are not necessary for what we're doing.

Also, to figure out endianess query the "CL_DEVICE_ENDIAN_LITTLE" property through OpenCL, that way you'll know for sure.

;-) for chacha I ported to this:
Quote
uint16
chacha_core(uint16 state) {
   uint rounds;
   uint16 x;
        uint t;

   x = state;

   for (rounds = 8; rounds > 0; rounds -= 2) {
      quarter( x.s0, x.s4, x.s8, x.sC);
      quarter( x.s1, x.s5, x.s9, x.sD);
      quarter( x.s2, x.s6, x.sA, x.sE);
      quarter( x.s3, x.s7, x.sB, x.sF);
      quarter( x.s0, x.s5, x.sA, x.sF);
      quarter( x.s1, x.s6, x.sB, x.sC);
      quarter( x.s2, x.s7, x.s8, x.sD);
      quarter( x.s3, x.s4, x.s9, x.sE);
   }

   state += x;
       
        return state;
}
sr. member
Activity: 425
Merit: 262
So, I'll chime in, I wrote one too and get pretty abysmal rates (just got around to testing it -- 150 kH/s or so, under N=6) using a 7950. I know my implementation can be cleaned up but it would require understanding keccak better and since I'm new to OpenCl and basic optimization information is pretty hard to find, I'm not sure I want to put in the effort. I put in a lookup gap capability but don't need to use it.

Btw, does anyone know if using the vector types in OpenCL on AMD is faster than using the scalar types? I haven't been able to find any definite statements leaning one way or the other ...

I wonder if mtrlt wrote is own keccak implementation or went around porting the optimized version they released. I went about it by copying over the code from scrypt-jane and direct porting it to OpenCL.

Oh and as an fyi, I didn't do it to actually make a miner, I just wanted to see how much effort it would take and how fast it would be.

I also port directly from scrypt-jane source code. For ROTL64 & ROTL32, I use rotate(x,y) function of CL. I also use some vector types. That's why I need to care much more about the endian problems ... Maybe I should start with little change.
sr. member
Activity: 347
Merit: 250
Are you aware Terracoin network is forked into like 4 chains right now?

Yeah.  Their hard forks came about through incompatible changes to the client though, if I understand correctly.  I kinda hold hard forks of the blockchain to be generally bad policy unless absolutely necessary, because it enforces changes upon the whole of a coin's population to change the parameters of the coin to something different than they understood the coin to be when they adopted the coin.  For example, the Elacoin miners trying to hard fork their blockchain and change their client so their mining reward is even higher for late adopter miners than what everyone understood it to be when they adopted Elacoin and started mining it (effectively, jacking up their rate of inflation).  And some mention of trying to get all the Elacoin mining pools onboard with the change to gain majority hashpower and try to force the change on everyone using Elacoin.  That really rubbed me the wrong way how they were going about that.


I suggest leaving checkpoint age code but increasing check period from 10 to 60+ days. Given how many things can be added and improved, there could be even more than 1 upgrade
per 2 months, mandatory or not.

Perhaps.  Here's what's in there now:

Quote
   if (Checkpoints::IsSyncCheckpointTooOld(60 * 60 * 24 * 10) && !fTestNet && !IsInitialBlockDownload())
    {
        nPriority = 100;
        strStatusBar = "WARNING: Checkpoint is too old. Wait for block chain to download, or notify developers.";
    }

So, after 10 days it throws that particular warning.  Changing it to 60 days could be workable but we definitely need to rewrite the warning, I'd think.  As it is, it already leaves someone with no clue whether their client is even working anymore.

Anyone have any thoughts on what it should actually say?  Perhaps something like "WARNING: Your YACoin client is more than 60 days old and may not contain the most recent checkpoints.  You may want to check if a more recent version of the YACoin client is available."
Jump to: