How to define more that one password for multiple mining pool servers?

Sometimes one wants to define multiple failover pools, and some of these may require a password.

However, when writing the (long) command line in the shell the password will be set equal for both. If the password cannot be the same in all pools then, the only way to define more than one password is by creating a configuration file. This is also very handy when the line is long.

You can read the FAQ about creating a configuration file. Yet, we repeat here a little with focus on how to define two passwords.

1. Add --write-config to your command line, and run. (add your information):

miniz.exe --par=192,7 --pers=auto --url=user_xxx.worker@poolserver1:2144 --pass x1 --url=user2_xxx.worker@poolserver2:2144 --pass x2 --write-config

miniZ will create miniZ.conf file…with both pass equal. You’ll need to edit the file and correct it.

Note that if you want to give it a different name, then add filename.conf to command line, right after the --write-config:

miniz.exe --par=192,7 --pers=auto --url=user_xxx.worker@poolserver1:2144 --pass x1 --url=user2_xxx.worker@poolserver2:2144 --pass x2 --write-config filename.conf

2. Open your config file with a text editor. Go to “Servers”, and edit/correct the “pass” as you need, and save.

3. Then you’ll only need to run miniZ with --read-config.

If you want to read from the default file name:

miniZ.exe --read-config

or if you want to read from another file:

miniZ.exe --read-config filename.conf

Happy mining!

How to create and use a configuration file?

Setting up a configuration file can be quite useful. This is particularly true when the command line is very long and you want to modify it often, then it is easier to create and edit a simple file where the information can be more organised.

To create a configuration file with miniZ, you can write it from scratch, however you can also write the long command line once , adding --write-config  to it, and run. Ex:

 miniz.exe --algo=150,5,3 --url=ssl://WalletAddress.Worker@beam-eu.leafpool.com:3333 --pass x1 --url=ssl://YourPublicAPIKey@beam.sunpool.top:3333 --pass x2 --write-config

miniZ will create miniZ.conf file. If you want to give it a different name add filename.conf to command line, right after the --write-config:

miniz.exe --algo=150,5,3 --url=ssl://WalletAddress.Worker@beam-eu.leafpool.com:3333 --pass x1 --url=ssl://YourPublicAPIKey@beam.sunpool.top:3333 --pass x2 --write-config filename.conf

You can open the file with a text editor to see how it looks like. You can also edit the file as needed.

Finally, you’ll only need to run miniZ with --read-config. 🙂

If you want to read from the default file name:

miniZ.exe --read-config

or if you want to read configurations from another file:

miniZ.exe --read-config filename.conf

 

Saving ocX best mode to configuration file.

In case you want to save the result of running ocX to the configuration file, you’ll need to proceed as above and write the command line with --write-config at the end (do not forget you can add a filename, read above):

miniz.exe --algo=150,5,3 --url=ssl://WalletAddress.Worker@beam-eu.leafpool.com:3333 --pass x1 --url=ssl://YourPublicAPIKey@beam.sunpool.top:3333 --pass x2 --ocX --write-config

However, now you will see the program run and start ocX. When ocX ends, miniZ will save the best mode to the configuration file. (It will also keep running with the best mode.)

If you run miniZ with that config file, it will start applying the saved mode to the GPU.

 

For other command line arguments check Usage page.

Happy mining!

How to use --mode?

In some cases you may want to select a specific mode/kernel for miniZ to run in your GPU. This can happen for example after using --ocX1 to tune miniZ for a specific algo+GPU+OC, or just want to test it in another similar GPU.

At the moment, you will be able to run a mode for your rig, or a specific GPU, by using --mode option. This is still a work in progress. We may find a better way to achieve the same task 🙂

  • To select mode 8 for all GPUs in your rig:
    miniZ.exe --url YourWallet.Worker@mine-zel-euro.equipool.1ds.us:50053 --log --mode 8

    or

    miniZ.exe --url YourWallet.Worker@mine-zel-euro.equipool.1ds.us:50053 --log --mode=8
  • To select mode 8 for GPU 3:
    Note that in this case you cannot write with ‘=’ sign.

    miniZ.exe --url YourWallet.Worker@mine-zel-euro.equipool.1ds.us:50053 --log --mode3 8
  • To select mode 5 for GPU 0, and mode 3 for all other GPUs. The order matters. Ex:
    miniZ.exe --url YourWallet.Worker@mine-zel-euro.equipool.1ds.us:50053 --log --mode 3 --mode0 5
  • To select mode 8 for GPU 3, and mode 1 for GPU 4:
    miniZ.exe --url YourWallet.Worker@mine-zel-euro.equipool.1ds.us:50053 --log --mode3 8 --mode4 1
  • To select mode 5 for GPU 3 and for GPU 4:
    miniZ.exe --url YourWallet.Worker@mine-zel-euro.equipool.1ds.us:50053 --log --mode3 5 --mode4 5

Keep in mind that when you apply OCs to a GPU it is possible that some kernels do become unstable and others do not. But, if a mode is dramatically unstable also after you try it with stock settings, we appreciate that you contact us ? Reporting GPU model, miniZ version, mode in question, and algorithm is very useful in this case. Thanks!

1: Do not use/apply oc1/oc2/ocX (or --mode)at the same time on the same GPU. This could cause confusion in understanding miniZ behavior. One of the options will prevail though, usually the last one appearing in the command line.

For other command line arguments check Usage page.

Happy mining!

 

Argument options for automatic tuning performance and efficiency: --ocX

*** Do not use --ocX when mining with RTX 30XX with anti-mining lock. ***

From v1.5t3 version you can use --ocX for miniZ to automatically choose the best kernel for your GPU.
Available for 125,4 and 150,5,3 algorithms in v1.5t3. Available in all algorithms from v1.5u version.

--ocX  is a new option that runs a few available miniZ kernels and chooses the one that performs best.1 It starts with the one set by default, the one we chose to be the best in stock settings. For a few GPUs the defaults are not optimised because we did not have access to that GPU model for testing. Generally, from each algo table performance you can infer which GPUs we tested.

    • To run ocX you only have to add it to your command line. Ex.:
miniZ.exe --url YourWallet.Worker@mine-zel-euro.equipool.1ds.us:50053 --log --ocX

If you have more that one GPU, it will start optimisation for all GPUs, asynchronously. It starts mining with default kernels, we called it mode in the messages:

After stabilizing a bit (temperature, performance..) miniZ will start switching modes:

After testing all available modes for that GPU it will stop switching.

Some GPUs may finish later. This will be OK, since the ones that tested everything first will start mining with the mode(s) that performed best. There is no need to stop and restart miniZ.

After the tune is finished, take note of the mode in case you want to use it later (we may improve this in future versions). You can run a mode for your rig, or a specific GPU, by using --mode. This is still a work in progress but we have a separate FAQ for it here.

  • To run ocX on a specific GPU. Ex. apply ocX to GPU 3:
miniZ.exe --url YourWallet.Worker@mine-zel-euro.equipool.1ds.us:50053 --log --ocX=3

In this case, optimisation will only start for GPU 3, similarly to what is shown above. The other GPUs will just start mining as usual.

  • To run ocX on specific GPUs. Ex. apply ocX to GPU 0 and GPU 3:
miniZ.exe --url YourWallet.Worker@mine-zel-euro.equipool.1ds.us:50053 --log --ocX=0,3

In this case, optimisation will only start for GPU 0 and GPU 3. The other GPUs will just start mining as usual.

Keep in mind that when you apply OCs to a GPU it is possible that some kernels do become unstable and others do not. But, if a mode is dramatically unstable also after you try it with stock settings, we appreciate that you contact us 🙂 Reporting GPU model, miniZ version, mode in question, and algorithm is very useful in this case. Thanks!

1 --ocX is different from --oc1/--oc2.
--oc1 or --oc2 will set a specific kernel mode for the GPUs. --ocX will select and run a few kernels and let you know which performed best. Do not use/apply oc1/oc2/ocX (or --mode)at the same time on the same GPU. This could cause confusion in understanding miniZ behavior. One of the options will prevail though, usually the last one appearing in the command line.

For other command line arguments check Usage page.

Happy mining!

How to save all statistics to filename in CSV format?

From v1.5q you can save statistics to an csv format.

Define the desired csv filename by adding --csv [filename] to your command line. This will create a file with data separated by commas.

The data you’ll find in the csv file:

* Run time information: run_time,unix_time,human_time,

* Mining pool: mining_pool,

* Personalisation string: pers_string,

* Shares information (total, for rig): sum_shares_ok,sum_shares_stale,sum_shares_invalid,

* Ping information: ping,

* User pool and fee servers share: pool.server,fee.server,

* I/s, Sol/s, Sol ratio information (total, for rig):  sum_Is,sum_Is_avg,sum_Sols,sum_Sols_avg,sum_solratio,

* Power information (total, for rig): sum_power,sum_power_avg,

* Information per GPU (#GPU number 1,2,3…): pcibus_1,gpuname_1,shares_ok_1,shares_stale_1,shares_invalid_1,temperature_1,fan_speed_1,clock_1,mem_clock_1,iterations_1,iterations_avg_1,sols_1,sols_avg_1,solratio_1,power_1,power_avg_1,sol_watt_1

Happy mining!

Argument options to adjust performance and efficiency: --oc1 and --oc2

miniZ includes a command line argument for improving performance at distinct overclock (OC) values.

When you’re adjusting your power limit (PL) and OC setting values, you can use --oc1 or --oc2 to change the default kernel mode for your GPU. The following table (Table 1.) shows oc1 and oc2 support for each combination of GPU and algorithm. --oc0 is default mining mode that each GPU.

--oc1 or --oc2 will set a specific kernel mode for the GPUs. These refer to kernels we noticed that performed best in some OC settings, and for some GPUs. This is why not all GPUs have oc1 or oc2. Sometimes the default (optimised for stock settings) was the best we found.

Recently, from v1.5t31,2 version, you can use --ocX for miniZ to automatically choose the best kernel for your GPU. For more information check ocX related FAQ here.

WordPress Data Table Plugin

Usually, at lower PL/OC values --oc1 produces better performance. When you push your GPU to higher PL/OCvalues, --oc2 is likely to be produce higher hashrate. It all depends on your OC settings. 

The best is to try both and check which performs best for your settings and GPUs. For stock settings it should not be necessary to use this option.

When you add --oc1 or --oc2 to your command line this setting is applied to all GPUs. You can also apply the setting to a specific GPU.

Examples for a rig with 6 GPUs, mining Zel on equipool:

1. To apply --oc1 to all GPUs

miniZ.exe --url YourWallet.Worker@mine-zel-euro.equipool.1ds.us:50053 --log --oc1

2. To apply --oc1 only to GPU#2 and GPU#3

miniZ.exe --url YourWallet.Worker@mine-zel-euro.equipool.1ds.us:50053 --log --oc1=2,3

3. To apply --oc2 to all GPUs except for GPU#1 and GPU#4. Note that order matters (try it out!).

miniZ.exe --url YourWallet.Worker@mine-zel-euro.equipool.1ds.us:50053 --log --oc2 --oc0=1,4

4. To apply --oc1 to most GPUs, --oc2 to GPU#0, and default mode to GPU#3 and GPU#4.

miniZ.exe --url YourWallet.Worker@mine-zel-euro.equipool.1ds.us:50053 --log --oc1 --oc2=0 --oc0=3,4

 

1 Available for 125,4 and 150,5,3 algorithms in v1.5t3. Available in all algorithms from v1.5u version.

2: Do not use/apply oc1/oc2/ocX (or --mode) at the same time on the same GPU. This could cause confusion in understanding miniZ behavior. One of the options will prevail though, usually the last one appearing in the command line.

 

* NOTE: Adding --oc1/2 to the command line does not apply OCs to the GPU, it just makes the GPU run with different kernel functions. When you adjust the OCs in Afterburner (or other program) and run miniZ without --oc1/2 the miner will run with the default kernels (usually optimized for stock settings). The --oc command line option just change the way miniZ runs not the OC settings of the GPU. *

For other command line arguments check Usage page.

Happy mining!

How to mine Zclassic (ZCL)?

Below, we list a few examples to get you mining Zclassic with miniZ.

You should check each pool page since the pool may define more than one server and port number.

  • Zpool: https://zpool.ca/
    To mine ZCL and get paid in ZCL:

    miniZ.exe --url=YourWallet.Worker@equihash192.eu.mine.zpool.ca:2192 --log -p c=ZCL,zap=ZCL

    To mine ZCL and get paid in BTC:

    miniZ.exe --url=Your_BTC_Wallet.Worker@equihash192.eu.mine.zpool.ca:2192 -p c=BTC,zap=ZCL
  • Zergpool: https://zergpool.com
    To mine ZCL and get paid in ZCL:

    miniZ.exe --url=YourWallet.Worker@equihash192.eu.mine.zergpool.com:2144 --log -p c=ZCL,mc=ZCL

    To mine ZCL and get paid in BTC:

    miniZ.exe --url=Your_BTC_Wallet.Worker@equihash192.eu.mine.zergpool.com:2144 -p c=BTC,mc=ZCL

Normally, you do not need to write --pers ZcashPoW or --par=192,7. However, this depends on the pool, and miniZ version.

For more information about miniZ command line arguments, please refer to Usage page.
Happy ZCL mining!

How to create a .bat file (using miniZ GUI launcher)?

  • We made available a few Windows .bat files on Download page for you to launch miniZ. These are just a few examples to help you get started. Feel free to customize them to your own needs, and do not forget to add your wallet addresses and worker names.
  • You can also create your own .bat file. For this you need to create a new text file, and when giving it a name do not forget to set the .bat extension. Then you can paste there a command line with other miner options (ex. add --show-pers to show personalisation string). Or add extra functionalities (ex. auto restart the miner).
  • Alternatively, you can use the miniZ GUI launcher, given with the miniZ Windows packages. The following link will guide you through it.

miniZ GUI Launcher

Happy mining!

How to mine Grimm (GRIMM)?

Below, we list a few examples to get you mining Grimm with miniZ.

Check each pool page since the pool may define more than one server and port number.

  • Sunpool: https://grimm.sunpool.top
    Note: to connect to Sunpool you will have to use a public user key. More information on how to generate key @ pool page.

    miniZ.exe --url=ssl://Your_PUBLIC_USER_KEY.Worker@grimm.sunpool.top:3334 --log --extra

From v1.5p it should not be necessary to add --par=150,5 and --pers=GrimmPOW  to your command line. However, this may depend on the pool.

For more information about miniZ command line arguments, please refer to Usage page.

Happy GRIMM mining!

How to mine Ycash (YEC)?

Below, we list a few examples to get you mining Ycash with miniZ.

You should check each pool page since the pool may define more than one server and port number.

  • Zergpool.com: http://zergpool.com/
    To mine YEC and get paid in YEC:

    miniZ.exe --url YourWallet.Worker@equihash144.mine.zergpool.com:2144 -p c=YEC,mc=YEC

    To mine YEC and get paid in BTC:

    miniZ.exe --url Your_BTC_Wallet.Worker@equihash144.mine.zergpool.com:2144 -p c=BTC,mc=YEC
  • F2Pool: https://www.f2pool.com
    miniZ.exe --url=YourWallet.Worker@yec.f2pool.com:4500 --log --extra
  • daPool: https://dapool.io/coin/yec
    miniZ.exe --url=YourWallet.Worker@ycash.dapool.io:3344 --log --extra
  • e4Pool: http://equihash.e4pool.com

    miniZ.exe --url=YourWallet.Worker@109.167.229.52:4321 --log --extra

     

  • K1Pool: https://k1pool.com/pool/yecsolo

    miniZ.exe --url=YourWallet.Worker@eu.yecsolo.k1pool.com:9333 --log --extra

     

  • solopool.org: https://yec.solopool.org

    miniZ.exe --url=YourWallet.Worker@eu2.solopool.org:8006 --log --extra

     

From v1.5p it should not be necessary to add --par=192,7 and --pers=ZcashPoW to your command line. However, this may depend on the pool.

Also, be aware that some pools do not support --pers=auto, in this case it is better to not specify --pers at all or use --smart-pers.

For more information about miniZ command line arguments, please refer to Usage page.

Happy YEC mining!