Search content
Sort by

Showing 10 of 10 results by Sokander
Post
Topic
Board Mining (Altcoins)
Re: Bad feeling about the mining profit of incoming Intel Arc GPU
by
Sokander
on 04/02/2022, 14:51:14 UTC
Intel is the newcomer here and based on those links it doesn't look that promising however to be sure we have to watch them in action,see the hash rate,power consumption and stability of this Arc GPU before jumping to conclusions.In normal conditions when a new competitor wants to enter in a business area he usually brings a better product compared to the competition (if he is serious about his business) and also a bit cheaper just to get the market share.Let's see how Intel will play this game.

True and I do hope they will shake the GPU industry to boost it up, new engineers, new point of view, new vision, technology need that to advance.

Else it's funny how NVIDIA CEO reacted to the announcement of the GPU programming toolkit, he appear to be scared of this competitor  Cool
https://www.pcgamesn.com/nvidia/intel-one-api-jen-hsun-huang
Post
Topic
Board Mining (Altcoins)
Topic OP
I have a bad feeling about Intel arc GPU profit
by
Sokander
on 04/02/2022, 14:06:26 UTC
Bad feeling ye, It could be the same than AMD GPU profit since both of them are using OpenCL to run the mining algo.

Here's how Intel arc GPU will run GPU parallel programming, else I have zero clue how AMD do, I know only CUDA and OneAPI.
https://www.intel.com/content/www/us/en/developer/tools/oneapi/toolkits.html
https://www.intel.com/content/www/us/en/develop/documentation/get-started-with-dpcpp-compiler/top.html
https://www.khronos.org/sycl/

Thus only NVIDIA that use CUDA will still the rule the mining world if it's just a matter of performance between OpenCL and CUDA.
Post
Topic
Board Mining (Altcoins)
Topic OP
The lack of Intel OneAPI among mining software
by
Sokander
on 01/02/2022, 10:47:35 UTC
https://www.intel.com/content/www/us/en/developer/tools/oneapi/overview.html
https://www.intel.com/content/www/us/en/developer/tools/oneapi/dpc-compatibility-tool.html
https://devcloud.intel.com/oneapi/get_started/baseToolkitSamples/prod-category.html

Intel OneAPI is a recent API (2020) for loop parallelization similar as CUDA but since CUDA only work for NVIDIA products, Intel OneAPI is for Intel products (work for Intel CPU/GPU).

Since Intel Arc GPU will come real soon, it's a need to port the actual mining software with OneAPI asap.

That's one of the reason why I decided to understand how to make one but using OneAPI, but I hope that actual miner programmers think about implementing OneAPI in their code since the learning of mining algo programming is a linux difficulty grade Grin

Actually OneAPI use OpenCL specification.
Post
Topic
Board Mining (Altcoins)
Re: C# mining app project
by
Sokander
on 31/01/2022, 13:48:30 UTC
I want to do it in C# because it's my main language I do everything with and I do love WPF  Cool

It's your choice but you'll have to learn c anyway to port the algos to c#. And don't use scrypt, it's
no longer viable for CPU mining. Choose a CPU mineable algo.

Is there a simple algorithm to understand ?

I do not understand what this code is trying to do, what does meet the target means.

Code:
// Reference: https://github.com/replicon/Replicon.Cryptography.SCrypt
public void doScrypt(byte[] Tempdata, byte[] Target, uint Nonce, uint Increment)
{
    double Hashcount = 0;

    byte[] Databyte = new byte[80];
    Array.Copy(Tempdata, 0, Databyte, 0, 76);

    Debug.WriteLine("New thread");
           
    DateTime StartTime = DateTime.Now;

    // Loop until done is set or we meet the target
    while (!done)
    {
        Databyte[76] = (byte)(Nonce >> 0);
        Databyte[77] = (byte)(Nonce >> 8);
        Databyte[78] = (byte)(Nonce >> 16);
        Databyte[79] = (byte)(Nonce >> 24);

        var ScryptResult = Replicon.Cryptography.SCrypt.SCrypt.DeriveKey(Databyte, Databyte, 1024, 1, 1, 32);

        Hashcount++;

        if (meetsTarget(ScryptResult, Target))  // Did we meet the target?
        {
            if (!done)
            {
                FinalNonce = Nonce;
            }

            done = true;

            break;
        }
        else
        {
            Nonce += Increment; // If not, increment the nonce and try again
        }
    }

    double Elapsedtime = (DateTime.Now - StartTime).TotalMilliseconds;
    Console.WriteLine("Thread finished - {0:0} hashes in {1:0.00} ms. Speed: {2:0.00} kHash/s", Hashcount, Elapsedtime, Hashcount / Elapsedtime);
}
Post
Topic
Board Mining (Altcoins)
Re: Solar panel config for 24x 3060ti
by
Sokander
on 30/01/2022, 22:09:01 UTC
I plan to use green energy too but with wind turbine, solar panel is good but the price per kw produced is too high, between 1-2 euro while the wind turbine is 0.30-1 euro the kw.
Post
Topic
Board Mining (Altcoins)
Re: C# mining app project
by
Sokander
on 30/01/2022, 19:07:48 UTC
That program can only mine scrypt and uses a library for the POW code so you can't see it. The only thing you can
learn from it is how to do stratum with C#. The heart of any miner is the POW algorithm and there are hundreds
of different ones.

If this is about learning C# there are better ways, if it's about learning mining SW there are also better ways.
Don't try to do both. All good mining SW is written in c/c++, there's no benefit rewriting everything in C#.

I want to do it in C# because it's main language I do everything with.

Indeed, I have hit a function that target the dll that come with the source, annoying yes, thus I will try to merge https://github.com/lithander/Minimal-Bitcoin-Miner that do not rely on third party dll with DotNetStratumMiner
Post
Topic
Board Development & Technical Discussion
Re: C# mining app project
by
Sokander
on 30/01/2022, 15:46:12 UTC
Finally I found a mining pool that is accepting the mining software https://github.com/ma261065/DotNetStratumMiner, it's https://doge.mininghub.eu/index.php  Cool Cool
Post
Topic
Board Development & Technical Discussion
Re: C# mining app project
by
Sokander
on 30/01/2022, 12:18:16 UTC
Aight, I forgot bitcoin and seek for altcoins https://coinwut.com/mining-pool-single-gpu/
And I will ask a mod to migrate to altcoin section.

Else I am reading about https://en.bitcoinwiki.org/wiki/Stratum_mining_protocol actually, there is such stuff in the source code I am reading.
Post
Topic
Board Development & Technical Discussion
Re: C# mining app project
by
Sokander
on 30/01/2022, 10:05:07 UTC
they do show no Hash rate after I run the miner (I have like 3 Khash).
Bitcoin's total hashrate is currently around 180 EHS (that is 1018), so your 3*103h/s is so little in comparison that the pools you connect to consider it to be nothing.

I see and it's confirming a reaction I had telling those mining pools are for ASIC, not GPU nor CPU, so is there any mining pools that is fit for GPU/CPU hash power ?
Post
Topic
Board Development & Technical Discussion
Merits 1 from 1 user
Topic OP
C# mining app project
by
Sokander
on 30/01/2022, 09:33:06 UTC
⭐ Merited by Welsh (1)
Hello,

I would like to start programming for mining app but clearly have no idea how to start it, so I am searching current open source miner.

Do you know if https://github.com/ma261065/DotNetStratumMiner is working, else with what pools, I have tried a number of pool but it seems it's not working

https://trustpool.cc/
https://aikapool.com/doge/
https://www.viabtc.com/

Is this miner not compatible with those pools or I am missing something.