[XMR] JCE Miner Cryptonight / forks, теперь с GPU!

Тема в разделе "Программы", создана пользователем MikhaiWes, 13 сен 2018.

  1. MikhaiWes

    MikhaiWes новичок



    JCE Cryptonote CPU+GPU Miner

    Welcome to the Fastest Cryptonote CPU Miner ever! Now with GPU!


    Github page: https://github.com/JCEeminer/JCEminer/blob/master/JCE.rar

    Recent history

    0.32m GPU and CPU
    Код:
    Quote
    Backport of GPU version fixes to CPU version
    Native support of B2N and MOX/Red
    Bitcedi coin updated to Citadel
    Slightly longer connection timeout
    --probe can be mixed with --bus-order
    --any is now automatic
    0.32k GPU
    Код:
    Quote
    Relaxed netcode restrictions
    Fixed hash counter display
    Updated documentation
    0.32j GPU
    Код:
    Quote
    Lag timer when a share is accepted/rejected by the pool
    The yellow hashrate is now called "net hashrate" to avoid ambiguity.
    New coin: Veronite
    New param: --bus-order to order GPUs by bus-id.
    Fixed Vega detection
    Reconnection counter in report and JSON
    0.32h GPU
    Код:
    Quote
    More coins
    Better GPU log
    Reworked warmup

    0.32g CPU
    Код:
    Quote
    Netcode fixes

    0.32b GPU
    Код:
    Quote
    Light change on CN-Heavy

    0.32 GPU
    Код:
    Quote
    Very experimental version
    Ultra-fast start
    fixed RX550 performance (to be confirmed)

    0.31f GPU
    Код:
    Quote
    Light Vega performance increase
    Fork status:
    Code:
    Код:
    XTL fork supported, now enabled by default
    MKT for support enabled by default
    ETN forked to a slightly modified CN-v7, supported and enabled by default on 0.29b and later
    ITA defaults to CN-Heavy starting from 0.29b
    Elya and Citadel defaults to CN-v7
    Niobio and Bloc defaults to CN-Heavy
    MSR (CN-Fast) fork supported, enabled by default
    Haven fork supported, enabled by default
    TUBE v2 fork supported starting from 0.31a, enabled by default
    Sumokoin rolled back to CN-Classic
    B2N natively supported starting from 0.32m, on old JCE version, use: --any --variation 9
    MOX/Red is supported starting from 0.32m
    Is that a Virus? No!

    Like all miners, JCE gets detected as a virus by most Antiviruses, including Windows Defender. But it's not. Read more about Privacy and Security below.

    Is it just yet-another fork of a common miner? No!

    You're not losing your time testing a made-up rip of a common miner, JCE is brand new, using 100% new code.

    Are the new Monero-V7, Cryptolight-V7, Cryptonight-Heavy, IPBC/Bittube, Alloy, Arto, MKT, B2N, Red, Fast/Masari, Haven and XTL forks supported? Yes!

    The --variation parameter let you choose the fork. More details below.

    Speed

    In short, JCE is:

    • Crazy fast on non-AES 64-bits, usually 35-40% faster than other miners
    • Compared to other 32-bits miners, still faster on non-AES 32-bits, sometimes beating even the other miners 64-bits versions
    • And still faster on non-AES 32-bits Cryptonight-Heavy, with usually +50% speed.
    • Barely faster than the other best on AES 64-bits, beating them by ~1%, +2.8% on V7 fork, +4% on Cryptonight-Heavy
    • Also a lot faster on AES 32-bits, but it's a rare case (mostly seen on Intel Atom tablets)

    Here's a benchmark against three other common miners.
    The test is fair: run on the exact same Win10 Pro computer, all Huge Pages enabled, no background task, best configuration.

    • XMRStak means: the released Unified binary from github (not recompiled myself)
    • XMRig means: the respective best released binary gcc (32-bits) and msvc (64-bits) from github (not recompiled myself)
    • Claymore means: best Claymore CPU (3.4 for 32-bits, 3.9 for 64-bits)
    • When not supported, score is zero, if not tested yet, score is ?
    • Fees are included in the score

    Core2 Quad 2.666 GHz 12M, 4 threads, 64-bits, Cryptonight
    JCE XMRStak XMRig Claymore
    116 80 85 57

    Core2 Quad 2.666 GHz 12M, 4 threads, 32-bits, Cryptonight
    JCE XMRStak XMRig Claymore
    93 0 68 50

    Ryzen 1600, 8 threads, 64-bits, Cryptonight
    JCE XMRStak XMRig Claymore
    506 502 502 443

    Ryzen 1600, 8 threads, 32-bits, Cryptonight
    JCE XMRStak XMRig Claymore
    434 0 327 275

    Ryzen 1600, 8 threads, 64-bits, Cryptonight V7
    JCE XMRStak XMRig Claymore
    503 492 491 ?

    Ryzen 1600, 8 threads, 32-bits, Cryptonight V7
    JCE XMRStak XMRig Claymore
    424 0 320 ?

    Core2 Quad 2.666 GHz 12M, 4 threads, 64-bits, Cryptonight Heavy
    JCE XMRStak XMRig Claymore
    50 33 36 0

    Ryzen 1600, 4 threads, 64-bits, Cryptonight Heavy
    JCE XMRStak XMRig Claymore
    252 169 250 0

    Ryzen 1600, 4 threads, 32-bits, Cryptonight Heavy
    JCE XMRStak XMRig Claymore
    191 0 174 0

    Third Party integration

    If you're a Mining Tool dev (like Forager or Awsome Miner...) and want to integrate JCE, here's a good command to spawn JCE. Most parameters are similar to other common miners.

    Code:
    Код:
    jce_cn_cpu_miner64 --auto --any --forever --variation FORK --low -o POOL:PORT -u WALLET -p PASSWORD --mport MONITOR SSL
    And replace:

    FORK by the Fork number, see list below, or set 0 for automatic
    POOL:pORT by the pool address (name or IP):(port), e.g. pool.minexmr.com:4444
    WALLET by the miner wallet
    PASSWORD by the miner password
    MONITOR by the local HTTP monitor server port
    SSL by either nothing, or "--ssl" if SSL is to be used

    To monitor the miner, read http (not https!) at localhost:MONITOR and you'll get some simple JSON like

    Code:
    Код:
    {
    "hashrate":
    {
       "thread_0": 13.75,
       "thread_1": 18.29,
       "thread_2": 21.19,
       "thread_3": 18.85,
       "thread_all": [13.75, 18.29, 21.19, 2.71, 18.85],
       "total": 72.06
    },
    "result":
    {
        "pool": "pool.minexmr.com:4444",
        "ssl": false,
        "currency": "Monero (XMR/XMV/XMC/XMO)",
        "difficulty": 23684,
        "shares": 5,
        "hashes": 84473,
        "uptime": "0:08:28",
        "effective": 166.29
    Quite self-explanatory,
    "effective" is the net effective hashrate, fees, outdated and invalid shares deduced,
    "total" is the instant physical hashrate

    XMRStak mode

    If your mining tool does not support JCE yet, you can get a XMR-Stak compatible json by adding parameter --stakjson
    In such case, the JSON will be like:


    Code:
    Код:
    {"version":"jce/0.27c/cpu","hashrate":{"threads":[[28.0,28.0,28.0],[25.7,25.7,25.7],[26.3,26.3,26.3],[26.5,26.5,26.5]],"total":[106.5,106.5,106
    Getting started

    If you're new at mining Cryptonight, here's the simplest way:

    • Choose the coin to mine, see the list below. The most common is Monero.
    • Get a wallet, that's a ~95 character long identifier. If you don't have one yet, you can create it here
    • Choose a pool to mine on, and its port. For example Pool pool.minexmr.com and port 4444
    • Edit the start.bat that's shipped in the .zip
    • * Change the example POOL by yours
    • * Change the example PORT by yours
    • * Change the example WALLET by yours
    • * You can leave the default password x
    • (Optional) If your coin is exotic, maybe you also need to change FORK=0 to another number. See the list in the start.bat
    • Run start.bat


    Basic topics

    Q. Is it free (as in beer, as in freedom)?
    No and no. It has fees, and is not open source. But the program itself is free to distribute.

    Q. How much cost the fees?
    Current fees are:

    3.0% when using at least one mining thread with non-AES architecture, or 32-bits
    1.5% when using only 64-bits AES architecture
    0.9% when using GPU

    The fees are twice higher in non-AES mode and/or 32-bits because JCE offers a huge performance gain here.

    Q. Can I avoid fees?
    Not really. I plan to offer a paying per-licence-no-fee (pay-once-for-all) version, but it's a lot more complicated to set up than a fee-based miner.
    Also, JCE never takes any fee during the first minute, so if you run it, and kill it after one minute, and repeat again and again, then you'll never pay any fee, but JCE takes a few seconds to start, and your Pool probably won't let your reconnect continuously.

    Q. Will it work on my computer?
    Minimum is Windows Vista 32-bits, or Linux, with a SSE2 capable CPU. 64-bits is faster, prefer it.
    For best performance, Large Pages must be enabled, JCE will try to auto-configure them, but it may work or not depending on your Windows version and security configuration.

    Q. What currency can I mine? On which pools?
    You can mine any coin on any pool.
    If your coin is listed, all is automatic.
    Run the miner with --coins parameter to get the up-to-date list. Current list is:
    Aeon (AEON)
    Alloy (XAO)
    ArQmA (ARQ)
    ArtoCash (RTO)
    B2BCoin (B2B)
    Bitcoin2network (B2N)
    BBSCoin (BBS)
    Bitcoal (COAL)
    BitcoiNote (BTCN)
    Bitsum (BSM)
    Bloc (BLOC)
    BitTube (TUBE)
    BlueberriesCoin (BBC)
    Bytecoin (BCN)
    Citadel (CTL)
    Crepcoin (CREP)
    Dero (DERO)
    Dinastycoin (DCY)
    Electronic Dollar (EDL)
    Electroneum (ETN)
    Elya (ELYA)
    Fonero (FNO)
    FreelaBit (FBF)
    Gadcoin (GAD)
    Graft (GRFT)
    Haven (XHV)
    Intense (ITNS)
    Iridium (IRD)
    Italo (ITA)
    Karbowanec (KRB)
    Leviarcoin (XLC)
    Lines (LNS)
    Loki (LOK)
    MarketCash (MKT)
    Masari (MSR)
    Minergate
    MiningPoolHub
    MiningRigRentals
    Monero (XMR/XMV)
    Mox (MOX)
    Nicehash
    Niobio (NBR)
    Ombre (OMB)
    Pluracoin (PLURA)
    PrivatePay (XPP)
    Qwertycoin (QWC)
    Saronite (XRN)
    Solace (SOL)
    Stellite (XTL)
    Sumokoin (SUMO)
    SuperiorCoin (SUP)
    Suprnova
    Triton (TRIT)
    Truckcoin (TRKC)
    Turtlecoin (TRTL)
    UltraNote (XUN)
    Veronite (XVV)
    Wownero (WOW)
    X-Cash (XCA)
    zBucks (ZBK)


    Otherwise, if your coin is not listed, or your wallet not recognized, use the --any parameter, plus the --variation N parameter, with N the fork number, see list below. The fork detection is automatic on known coins, but manual on unknown coins. The coin list is periodically updated.

    Q. Is Nicehash supported?
    Yes, see list above. The Nicehash-specific Nonce is then automatically enabled.

    Q. Is SSL supported?
    Yes, with parameter --ssl

    Q. I get only bad shares, what happens?
    Your coin has probably forked. Add --variation N parameter, with N as listed below, until you find the one that works.

    Q. What if my wallet is not recognized, or as a different coin?
    Some coins use a wallet syntax so close that they're hard to differenciate, like Lines and Loki. If JCE fails to detect the coin, force it with --any --variation N (with N as listed below) and let the miner run. It will still display the wrong coin but mine the good one. And of course proof-check pool side that you correctly get the shares.

    Q. Is there a HTTP server to monitor the miner?
    Modern pools provide all you need to monitor your miners (average hashrate, worker-id...). Monitoring is now a pool's job. Still, a minimal HTTP Json server is available with parameter --mport P (P the port number) to ease integration of JCE into mining tools, but not intended for human reading. Forager was the first tool to integrate JCE, take a look!
    For more compatibility, with extra parameter --stakjson, the JSON will be in XMR-Stak format.

    Advanced topics

    Q. Are there requirements or dependencies?
    No. JCE is just a big standalone executable.

    Q. Is there a Linux version?
    Yes, starting from version 0.29

    Q. Is there a GPU version?
    Yes, starting from version 0.30

    Q. Is there a 32-bits version?
    Yes, both 32 and 64 are always in the same release, for both Linux and Windows.

    Q. How many threads can I setup?
    Maximum is 256 threads on 256 CPUs.

    Q. Do I get a discount on fees if I use SSL?
    I'm not Claymore.

    Q. What is that value logged when I find a share?
    The amount of hashes your pool will credit you. This is not the amount of crypto-coins.

    Q. How is developed JCE?
    The network and stratum handling is C++14, and the mining algos are assembly (to be precise, GNU Extended Assembly). Hence the speed increase.

    Q. Can I plug it to a stratum proxy?
    No, it must mine on a real pool on Internet.

    Q. Is it really new? It looks familiar to me...
    Yes it is. But it reuses, on purpose, some de-facto conventions from other common miners, like a XMRStak-style cpu configuration, and the colors of Claymore (green=share, red=error, blue=hashrate, yellow=status).

    Q. How is the hashrate calculated?
    That's the average speed of the last 512 hashes (not shares found, computed hashes), rounded at 0.01. And it's fair, the displayed number has no tweak, and includes the fees. The total is first summed from exact per-thread values, then rounded (said differently, it's a rounded sum, not sum of rounded).

    Q. Can I get a long-time speed average?
    Better look at your pool's reports, but JCE also gives the average effective net hashrate when pressing R. It's usually slightly lower than the physical hashrate because of outdated shares and fees.

    Q. Can I do multi-pool auto-switch in case of failure? Or periodically?
    Not directly, but the -q and/or the --autoclose parameters, with the help of a simple .bat, can do the job. The .zip comes with an example, open and edit it to match your needs.

    Q. What if the Architecture codename is wrong (e.g. my CoffeLake is detected as Core2)?
    It may be because of an option in your BIOS Max CPUID or the microcode is not up-to-date. However the codename displayed is mostly cosmetical and JCE will still choose the good assembly based on your CPU instruction set. If a normally available instruction set is missing (e.g. your Westmere has no AES) again, that's to be unlocked in your BIOS.

    Q. Can I mix architectures when mining (i.e. thread 1 uses core2, thread 2 uses pentium4)?
    It sounds strange, but yes. However, that's mostly useful for tests.

    Q. Can I mix coins when mining (i.e. thread 1 mines XMR, thread 2 mines ETN)?
    No.

    Q. Can I mix simple-hash and multi-hash?
    Yes, and it's a very common case when mining TurtleCoin or Aeon.

    Q. Why doesn't the miner use all my cores?
    The limiting factor is both the cores and the cache. But while some old CPUs had a core limit (Core2-Quad had 8M or 12M of cache for only 4 cores) recent CPU are more often limited by the cache, that's why the best configuration is rarely to enable all possible cores. Unused cores should stay unused or may mine as uncached, see below.

    Q. What is "use_cache":false useful for?
    The no-cache mode means the cache is mostly bypassed, depending on your hardware. When using a lot of cache but few cores (typically when mining Cryptonight-Heavy) assigning unused physical cores to no-cache mining can give you a few extra h/s for free. However mixing cache and no-cache of logical CPUs of the same physical core causes terrible performance.

    Q. What a great job! Can I make a donation?
    Thanks bro. You can, with the --donate parameter which raise the fees to 80%, or by sending coins to the donation wallet (the one in the start.bat file included).

    Cryptonight Forks

    All current forks are supported:
    N=0 Automatic
    N=1 Original Cryptonight
    N=2 Original Cryptolight
    N=3 Cryptonight V7 fork of April-2018
    N=4 Cryptolight V7 fork of April-2018
    N=5 Cryptonight-Heavy
    N=6 Cryptolight-IPBC
    N=7 Cryptonight-XTL
    N=8 Cryptonight-Alloy
    N=9 Cryptonight-MKT/B2N
    N=10 Cryptonight-ArtoCash
    N=11 Cryptonight-Fast (Masari)
    N=12 Cryptonight-Haven
    N=13 Cryptonight-Bittube v2
    N=14 Cryptolight-Red


    The current Automatic mode behaves the old way on alt-coins:
    Monero, Monero-V, Wownero, Graft, Elya and Intense are now Cryptonight V7,
    SuperiorCoin, BBSCoin, Citadel, Electroneum and Lines are Cryptonight V7 too,
    Loki, Ombre, Italo, Bloc, Niobio, Saronite are now Cryptonight-Heavy,
    Sumokoin is back to Cryptonight-Classic
    Aeon and TurtleCoin are now Cryptolight-v7
    Bittube has is own Cryptolight-Bittube
    Stellite has is own Cryptonight-XTL
    Alloy has is own Cryptonight-Alloy
    MarketCash and B2N have their own Cryptonight-MKT/B2N
    ArtoCash has is own Cryptonight-Arto
    Masari has is own Cryptonight-Masari
    Haven has is own Cryptonight-Haven
    MOX has is own Cryptolight-Red
    Pools (Nicehash, MiningRigRentals...) default to Cryptonight V7
    Everything else is still assumed Cryptonight-Classic

    More will be updated as more coins forks.

    To use the new forks right now, set the --variation N parameter, with N as stated above.
    If you mine an unlisted coin with --any, you have to provide the --variation parameter with N>=1, otherwise JCE cannot choose the good fork.

    Configuration

    Almost everything is configured with command-line parameters. The config file is for cpu fine tuning only. See the embedded .bat for an example.
    Mandatory parameters are:

    -u the Wallet/Login
    -p the password ("x" usually works)
    -o the pool:port
    --auto or -c for CPU configuration

    Important extra parameters are:

    --ssl if you use SSL
    --low not to freeze your PC if you mine with all cores
    --variation to use one of the new Cryptonight forks

    Type --help to get the complete list.

    Super Easy CPU configuration

    Use --auto and you're good.

    Normal Easy CPU configuration

    Use --auto with:

    --archi to set the CPU architecture (if you force SSE4 or AES on a CPU with no support, it will crash).
    and/or -t to set the number of threads.

    The list of architectures is in the config.example.txt file in the Zip.

    Advanced CPU configuration

    Use -c
    See the config.example.txt file in the Zip for details.

    Dual-thread mining

    This is an exclusive feature of JCE!
    It is not like the double-hash found on Stak, with one thread on two hashes. That's two threads on two hashes, but sharing the cache and the Huge Page, for CPUs with very low cache.
    The principle is closer to Claymore Dual: use the smooth parts of the Cryptonight algo to let another thread use the cache and memory, then take it back. It allows the main thread to run at ~90% and the side thread at ~25%, totaling a speed increase of ~15%.
    However, if this mode is powerful, it offers a gain only on some rare, old CPU:

    • With no hardware AES (hardware AES is so fast that the master thread has no time to share)
    • Not using Cryptonight-Heavy (it's so... heavy that the master thread has no resource to share)
    • With low cache but decent compute power (read: no Atom or antique P4)

    Remains some entry-level Core2, Athlons and Celeron/Pentium.
    See the example config file config.example.txt in the .zip for details.

    Multi-hash

    This is what some other miners call low-power mode. It's about using the same CPU to mine several hashes at the same time, using several time the amount of memory and cache. Triple hash for Monero involves 3x2=6M cache and memory per CPU for example.
    JCE allows fine-tuning of what mode is used on what CPU, mixing is possible, and often desirable. Autoconfig may enable multi-hash in some cases, but it's mostly used with manual config with -c parameter. Here's an example:
    Code:


    Код:
    "cpu_threads_conf" :
    [
        { "cpu_architecture" : "auto", "affine_to_cpu" : 0, "use_cache" : true, "multi_hash":2 },
        { "cpu_architecture" : "auto", "affine_to_cpu" : 1, "use_cache" : true, "multi_hash":1 },
        { "cpu_architecture" : "auto", "affine_to_cpu" : 2, "use_cache" : true, "multi_hash":1 },
        { "cpu_architecture" : "auto", "affine_to_cpu" : 3, "use_cache" : true, "multi_hash":1 },
        { "cpu_architecture" : "auto", "affine_to_cpu" : 4, "use_cache" : true, "multi_hash":1 },
        { "cpu_architecture" : "auto", "affine_to_cpu" : 5, "use_cache" : true, "multi_hash":1 },
        { "cpu_architecture" : "auto", "affine_to_cpu" : 6, "use_cache" : true, "multi_hash":2 },
        { "cpu_architecture" : "auto", "affine_to_cpu" : 7, "use_cache" : true, "multi_hash":1 },
        { "cpu_architecture" : "auto", "affine_to_cpu" : 8, "use_cache" : true, "multi_hash":1 },
        { "cpu_architecture" : "auto", "affine_to_cpu" : 9, "use_cache" : true, "multi_hash":1 },
        { "cpu_architecture" : "auto", "affine_to_cpu" :10, "use_cache" : true, "multi_hash":1 },
        { "cpu_architecture" : "auto", "affine_to_cpu" :11, "use_cache" : true, "multi_hash":1 },
    
    This is the best configuration to mine Cryptolight, TurtleCoin or IPBC on a Ryzen 1600/1600X (12 logical CPUs, 16M cache).
    By using simple hash, the 12 core would have used 12M cache, because that algo requires 1M per thread. The unused 4M can be involved into mining by turning some thread to double-hash (this is: "multi_hash":2). Curiously, Using 4 double-threads to use the whole 16M cache offers less performance, the best is 10 simple, and 2 double. It may worth to test for your specific CPU, all CPU tend to have a different optimal configuration.

    The value of "multi_hash" goes from 1 (default) to 6.

    No-cache mode

    Another exclusive feature of JCE! (available only in Windows version)
    This is the reciprocal of multi-hash: for cases when your have wasted CPU cores, typically when mining Cryptonight Heavy. If you have a Ryzen 1700, 8 physical cores, 16 logical CPUs, 16M cache, the naive configuration would be 4 threads on 4 cores, 4M cache each, total 16M.

    Code:
    Код:
    "cpu_threads_conf" : 
    [ 
        { "cpu_architecture" : "ryzen", "affine_to_cpu" :  1, "use_cache" : true },
        { "cpu_architecture" : "ryzen", "affine_to_cpu" :  5, "use_cache" : true },
        { "cpu_architecture" : "ryzen", "affine_to_cpu" :  9, "use_cache" : true },
        { "cpu_architecture" : "ryzen", "affine_to_cpu" : 13, "use_cache" : true },
    ]
    But 8 logical CPUs would be unused. Enabling them would flood the cache and lead to worse performance. What to do is making them mine, but with no cache, direct to memory. They will mine slowly, but won't disturb other threads, and add some performance for free.

    Code:
    Код:
    "cpu_threads_conf" : 
    [ 
        { "cpu_architecture" : "ryzen", "affine_to_cpu" : 1, "use_cache" : true },
       
        { "cpu_architecture" : "ryzen", "affine_to_cpu" : 2, "use_cache" : false },
        { "cpu_architecture" : "ryzen", "affine_to_cpu" : 3, "use_cache" : false },
        { "cpu_architecture" : "ryzen", "affine_to_cpu" : 5, "use_cache" : true },
        { "cpu_architecture" : "ryzen", "affine_to_cpu" : 6, "use_cache" : false },
        { "cpu_architecture" : "ryzen", "affine_to_cpu" : 7, "use_cache" : false },
        { "cpu_architecture" : "ryzen", "affine_to_cpu" : 9, "use_cache" : true },
        { "cpu_architecture" : "ryzen", "affine_to_cpu" : 10, "use_cache" : false },
        { "cpu_architecture" : "ryzen", "affine_to_cpu" : 11, "use_cache" : false },
        { "cpu_architecture" : "ryzen", "affine_to_cpu" : 13, "use_cache" : true },
        { "cpu_architecture" : "ryzen", "affine_to_cpu" : 14, "use_cache" : false },   
        { "cpu_architecture" : "ryzen", "affine_to_cpu" : 15, "use_cache" : false },   
    Large Pages

    Large Pages, also called Huge Pages (Linux) or Locked Pages (Windows) is an hardware feature which allow a x86 CPU to access small portions of dedicated memory faster. It's however disabled by default on both Linux and Windows.
    The Windows version of JCE will try to enable them, and it will probably succeed when running as admin (parameter --elevate) on a Windows 10 Pro. On other versions, it may depend on your Windows configuration. On Linux, it has to be enabled manually.

    Guide for Linux
    Guide for Windows
    Another guide for Windows
    Yet another guide for Windows

    JCE uses the Large Pages the same way as any other miner, so if you already configured Large Pages for XMrig, XMRStak or any other, so it will work fine with JCE too.
    JCE logs all Large Pages allocations at startup, and cleanly free them at close. If it fails to enable/allocate Large Pages, it will fallback to normal memory, which is 10% slower.

    Privacy and Security

    Q. Is it a virus?
    No. There's no malicious code at all, but since the source code is closed, I cannot prove it. The best I can do is to give a complete list of what the program does and doesn't.

    Q. So, what does it do or not?
    It does:
    • Read the configuration file, if asked to (parameter -c)
    • Scan your CPU and cache to autoconfigure and/or check the manual configuration
    • Connect to pools on Internet to mine
    • Write the log, if asked to (parameter --log)
    • Try to autoconfigure the Huge Pages privileges if they're not working at first. That's the only intrusive action, but when it does it, it says so.

    It doesn't:
    • Write anything to your computer, except its own log, when enabled (default is disabled)
    • Send any information, to me nor anywhere else
    • Identify your computer or miner instance, not even using a hash
    • Punch through your firewall: you have to open it manually if needed

    Q. I see the JCE process punching the attrib command, what is it doing?
    JCE does never run attrib, nor any other command, but it disguises its mining process into a attrib to avoid being detected and erased by antiviruses. Again, JCE does nothing malicious, and like all other miners it's detected as a virus so I've to do such a trick. That's the normal behavior of the 64-bits version. I never had the 32-bits detected, so I don't use that trick with it.

    Q. Why is the binary so big?
    Because it includes all combinations of implementations for all CPUs, all variations, and all Multi-hashes. And with or without Dual-Thread. And with or without Cache. That's literally hundreds of assembly codes.
    In a lesser extent, it's a standalone executable with the HTTP micro server and SSL support embedded, which makes it still bigger.