Pages:
Author

Topic: [ANN] Ħ [HODL] 5% Interest. No Staking Req. Term Deposits 10%. Solo Mining. - page 64. (Read 472979 times)

newbie
Activity: 5
Merit: 0
1 GB is required for the lookup table. You can forgo a lookup table and calculate each time of course - if you can calculate faster than you can retrieve from memory, that'll be optimal, but I doubt it.

Anyway, interesting work you've done on this, but I'm skeptical of  - "I'd guestimate a further 10x as the room for improvment" - difficult to make accurate guesstimates like that.

In regards to my guesstimation: Of course it is not accurate... it's in the word. My way of thinking: A new graphics card simply delivers 2-3x more performance than my graphics card. There are AES implementations which are ~2x more performant than mine. I believe this is my first OpenCL code and therefore probably not as good as it gets... a further 2x may be possible here just by how you deploy the workload onto the graphics card. 2-3x * ~2x * 2x = 10x.

In regards to the lookuptable: You have ~250.000x 4KB (let's call them:) cache entrys. With the lookup table you have to calculate every cache entry once (256k calculations), which involves generating 64 SHA512 hashes per cache entry. If you calculate them on-the-fly, you have to calculate every cache entry (very worst case:) 16 times. Now that seems like a bad number at first, because it would take 16 times as long to calculate these cache entrys, but you have to put it in context! Or more specifically: what would be the overall performance decrease?

One way of doing it is mathematically, in which case you would compare
Code:
1GB Look Up Table: 256k*1*64 SHA512 calculations + 256k*15*(AES Key Expansion + 64 blocks *14 rounds of AES CBC encryption)
versus
Code:
No Look Up Table: 256k*16*64 SHA512 calculations + 256k*15*(AES Key Expansion + 64 blocks *14 rounds of AES CBC encryption)
Now the question is how expensive is that SHA512 compared to the AES CBC?

So instead I do it the other way... I implemented both algorithms (with and without Scratchpad) and these are the results I am measuring on CPU:
Code:
Built the 1GB look up table in (ms): 18376
Calculated 256k cache entrys in (ms): 233364
Total time (ms): 251740
versus
Code:
Calculated 256k cache entrys (without look up table) in (ms): 428187

So the penalty hit for not using a 1GB lookup table is 70% in this scenario! And this leaves things out like the fact, that the SHA-512 step has much more optimizations/parallelization possible than a AES-CBC, which would decrease the relative performance hit you would take, after optimization.
You end up with this trade off: Use 1GB of memory versus take a 70% (=0.7x) performance penalty (in the very, very worst case).

Just for a sake of completeness: I did these numbers on my non AES-NI CPU, in a single thread, using the native Java Crypto library, which is faster than my own AES implementation. The worse your AES implementation is, the lower the relative performance hit. The better your SHA implementation is, the lower the relative performance hit.

Conclusion:
Advertising the HOdl algorithm as ASIC proof is total bullshit... the performance penalty when calculating cache entrys on-the-fly opposed to storing them in the 1GB lookup table makes every ASIC builder and their grandmother laugh...


What I don't understand/what I would appreciate if some one would answer:
Where does the algorithm origin from? I don't mean stuff like "it is similiar to Cryptonight" or something like that, but who made this algo? Also there seems to be zero documentation about the algo except for the code itself, which is a bad thing.

All things are not lost, I guess... from what I understand one could make an update to the algorithm via an update? I would strongly suggest it, since as of now, the algo doesn't hold up what it promises imho.
Again: I am _not_ a crypto expert or mathematician. I am simply your average Joe software engineer. And when I see a problem like this... everyone taking a closer look will...

EDIT:
@FreeTrade: I just re-read your post: "if you can calculate faster than you can retrieve from memory, that'll be optimal, but I doubt it" - that is totally besides the point! It is not about what is faster! It is about what are the time/space requirements for the algorithm! Even if not using the lookup table is 0.7x slower, it requires 250000x less memory! This is a great trade off and makes ASICs possible, which still operate on an algorithm, which is 0.7x slower, but do so 1000x faster (=700x total - of course this is not an accurate number again, but you hopefully get the point)!
legendary
Activity: 1470
Merit: 1030
I hope this is the right place to post this:

So I spend the last couple of days to program my first ever miner, which happens to be a HoDL Coin GPU miner... with not so great results. Here my findings so far:
- I am running a Core i3-3200 CPU without AES-NI. This gives me ~7 hash/s on the non-aes hodlminer per CPU thread(w0lf and optiminer keep crashing for me and I doubt they would improve performance as they mainly improve via AES-NI integration from what I understand)
- I started out implementing the hodlcoin algo on CPU and my implementation gave me ~3-4 hash/s per CPU thread
- I ported everything incl. a custom AES implementation to OpenCL (actually I didn't put the SHA stuff on GPU, but it is way less relevant than AES... for every sha execution there are at least 15 more AES executions)
- So my miner gives me now ~60 hash/s on an an rather old HD7850. It's 10-20x faster than the equivalent (unoptimized) CPU implementation. If I optimize the implementation, get something like a RX580 I'd guestimate a further 10x as the room for improvment, resulting in ~600 hash/s.
- and just to make it clear: the implementation _does_ work. I successfully submitted completed work to hodlcoin pool, which got accepted.

Conclusion so far: The GPU implementation as-is is good for people without AES-NI... on the other hand: you can get AES-NI nowadays for less than 50 USD. It may be possible to optimize the miner further, which would maybe even place it above an i7, but the improvement  would still be less than 50% in a rather good scenario. So a GPU miner may be feasable, but don't expect quantum leaps.

Another finding: The "1 GB space requirement" is complete nonsense. Give me 5kb memory and I give you an ASIC...

1 GB is required for the lookup table. You can forgo a lookup table and calculate each time of course - if you can calculate faster than you can retrieve from memory, that'll be optimal, but I doubt it.

Anyway, interesting work you've done on this, but I'm skeptical of  - "I'd guestimate a further 10x as the room for improvment" - difficult to make accurate guesstimates like that.
legendary
Activity: 1672
Merit: 1046
Here we go again
make hodl....

ahh wait nvm then.
hero member
Activity: 578
Merit: 501
I hope this is the right place to post this:

So I spend the last couple of days to program my first ever miner, which happens to be a HoDL Coin GPU miner... with not so great results. Here my findings so far:
- I am running a Core i3-3200 CPU without AES-NI. This gives me ~7 hash/s on the non-aes hodlminer per CPU thread(w0lf and optiminer keep crashing for me and I doubt they would improve performance as they mainly improve via AES-NI integration from what I understand)
- I started out implementing the hodlcoin algo on CPU and my implementation gave me ~3-4 hash/s per CPU thread
- I ported everything incl. a custom AES implementation to OpenCL (actually I didn't put the SHA stuff on GPU, but it is way less relevant than AES... for every sha execution there are at least 15 more AES executions)
- So my miner gives me now ~60 hash/s on an an rather old HD7850. It's 10-20x faster than the equivalent (unoptimized) CPU implementation. If I optimize the implementation, get something like a RX580 I'd guestimate a further 10x as the room for improvment, resulting in ~600 hash/s.
- and just to make it clear: the implementation _does_ work. I successfully submitted completed work to hodlcoin pool, which got accepted.

Conclusion so far: The GPU implementation as-is is good for people without AES-NI... on the other hand: you can get AES-NI nowadays for less than 50 USD. It may be possible to optimize the miner further, which would maybe even place it above an i7, but the improvement  would still be less than 50% in a rather good scenario. So a GPU miner may be feasable, but don't expect quantum leaps.

Another finding: The "1 GB space requirement" is complete nonsense. Give me 5kb memory and I give you an ASIC...
I wonder how an optimized miner for the AMD Ryzen 7 would do. It has both AES and SHA256 acceleration.
newbie
Activity: 5
Merit: 0
I hope this is the right place to post this:

So I spend the last couple of days to program my first ever miner, which happens to be a HoDL Coin GPU miner... with not so great results. Here my findings so far:
- I am running a Core i3-3200 CPU without AES-NI. This gives me ~7 hash/s on the non-aes hodlminer per CPU thread(w0lf and optiminer keep crashing for me and I doubt they would improve performance as they mainly improve via AES-NI integration from what I understand)
- I started out implementing the hodlcoin algo on CPU and my implementation gave me ~3-4 hash/s per CPU thread
- I ported everything incl. a custom AES implementation to OpenCL (actually I didn't put the SHA stuff on GPU, but it is way less relevant than AES... for every sha execution there are at least 15 more AES executions)
- So my miner gives me now ~60 hash/s on an an rather old HD7850. It's 10-20x faster than the equivalent (unoptimized) CPU implementation. If I optimize the implementation, get something like a RX580 I'd guestimate a further 10x as the room for improvment, resulting in ~600 hash/s.
- and just to make it clear: the implementation _does_ work. I successfully submitted completed work to hodlcoin pool, which got accepted.

Conclusion so far: The GPU implementation as-is is good for people without AES-NI... on the other hand: you can get AES-NI nowadays for less than 50 USD. It may be possible to optimize the miner further, which would maybe even place it above an i7, but the improvement  would still be less than 50% in a rather good scenario. So a GPU miner may be feasable, but don't expect quantum leaps.

Another finding: The "1 GB space requirement" is complete nonsense. Give me 5kb memory and I give you an ASIC...
full member
Activity: 154
Merit: 100
what might be considered is a new logo. there had been some new designs posted here. maybe it should be more on the nut side than on ths squirrel side :-)

what definetely should be more defined is why people should have it. safety like inside a nutshell. keeping you away from trading losses and transaction fees are the key features in my opinion.
fast transaction speed and increased capacity should make it even more comfortable to use.

I like the current logo, nice Beatrix Potter vibe that says your money is safe with us and oh by the way why don't you have some chamomile tea while you wait for your coins to mature. Tongue Totally agree there needs to be more marketing of what this coin has to offer, the focus on stability and long term interest is a nice contrast to most of the market. Especially love the idea of retiring coins through transactions and the scaled fees. What would be nice is the ability to do custom length deposits so that if it takes me a month to get a nice nut stash and I'm depositing along the way I can have them all mature on the same date (does this already exist? can't remember and I'm not at my wallet).

Custom length deposits are already there.  You can choose months, weeks, days, or even blocks, and then specify the number of them to HODL.

I ran some amusing advertising 'commercials' through my head the other day based on the safety of HODLing vs being a victim of the markets, as well as one touting the lightning fast speed of the HODL network vs the slow BTC network.  I have no drawing or video skills but maybe I can storyboard them out if anyone has an interest in playing with them.
hero member
Activity: 1988
Merit: 593
sr. member
Activity: 1197
Merit: 482
what might be considered is a new logo. there had been some new designs posted here. maybe it should be more on the nut side than on ths squirrel side :-)

what definetely should be more defined is why people should have it. safety like inside a nutshell. keeping you away from trading losses and transaction fees are the key features in my opinion.
fast transaction speed and increased capacity should make it even more comfortable to use.

I like the current logo, nice Beatrix Potter vibe that says your money is safe with us and oh by the way why don't you have some chamomile tea while you wait for your coins to mature. Tongue Totally agree there needs to be more marketing of what this coin has to offer, the focus on stability and long term interest is a nice contrast to most of the market. Especially love the idea of retiring coins through transactions and the scaled fees. What would be nice is the ability to do custom length deposits so that if it takes me a month to get a nice nut stash and I'm depositing along the way I can have them all mature on the same date (does this already exist? can't remember and I'm not at my wallet).
newbie
Activity: 9
Merit: 0
great to see activity on the developement front!!
the deflation implementation sounds like the right way to go.
changing the name is somehow strange.
hodl is a now totally accepted algo. myriad, groestl, x11, equihash, those names are not better by any means.
i cannot understand what bittrex has to complain about. they have coins like thc, pot, gub, 1st, myst and so on.
what might be considered is a new logo. there had been some new designs posted here. maybe it should be more on the nut side than on ths squirrel side :-)

what definetely should be more defined is why people should have it. safety like inside a nutshell. keeping you away from trading losses and transaction fees are the key features in my opinion.
fast transaction speed and increased capacity should make it even more comfortable to use.

so call it a roadmap and we are good to go :-)

cheers,

ahinga
member
Activity: 98
Merit: 10
Is there any future for HOLD?
hero member
Activity: 578
Merit: 501
in2tactics, wisebc, thanks for the valid criticism about the minimum fee per transaction.

How about an amendment that includes a maximum minimum fee of 0.5HDL - This means that the minimum fee will start at 0.5HDL, but the minimum will decrease rapidly when HDL increases in value. This will still offer some level of spam protection.
That does sounds like it addresses the issue. You could even tie the maximum minimum fee to 1% of the block reward. It feels weird to contemplate maximum minimums.
legendary
Activity: 1470
Merit: 1030
in2tactics, wisebc, thanks for the valid criticism about the minimum fee per transaction.

How about an amendment that includes a maximum minimum fee of 0.5HDL - This means that the minimum fee will start at 0.5HDL, but the minimum will decrease rapidly when HDL increases in value. This will still offer some level of spam protection.
legendary
Activity: 1470
Merit: 1030
Freetrade,
I wouldn't waste time in discussing a lot of the implementations, the coin is not getting anywhere, whatever you feel like doing, just do it!
It's not worth debates about the definitions of "progress/improving" (I say this with no intention of being disrespectful) for a coin that needs some attention right now!

Actually the discussion has just helped trigger a good improvement to the HIP I think.

I would like you to consider along with the changes that you proposed, a complete re haul of the coin image, I think that we could make the coin much more professional, appealing and interesting, you know that if it pleases the eye, people will respond more to it, even exchanges..

Yes, I think we need a complete branding overhaul. Maybe even a re-name. I think one of the main reasons we stopped gaining momentum was that Bittrex refused to add the coin, citing the brand. I think we need something more corporatey and boring.


I took the liberty of making some sketches, it took me 15 min, so they are not perfect, but you can get an idea...
in my idea, the simple the better...

Tell me what you think.



Thanks, appreciate the effort, but they look a little radioactive to me. I think we can keep the squirrel motif, but need something that looks more like what a bank might come up with.
hero member
Activity: 803
Merit: 501
We got some good discussion going on here very good points made. BTW off the subject I mined 3 blocks some how in like 12:19, 12:22, 12:26 three in just a few mins from each other am i lucky or something wrong?
full member
Activity: 154
Merit: 100
...
Now your point is correct - if we aim for a 1cent transaction fee, then a hodl output worth less than 1 cent is effectively worthless (with some caveats).  I'm happy enough with that - I see the network as a place for 10cent+ transactions. I think other technologies and second layers are more suitable for sub-cent transactions.
...
By my rough calculation, a block of 50 HOdlcoin is only worth about 6 or 7 cents. If you HOdl that block, you must pay between 14-17% at today's HOdl/BTC rates. I think that is overly steep at this stage and more than a bit destructive to the current ecosystem. It will effectively drive out any of today's small time miners. At some point, I do think it could be worth looking at a target fee such as you have proposed, but I do not think that day is today.

...
Is it too soon for another change? No, I think either HODL is improving or its dying.
I believe that depends on your definition of improving. It seems to me that you are attempting to progress HOdlcoin which is not the same as improving it.

To continue with that thought, if I mine with a pool (let's use optiminer's as the example), and my payouts come in 50 HODL each payments, those are worth (at the moment) about 10 cents usd.  Optiminer's pool sends the payment to me, and a 1 cent fee is incurred (which is destroyed).  So that's 1/10th the value of the payment.  I will assume the pool is not likely to be absorbing those costs out of the goodness of their hearts.  So let's say they get passed on to the miners.  Now my payment of 50 HODL has cost me 5 HODL on top of the pool fee (1%, or .5 HODL)  I was already paying which effectively brings the pool fee to 11%.  Who among us wouldn't die laughing if a pool advertised an 11% fee? 

Now I HODL those 50 in the wallet, and another 10% is taken in transaction fees?  So by the time I get paid for mining and get my nuts safely hodled away, I actually get a value of 39.5 HODL out of a block of 50.  21% in fees for every 50 HODL is straight out nuts.  Not to mention the compounded loss when you start talking about interest lost on the coins that are taken up in fees.

So ok, yes, you can mitigate this some by pools upping the minimum payout amount so that the percentage of the total payment that is taken by the 1 cent fee is less, but then the pool is now holding on to my HODL that could be earning interest in my wallet.  Meanwhile, in my wallet, I'm having to mimic the pool's payout scheme when I HODL by waiting until I have a substantial balance to HODL in order to minimize the impact the fee will have as a percentage of my HODL transaction.  And the longer I wait, the more interest I lose out on.  You also put massive pressure on HODL'ers to choose the longer term deposits, because doing short term deposits will cost more in transaction fees (re-hodling every say 30 days to keep your HODL somewhat liquid would cost you the transaction fee 12 times a year instead of 1 with a yr HODL).  And voila, we're back to everyone having to HODL for a year, only now it's not a requirement, it's the only economically sensible thing to do.

If you really want to implement something like this now you need to write it to scale to the current value of a HODL, maybe updating the fee amount once a month (or week, or day, whatever is reasonable).  And right now 1 cent per transaction is highway robbery.
newbie
Activity: 6
Merit: 0
Freetrade,
I wouldn't waste time in discussing a lot of the implementations, the coin is not getting anywhere, whatever you feel like doing, just do it!
It's not worth debates about the definitions of "progress/improving" (I say this with no intention of being disrespectful) for a coin that needs some attention right now!

I would like you to consider along with the changes that you proposed, a complete re haul of the coin image, I think that we could make the coin much more professional, appealing and interesting, you know that if it pleases the eye, people will respond more to it, even exchanges..
I took the liberty of making some sketches, it took me 15 min, so they are not perfect, but you can get an idea...
in my idea, the simple the better...

Tell me what you think.

http://imgur.com/a/D9hXM
hero member
Activity: 578
Merit: 501
...
Now your point is correct - if we aim for a 1cent transaction fee, then a hodl output worth less than 1 cent is effectively worthless (with some caveats).  I'm happy enough with that - I see the network as a place for 10cent+ transactions. I think other technologies and second layers are more suitable for sub-cent transactions.
...
By my rough calculation, a block of 50 HOdlcoin is only worth about 6 or 7 cents. If you HOdl that block, you must pay between 14-17% at today's HOdl/BTC rates. I think that is overly steep at this stage and more than a bit destructive to the current ecosystem. It will effectively drive out any of today's small time miners. At some point, I do think it could be worth looking at a target fee such as you have proposed, but I do not think that day is today.

...
Is it too soon for another change? No, I think either HODL is improving or its dying.
I believe that depends on your definition of improving. It seems to me that you are attempting to progress HOdlcoin which is not the same as improving it.
legendary
Activity: 1470
Merit: 1030
Ok, just wanted to remind everyone of HIP001 - HOdlcoin Improvement Proposal 001

https://medium.com/@freetrade68/hodlcoin-improvement-proposal-001-a802f9948d68

Last chance for suggesting modifications or improvements before I put this to the Nutocracy.
I think the minimum transaction fee algorithm deserves to be discussed in greater detail. It also seems to me that HOdling could become worthless if the fee to HOdl ever becomes greater than the interest earned due to the aforementioned algorithm. I understand why you want to tie i., ii., and iii. to the same HIP, but I think their consequences are farther reaching than you may intend. Not to mention, HOdlcoin is only now starting to recover from the 1 year mandatory HOdl snafu and now you want to implement this HIP.

Good! Discussion is what I want!

Now your point is correct - if we aim for a 1cent transaction fee, then a hodl output worth less than 1 cent is effectively worthless (with some caveats).  I'm happy enough with that - I see the network as a place for 10cent+ transactions. I think other technologies and second layers are more suitable for sub-cent transactions.

Is it too soon for another change? No, I think either HODL is improving or its dying.
hero member
Activity: 578
Merit: 501
Ok, just wanted to remind everyone of HIP001 - HOdlcoin Improvement Proposal 001

https://medium.com/@freetrade68/hodlcoin-improvement-proposal-001-a802f9948d68

Last chance for suggesting modifications or improvements before I put this to the Nutocracy.
I think the minimum transaction fee algorithm deserves to be discussed in greater detail. It also seems to me that HOdling could become worthless if the fee to HOdl ever becomes greater than the interest earned due to the aforementioned algorithm. I understand why you want to tie i., ii., and iii. to the same HIP, but I think their consequences are farther reaching than you may intend. Not to mention, HOdlcoin is only now starting to recover from the 1 year mandatory HOdl snafu and now you want to implement this HIP.
full member
Activity: 195
Merit: 100
fine with me, let's go nuts and vote :-)

Ok, just wanted to remind everyone of HIP001 - HOdlcoin Improvement Proposal 001

https://medium.com/@freetrade68/hodlcoin-improvement-proposal-001-a802f9948d68

Last chance for suggesting modifications or improvements before I put this to the Nutocracy.
Pages:
Jump to: