Skip to content

Commit

Permalink
v40.0
Browse files Browse the repository at this point in the history
  • Loading branch information
nebutech-admin committed Nov 23, 2021
1 parent cedce86 commit a7f9f32
Show file tree
Hide file tree
Showing 2 changed files with 174 additions and 872 deletions.
253 changes: 174 additions & 79 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,34 +10,26 @@ GPU Miner for `ETH`, `RVN`, `BEAM`, `CFX`, `ZIL`, `ERGO`, `AE`

Be aware when you download NBMiner binaries from other sources.

## 中文说明

[查看中文说明](/readme_zh.md)

## Contact Us

- Email: nebutech@hotmail.com
- Discord: https://discord.gg/ZMejVXj
- BitcoinTalk: https://bitcointalk.org/index.php?topic=5099379
- [Discord](https://discord.gg/ZMejVXj)
- [BitcoinTalk](https://bitcointalk.org/index.php?topic=5099379)

## Download

[Download here](https://github.com/NebuTech/NBMiner/releases)

## Performance (stock settings)
| version | Windows | Linux |
| ------- | ------------------------------------------------------------ | ------------------------------------------------------------ |
| 40.0 | [NBMiner_40.0_Win.zip](https://dl.nbminer.com/NBMiner_40.0_Win.zip) | [NBMiner_40.0_Linux.tgz](https://dl.nbminer.com/NBMiner_40.0_Linux.tgz) |
| 39.7 | [NBMiner_39.7_Win.zip](https://dl.nbminer.com/NBMiner_39.7_Win.zip) | [NBMiner_39.7_Linux.tgz](https://dl.nbminer.com/NBMiner_39.7_Linux.tgz) |
| 39.6 | [NBMiner_39.6_Win.zip](https://dl.nbminer.com/NBMiner_39.6_Win.zip) | [NBMiner_39.6_Linux.tgz](https://dl.nbminer.com/NBMiner_39.6_Linux.tgz) |

| Algorithm | COIN | P106-100 | P104-8G | 1070ti | 1080ti | 2080 | RX580 2048sp |
| :--------------- | :-----: | :--------: | :--------: | :--------: | :------: | :------: | :----------: |
| ethash | ETH | 21.2M | 34.5M | 26.9M | 46M | 35.5M | 24M |
| cuckoo_ae | AE | 3.35 | 5.5 | 5.15 | 7.9 | 8.75 | X |
| kawpow | RVN | 10.3M | 17.5M | 13.3M | 22.5M | 25.8M | 11M |
| beamv3 | BEAM | 12.5 | 19.6 | 19.5 | 26 | 30.5 | X |
| octopus | CFX | 5.5M | 8.5M | 9.8M | 14.8M | 48.5M | X |
| ergo | ERGO | 42M | 68M | 53M | 64M | 74M | 64M(eth bios) |
- Download older versions from [github releases](https://github.com/NebuTech/NBMiner/releases)

## Features

* Support Windows & Linux.
* Nvidia LHR GPU ethash partial unlock.
* Support backup mining pool configuration.
* Support SSL connection to mining pools.
* Dev Fee:
Expand Down Expand Up @@ -118,43 +110,114 @@ Be aware when you download NBMiner binaries from other sources.
**nbminer -a algo -o protocol+socket_type://pool_host:pool_port -u wallet_address.worker -p passwd**

* -h, --help Displays this help.

* -v, --version Displays version information.

* -c, --config \<config file path> Use json format config file rather than cmd line options.

* --generate-config \<filename> Generate a sample config json file.

* -a, --algo \<algo> Select mining algorithm

* --api \<host:port> The endpoint for serving REST API.

* -o, --url \<url> Mining pool url.

* -u, --user \<user> User used in Mining pool, wallet address or username.

* -o1, --url1 \<url> url for backup mining pool 1.

* -u1, --user1 \<user> username for backup mining pool 1.

* -o2, --url2 \<url> url for backup mining pool 2.

* -u2, --user2 \<user> username for backup mining pool 2.

* -p, --password \<password> password for mining pool

* -p1, --password1 \<password> password for backup mining pool1

* -p2, --password2 \<password> password for backup mining pool2

* -d, --devices \<devices> Specify GPU list to use. Format: "-d 0,1,2,3" to use first 4 GPU.

* -i, --intensity \<intensities> Comma-separated list of intensities (1 -100).

* --strict-ssl Check validity of certificate when use SSL connection.

* --proxy Socks5 proxy used to eastablish connection with pool, E.g. 127.0.0.1:1080

* --cuckoo-intensity \<intensity> Set intensity of cuckoo, cuckaroo, cuckatoo, [1, 12]. Smaller value means higher CPU usage to gain more hashrate. Set to 0 means autumatically adapt. Default: 0.

* --temperature-limit, --tl \<temp-limit> Set temperature limit of GPU, if exceeds, stop GPU.

* --temperature-start, --ts \<temp-start> Set cool-down temperature target if GPU is stopped by `temperature-limit`, default to \<temp-limit> - 5.

* --log Generate log file named `logs/log_<timestamp>.txt`.

* --log-file \<filename> Generate custom log file. Note: This option will override `--log`.
* --no-nvml Do not query cuda device health status.
* --fidelity-timeframe \<timeframe> Set timeframe for the calculation of fidelity, unit in hour. Default: 24.
* --long-format Use 'yyyy-MM-dd HH:mm:ss,zzz' for log time format.

* --log-no-job Set this option to disable 'New job' info in console and log file.

* --log-cycle \<cycle> Set to change the cycle of Summary table show in console and log, in seconds, defaults to 30.

* --no-health Do not query device health status. (Do not set if use LHR gpu)

* --no-color Do not use colorful output log in cmd line.

* --long-format Use 'yyMMdd HH:mm:ss,zzz' for log time format.

* --verbose Print communication data between miner and pool in log file.

* --device-info Print device cuda information.
* --fee \<fee> Change devfee in percentage, [0-5]. Set to '0' to turn off devfee with lower hashrate. Otherwise, devfee = max(set_value, def_value).
* --generate-config \<filename> Generate a sample config json file.

* --device-info-json Print out detailed information for every device in json format.

* --fee \<fee> Change devfee in percentage, [0-5]. Set to '0' to turn off devfee with lower hashrate. Otherwise, devfee = max(set_value, default_value).

* --no-watchdog Disable watchdog process.

* --platform \<platform> Choose platform,0: NVIDIA+AMD (default), 1: NVIDIA only, 2: AMD only

* --share-check \<value> If \<value> minutes without share, reboot miner, set 0 to disable. Default: 30

* --no-interrupt set this option will disable miner interrupting current GPU jobs when a new job coming from pool, will cause less power supply issue, but might lead to a bit higher stale ratio and reject shares.

* --enable-igpu AMD igpu is disabled by default, set this option to enable.
* **--mt, --memory-tweak \<mode> Memory timings optimize for Nvidia GDDR5 & GDDR5X gpus. range [1-6]. Higher value equals higher hashrate. Individual value can be set via comma seperated list. Power limit may need to be tuned up to get more hashrate. Higher reject share ratio can happen if mining rig hits high temperature, set lower value of `-mt` can reduce reject ratio. Under windows, a custom driver need to be installed when using `-mt`, can installed manually by option `--driver`, or run nbminer.exe with admin privilege to perform auto-install. Under linux, admin priviledge is needed to run, `sudo ./nbminer -mt x`. `OhGodAnETHlargementPill` is not needed anymore if `-mt` is enabled when mining on 1080 & 1080ti GPUs.**
* **--driver \<action> Windows only option, install / uninstall driver for `memory tweak`. Run with admin priviledge. install: `nbminer.exe --driver install`, uninstall: `nbminer.exe --driver uninstall`. **
* **-lhr \<value> Partially unlock hashrate for Nvidia LHR GPUs. [-1, 100]. 0: auto, -1: off. Others: set to 60 means trying to reach 60% of nonlocked max hashrate.**

* --mt, --memory-tweak \<mode> Memory timings optimize for Nvidia GDDR5 & GDDR5X gpus. range [1-6]. Higher value equals higher hashrate. Individual value can be set via comma seperated list. Power limit may need to be tuned up to get more hashrate. Higher reject share ratio can happen if mining rig hits high temperature, set lower value of `-mt` can reduce reject ratio. Under windows, a custom driver need to be installed when using `-mt`, can installed manually by option `--driver`, or run nbminer.exe with admin privilege to perform auto-install. Under linux, admin priviledge is needed to run, `sudo ./nbminer -mt x`. `OhGodAnETHlargementPill` is not needed anymore if `-mt` is enabled when mining on 1080 & 1080ti GPUs.

* --driver \<action> Windows only option, install / uninstall driver for `memory tweak`. Run with admin priviledge.
install: `nbminer.exe --driver install`, uninstall: `nbminer.exe --driver uninstall`.

* --power-limit, --pl \<limit> Set power limit of GPU.

​ Set PL in watts: -pl 200.

​ Set PL in percetage of default PowerLimit: -pl 75%

* --cclock \<clocks> Set core clock in MHz.
Set clock offsets: -cclock 100, -cclock -500 (Windows only)
Set locked clock: -cclock @1500.

* --mclock \<clocks> Set memory clock offsets in MHz. (Windows only)

* --lock-cv \<cv> Set locked core voltages in mV. (Windows only)

* --fan \<speed> Set GPU fan speed in percentage. (Windows only)

* --lhr \<modes> Partial unlock hashrate for Nvidia LHR GPUs. [-1, 100]. 0: auto, -1: off.
Others: set to 60 means tryiung to reach 60% of nonlocked max hashrate.

* --lhr-mode, --lm \<modes> LHR unlock mode for Nvidia LHR GPUs. 1 or 2.
1: higher max hashrate, higher power consumption;
2: lower max hashrate, lower average power consumption

* --lhr-reduce-value, --lrv \<value> The amount of `-lhr` valud reduced each time when GPU hits LHR lock

* --lhr-reduce-time, --lrt \<time> The `-lhr` value will reduce by `-lhr-reduce-value` if the time since last lock

* --lhr-reduce-limit, --lrl \<limit> Limit the times of `-lhr` been reduced.

## API Reference

Expand All @@ -173,82 +236,114 @@ GET http://api_host:port/api/v1/status
"miner": {
"devices": [
{
"accepted_shares": 2,
"accepted_shares2": 0,
"core_clock": 1620,
"accepted_shares": 4,
"core_clock": 1530,
"core_utilization": 100,
"fan": 47,
"fidelity1": 5.859799716605649,
"fidelity2": 0,
"hashrate": "217.1 M",
"hashrate2": "36.19 M",
"hashrate2_raw": 36190716.266428046,
"hashrate_raw": 217144297.59856823,
"fan": 59,
"hashrate": "61.50 M",
"hashrate2": "0.000 ",
"hashrate2_raw": 0,
"hashrate_raw": 61497708.17088159,
"id": 0,
"info": "GeForce RTX 2070",
"mem_clock": 6801,
"mem_utilization": 86,
"info": "NVIDIA GeForce RTX 3070",
"invalid_shares": 0,
"lhr": 0,
"memTemperature": -1,
"mem_clock": 8000,
"mem_utilization": 100,
"pci_bus_id": 1,
"power": 188,
"power": 131,
"rejected_shares": 0,
"rejected_shares2": 0,
"temperature": 72
"temperature": 57
},
{
"accepted_shares": 0,
"accepted_shares2": 0,
"core_clock": 1607,
"accepted_shares": 3,
"core_clock": 1035,
"core_utilization": 100,
"fan": 0,
"fidelity1": 0,
"fidelity2": 0,
"hashrate": "168.5 M",
"hashrate2": "42.11 M",
"hashrate2_raw": 42113955.19774488,
"hashrate_raw": 168455820.79097953,
"fan": 80,
"hashrate": "85.07 M",
"hashrate2": "0.000 ",
"hashrate2_raw": 0,
"hashrate_raw": 85069773.34248555,
"id": 1,
"info": "P102-100",
"mem_clock": 5508,
"info": "NVIDIA GeForce RTX 3080 Ti LHR",
"invalid_shares": 0,
"lhr": 74,
"memTemperature": 104,
"mem_clock": 10251,
"mem_utilization": 100,
"pci_bus_id": 4,
"power": 232,
"pci_bus_id": 48,
"power": 258,
"rejected_shares": 0,
"rejected_shares2": 0,
"temperature": 57
"temperature": 64
}
],
"total_hashrate": "708 M",
"total_hashrate2": "164.4 M",
"total_hashrate2_raw": 164395439.13815895,
"total_hashrate_raw": 708044466.8349969,
"total_power_consume": 839
"total_hashrate": "146.6 M",
"total_hashrate2": "0.000 ",
"total_hashrate2_raw": 0,
"total_hashrate_raw": 146567481.51336715,
"total_power_consume": 389
},
"reboot_times": 0,
"start_time": 1586944619,
"start_time": 1637549633,
"stratum": {
"accepted_shares": 2,
"accepted_shares2": 0,
"algorithm": "hns_ethash",
"difficulty": "8.59 G",
"difficulty2": "8.59 G",
"dual_mine": true,
"latency": 221,
"latency2": 0,
"accepted_shares": 7,
"algorithm": "ethash",
"difficulty": "4.295 G",
"dual_mine": false,
"invalid_shares": 0,
"latency": 217,
"pool_hashrate_10m": "217.9 M",
"pool_hashrate_24h": "217.9 M",
"pool_hashrate_4h": "217.9 M",
"rejected_shares": 0,
"rejected_shares2": 0,
"url": "handshake.hk.nicehash.com:3384",
"url2": "daggerhashimoto.hk.nicehash.com:3353",
"use_ssl": false,
"use_ssl2": false,
"user": "3QHNv52ahdCyeYTGVYDPGjRzMpkknjjfAf.test",
"user2": "3QHNv52ahdCyeYTGVYDPGjRzMpkknjjfAf.test"
"url": "asia2.ethermine.org:5555",
"use_ssl": true,
"user": "0x4296116d44a4a7259B52B1A756e19083e675062A"
},
"version": "30.0"
"version": "40.0"
}
```

## Change Log

#### v40.0(2021-11-23)

- `feature`: Add overclock options for Nvidia GPUs, require admin priviledge, accept comma seprated list to specify for each GPU.

- `-power-limit, -pl`: Set power limitation of GPU. Examples:

​ Set PL in watts: `-pl 200`

​ Set PL in percentage of default PowerLimit: `-pl 75%` (in Windows bat file, need dual `%` , `-pl 75%%`)

- `-cclock`: Set core clock in MHz. Examples:

​ Set clock offsets: `-cclock 100` (Windows only)

​ Set locked clocks: `-cclock @1500`

- `-mclock`: Set memory clock offsets in MHz (Windows only)

- `-lock-cv`: Set locked core voltage of GPU in mV, support Turing and newer GPUs. (Windows only)

- `-fan`: Set fan speed in percentage of GPU. (Windows only)

- `feature`: Display current LHR value in console summary table and web monitor.

- `feature`: `-proxy` options now support username & password for SOCKS5 proxy. format: `-proxy user:pass@host:port`

- `feature`: Web monitor changes, delete unused information for dual mining.

- `feature`: new options for log control.

- `-log-no-job`: Turn off the `New job` line in console.
- `-log-cycle`: Set to change the cycle of Summary table show in console and log, in seconds, defaults to 30.

- `fix`: `ethash` Change CPU share validation to independent thread, lower performance degradation when mining at very low difficulty pools.

- `fix`: LHR lock detected failure on some cases.

#### v39.7(2021-10-30)

- `feature`: LHR mode support new GA104 version of 3060
Expand Down
Loading

0 comments on commit a7f9f32

Please sign in to comment.