Bitcoin Forum
April 23, 2024, 05:54:43 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 »
  Print  
Author Topic: Claymore's CryptoNote Windows CPU Miner v4.0  (Read 565399 times)
Claymore (OP)
Donator
Legendary
*
Offline Offline

Activity: 1610
Merit: 1325

Miners developer


View Profile
June 10, 2014, 05:36:05 PM
Last edit: April 02, 2018, 10:43:56 AM by Claymore
 #1

Claymore's CryptoNote Windows CPU Miner
=========================

GPU version is here:
https://bitcointalk.org/index.php?topic=638915.0

Current version: 4.0

- removed devfee, miner is completely free now.
- added "-pow7" option to support Monero hardfork, use "-pow7 1" value to enable it.


Link:
https://mega.co.nz/#F!Hg4g1bLT!4Upg8GNiEZYCaZ04XVh_yg

Mirror:
https://drive.google.com/folderview?id=0B69wv2iqszefSzYyM3BTYXVxZGs&usp=sharing

This is POOL version.

This version is for Windows x64, Windows x86 is supported up to v3.4 only. No Linux support planned.

This version uses AES-NI if CPU supports it, but also works with older CPUs that don' support AES-NI.

Since v4.0 this miner is completely free and has no developer fee.



COMMAND LINE OPTIONS:

-o    pool address. Both HTTP and Stratum protocol are supported. You can specify several "-o" parameters to use several pools, or use "pools.txt" file, or use both.
   First pool specified via "-o" option is main pool: miner will switch to main pool every 30 minutes.
   Miner also supports SSL/TLS encryption for all data between miner and pool (if pool supports encryption), it significantly improves security.
   To enable encryption, use "ssl://" or "stratum+ssl://" prefix (or "tls" instead of "ssl").

-u    your wallet address.

-p    password, use "x" as password.

-t    number of threads. "-t 0" - autoselection. Autoselection does not work fine in all cases, so try different values.
   Optimal value depends mostly on L3 cache size.
   For example, if your CPU has 8 MB of L3 cache (i7 CPUs), use "-t 4". For 6MB L3 cache (i5 CPUs) use "-t 3".

-pow7   option to support Monero hardfork, use "-pow7 1" value to enable it.

-lowcpu   low CPU usage mode. In this mode only one CPU thread is used but the speed is much higher than in "-t 1" mode.
   This mode is useful for mining in background when minimal CPU usage is required instead of maximal mining speed.
   Possible values are "-lowcpu 1" or "-lowcpu 2". For example, on i7 4770 CPU "-lowcpu 2" shows about 180 h/s on a single CPU thread.
   This option is available only for CPUs that support AES-NI.

-ee    close miner if no more pools are available in the list. By default, miner tries all pools one by one, after last pool it tries first pool again and so on.
   Use "-ee 1" to close miner when it tried all pools, so you can restart it from some script and do some additional actions related to internet connectins if necessary.

-dbg   debug log and messages. "-dbg 0" (default) - create log file but don't show debug messages.
   "-dbg 1" - create log file and show debug messages. "-dbg -1" - no log file and no debug messages.

-r   Restart miner mode. "-r 0" (default) - restart miner if something wrong. "-r -1" - disable automatic restarting. -r >0 - restart miner if something
   wrong or by timer. For example, "-r 60" - restart miner every hour or when some worker thread failed.

-retrydelay   delay, in seconds, between connection attempts. Default values is "20". Specify "-retrydelay -1" if you don't need reconnection, in this mode miner will exit if connection is lost.

-ftime   failover main pool switch time, in minutes, see "Failover" section below. Default value is 30 minutes, set zero if there is no main pool.

-mport   remote monitoring/management port. Default value is -3333 (read-only mode), specify "-mport 0" to disable remote monitoring/management feature.
   Specify negative value to enable monitoring (get statistics) but disable management (restart, uploading files), for example, "-mport -3333" enables port 3333 for remote monitoring, but remote management will be blocked.
   You can also use your web browser to see current miner state, for example, type "localhost:3333" in web browser.
   Warning: use negative option value or disable remote management entirely if you think that you can be attacked via this port!
   By default, miner will accept connections on specified port on all network adapters, but you can select desired network interface directly, for example, "-mport 127.0.0.1:3333" opens port on localhost only.

-mpsw   remote monitoring/management password. By default it is empty, so everyone can ask statistics or manage miner remotely if "-mport" option is set. You can set password for remote access (at least EthMan v3.0 is required to support passwords).

-colors enables or disables colored text in console. Default value is "1", use "-colors 0" to disable coloring. Use 2...4 values to remove some of colors.

-v   displays miner version, sample usage: "-v 1".



CONFIGURATION FILE

You can use "config.txt" file instead of specifying options in command line.
If there are not any command line options, miner will check "config.txt" file for options.
If there is only one option in the command line, it must be configuration file name.
If there are two or more options in the command line, miner will take all options from the command line, not from configuration file.
Place one option per line, if first character of a line is ";" or "#", this line will be ignored.
You can also use environment variables in "epools.txt" and "config.txt" files. For example, define "WORKER" environment variable and use it as "%WORKER%" in config.txt or in epools.txt.



SAMPLE USAGE

unsecure connection:
   NsCpuCNMiner64.exe -o stratum+tcp://mine.moneropool.org:80 -u 449TGay4WWJPwsXrWZfkMoPtDbJp8xoSzFuyjRt3iaM4bRHdzw4qoDu26FdcGx67BMDS1r2bnp7f5hF 6xdPWWrD3Q3Wf7G6 -p x

SSL/TLS connection:
 miningpoolhub (this pool detects encryption automatically so it uses same port as for unencrypted connection):
   NsCpuCNMiner64.exe -o ssl://us-east.cryptonight-hub.miningpoolhub.com:20580 -u YourLogin.YourWorker -p x

Do not forget to specify your wallet address!



FAILOVER

Use "epools.txt" file to specify additional pools. This file has text format, one pool per line. Every pool has 3 connection attempts.
Miner disconnects automatically if pool does not send new jobs for a long time or if pool rejects too many shares.
If the first character of a line is ";" or "#", this line will be ignored.
Do not change spacing, spaces between parameters and values are required for parsing.
If you need to specify "," character in parameter value, use two commas - ,, will be treated as one comma.
Pool specified in the command line is "main" pool, miner will try to return to it every 30 minutes if it has to use some different pool from the list.
If no pool was specified in the command line then first pool in the failover pools list is main pool.
You can change 30 minutes time period to some different value with "-ftime" option, or use "-ftime 0" to disable switching to main pool.



REMOTE MONITORING/MANAGEMENT

Miner supports remote monitoring/management via JSON protocol over raw TCP/IP sockets. You can also get recent console text lines via HTTP.
Start "EthMan.exe" from "Remote management" subfolder (Windows version only).
Check built-in help for more information. "API.txt" file contains more details about protocol.



PERFORMANCE

About 280 h/s on i7-4770 ("-t 4")
About 170 h/s on i5-4430 ("-t 3")
32bit version is slower than 64bit version in 1.5-2.0 times, about 190 h/s on i7-4770.



TROUBLESHOOTING

For most cases miner shows detailed error messages with explanations. To achieve maximal mining speed, start miner with admin rights once (miner must show "scfg: 1"),
it will configure system for optimal performance; then reboot computer to apply changes. For normal work no admin rights or other permissions are required. However,
if you use Windows UAC and start miner as admin in non-elevated mode miner will not work. Either create normal user and start miner there, or disable UAC.
Miner must show "FAST MODE ENABLED" message if everything is ok.
Sometimes reboot is necessary to clean RAM, otherwise miner can show "not enough memory" error.

Low speed in Windows 8.1 x64:

1. Make sure you are logged as admin. Create shortcut for NsCpuCNMiner64.exe on desktop.
2. Open shortcut properties, and specify command line parameters, for example:
C:\miner\NsCpuCNMiner64.exe -o stratum+tcp://mine.moneropool.org:80 -u 449TGay4WWJPwsXrWZfkMoPtDbJp8xoSzFuyjRt3iaM4bRHdzw4qoDu26FdcGx67BMDS1r2bnp7f5hF 6xdPWWrD3Q3Wf7G6 -p x
3. Press "Advanced" button, check "Run As Administrator". Also disable UAC and reboot (perhaps this step is not ncessary for your configuration).
4. Start shortcut, I get about 290 h/s on stock i7-4770 in Windows 8.1 x64.



FAQ:

Q: Miner freezes if I put cursor to its window in Windows 10 until any key is pressed. Sometimes miner freezes randomly until any key is pressed.
A: You should make some changes in Windows:
  https://superuser.com/questions/555160/windows-command-prompt-freezing-on-focus
  https://superuser.com/questions/419717/windows-command-prompt-freezing-randomly?rq=1
  https://superuser.com/questions/1051821/command-prompt-random-pause?rq=1


Please read Readme and FAQ in the first post of this thread before asking any questions, probably the answer is already there.
List of my miners: https://bitcointalk.org/index.php?topic=3019607
1713894883
Hero Member
*
Offline Offline

Posts: 1713894883

View Profile Personal Message (Offline)

Ignore
1713894883
Reply with quote  #2

1713894883
Report to moderator
The forum strives to allow free discussion of any ideas. All policies are built around this principle. This doesn't mean you can post garbage, though: posts should actually contain ideas, and these ideas should be argued reasonably.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713894883
Hero Member
*
Offline Offline

Posts: 1713894883

View Profile Personal Message (Offline)

Ignore
1713894883
Reply with quote  #2

1713894883
Report to moderator
1713894883
Hero Member
*
Offline Offline

Posts: 1713894883

View Profile Personal Message (Offline)

Ignore
1713894883
Reply with quote  #2

1713894883
Report to moderator
seljak
Member
**
Offline Offline

Activity: 101
Merit: 10


View Profile
June 10, 2014, 07:24:53 PM
 #2

What would be the best setting for Xeon E5-2670 (8c,16t) and dual socket 2x Xeon E5-2670?

tnx
huhliki.k
Full Member
***
Offline Offline

Activity: 144
Merit: 100


View Profile
June 10, 2014, 07:33:21 PM
 #3

What would be the best setting for dual socket 2x Xeon X5687 (12+12 MB of L3 cache)?   tnx

Claymore (OP)
Donator
Legendary
*
Offline Offline

Activity: 1610
Merit: 1325

Miners developer


View Profile
June 10, 2014, 07:57:10 PM
 #4

What would be the best setting for Xeon E5-2670 (8c,16t) and dual socket 2x Xeon E5-2670?
tnx

What would be the best setting for dual socket 2x Xeon X5687 (12+12 MB of L3 cache)?   tnx

Calculate total size of L3 cache and divide it by 2. If L3 cache is 20MB then probably "-t 10" is the best. For 24MB L3 cache try "-t 12".

Please read Readme and FAQ in the first post of this thread before asking any questions, probably the answer is already there.
List of my miners: https://bitcointalk.org/index.php?topic=3019607
darkcond0
Newbie
*
Offline Offline

Activity: 16
Merit: 0


View Profile
June 10, 2014, 09:56:04 PM
 #5

I'm only getting ~185 h/s on an i7-4770, with -t 4 and fast mode enabled.  Am I doing something wrong?
ozzy1926
Sr. Member
****
Offline Offline

Activity: 378
Merit: 250


View Profile
June 10, 2014, 09:58:13 PM
 #6

I'm only getting ~185 h/s on an i7-4770, with -t 4 and fast mode enabled.  Am I doing something wrong?

is this4770 K  or non K?
Claymore (OP)
Donator
Legendary
*
Offline Offline

Activity: 1610
Merit: 1325

Miners developer


View Profile
June 10, 2014, 10:18:20 PM
 #7

I'm only getting ~185 h/s on an i7-4770, with -t 4 and fast mode enabled.  Am I doing something wrong?

No other miners started? Wink Try to reboot, start miner and do not start anything else at all, even browser, skype etc. If is still 185 h/s in fast mode and CPU load is about 50% (not higher) it means that fast mode does not work for your Windows or hardware for some reason. I have several systems on 4770 and they all show about 270 h/s (Windows 7).

Please read Readme and FAQ in the first post of this thread before asking any questions, probably the answer is already there.
List of my miners: https://bitcointalk.org/index.php?topic=3019607
darkcond0
Newbie
*
Offline Offline

Activity: 16
Merit: 0


View Profile
June 10, 2014, 10:26:30 PM
 #8

I'm only getting ~185 h/s on an i7-4770, with -t 4 and fast mode enabled.  Am I doing something wrong?

No other miners started? Wink Try to reboot, start miner and do not start anything else at all, even browser, skype etc. If is still 185 h/s in fast mode and CPU load is about 50% (not higher) it means that fast mode does not work for your Windows or hardware for some reason. I have several systems on 4770 and they all show about 270 h/s (Windows 7).

Yep, still 185 h/s and ~50% CPU load Sad 
I'm on Windows 8 x64
ozzy1926
Sr. Member
****
Offline Offline

Activity: 378
Merit: 250


View Profile
June 10, 2014, 10:47:17 PM
 #9

I'm only getting ~185 h/s on an i7-4770, with -t 4 and fast mode enabled.  Am I doing something wrong?

No other miners started? Wink Try to reboot, start miner and do not start anything else at all, even browser, skype etc. If is still 185 h/s in fast mode and CPU load is about 50% (not higher) it means that fast mode does not work for your Windows or hardware for some reason. I have several systems on 4770 and they all show about 270 h/s (Windows 7).

i am getting around 213-219 with my 4770k @3.9 is that normal?
Claymore (OP)
Donator
Legendary
*
Offline Offline

Activity: 1610
Merit: 1325

Miners developer


View Profile
June 11, 2014, 07:28:16 PM
 #10

I'm only getting ~185 h/s on an i7-4770, with -t 4 and fast mode enabled.  Am I doing something wrong?

No other miners started? Wink Try to reboot, start miner and do not start anything else at all, even browser, skype etc. If is still 185 h/s in fast mode and CPU load is about 50% (not higher) it means that fast mode does not work for your Windows or hardware for some reason. I have several systems on 4770 and they all show about 270 h/s (Windows 7).

i am getting around 213-219 with my 4770k @3.9 is that normal?

Low. Windows7 ?

Please read Readme and FAQ in the first post of this thread before asking any questions, probably the answer is already there.
List of my miners: https://bitcointalk.org/index.php?topic=3019607
Claymore (OP)
Donator
Legendary
*
Offline Offline

Activity: 1610
Merit: 1325

Miners developer


View Profile
June 11, 2014, 07:29:35 PM
 #11

v1.1 is avalable:

- Added 32-bit version. CPU with AES-NI support is still required.

Please read Readme and FAQ in the first post of this thread before asking any questions, probably the answer is already there.
List of my miners: https://bitcointalk.org/index.php?topic=3019607
Claymore (OP)
Donator
Legendary
*
Offline Offline

Activity: 1610
Merit: 1325

Miners developer


View Profile
June 12, 2014, 11:05:20 AM
 #12

v1.1 is avalable:

- Added 32-bit version. CPU with AES-NI support is still required.

There are 32-bit CPUs with AES-NI? Since when?

Why do you think that this version is for 32-bit CPUs? Smiley It is for 64bit CPUs with Windows 32-bit installed.

Please read Readme and FAQ in the first post of this thread before asking any questions, probably the answer is already there.
List of my miners: https://bitcointalk.org/index.php?topic=3019607
griffinriz
Sr. Member
****
Offline Offline

Activity: 476
Merit: 250



View Profile
June 12, 2014, 11:18:00 AM
 #13

v1.1 is avalable:

- Added 32-bit version. CPU with AES-NI support is still required.

There are 32-bit CPUs with AES-NI? Since when?

Why do you think that this version is for 32-bit CPUs? Smiley It is for 64bit CPUs with Windows 32-bit installed.
why showing Gen:Trojan.Heur.RP.wHW@aCGFbdpi ?

https://www.virustotal.com/en/file/c0cf37744e3ff428417bff7223b275dd14454e5ffcd6c2e3f7a3f76573c35e69/analysis/1402571530/
Claymore (OP)
Donator
Legendary
*
Offline Offline

Activity: 1610
Merit: 1325

Miners developer


View Profile
June 12, 2014, 11:48:59 AM
 #14

v1.1 is avalable:

- Added 32-bit version. CPU with AES-NI support is still required.

There are 32-bit CPUs with AES-NI? Since when?

Why do you think that this version is for 32-bit CPUs? Smiley It is for 64bit CPUs with Windows 32-bit installed.
why showing Gen:Trojan.Heur.RP.wHW@aCGFbdpi ?

https://www.virustotal.com/en/file/c0cf37744e3ff428417bff7223b275dd14454e5ffcd6c2e3f7a3f76573c35e69/analysis/1402571530/

What is "Archive-652b.zip"? File size is incorrect too.
If you are sure that you use original archive from link in OP, it is false alarm of some bad antivirus. I don't write viruses. I write miners.

EDIT: I've just checked it, you are correct, www.virustotal.com does not like 32-bit version of miner. False alarm 100%, but if you believe to this antivirus - don't use 32-bit version of course.

Please read Readme and FAQ in the first post of this thread before asking any questions, probably the answer is already there.
List of my miners: https://bitcointalk.org/index.php?topic=3019607
griffinriz
Sr. Member
****
Offline Offline

Activity: 476
Merit: 250



View Profile
June 12, 2014, 11:55:44 AM
 #15

v1.1 is avalable:

- Added 32-bit version. CPU with AES-NI support is still required.

There are 32-bit CPUs with AES-NI? Since when?

Why do you think that this version is for 32-bit CPUs? Smiley It is for 64bit CPUs with Windows 32-bit installed.
why showing Gen:Trojan.Heur.RP.wHW@aCGFbdpi ?

https://www.virustotal.com/en/file/c0cf37744e3ff428417bff7223b275dd14454e5ffcd6c2e3f7a3f76573c35e69/analysis/1402571530/

What is "Archive-652b.zip"? File size is incorrect too.
If you are sure that you use original archive from link in OP, it is false alarm of some bad antivirus. I don't write viruses. I write miners.

i downloaded that from mega.co as a zip that's why name was changed btw i know you don't write viruses  Grin i just wanted to confirm.
Claymore (OP)
Donator
Legendary
*
Offline Offline

Activity: 1610
Merit: 1325

Miners developer


View Profile
June 12, 2014, 11:56:45 AM
Last edit: June 12, 2014, 12:18:54 PM by Claymore
 #16

I've just checked it, you are correct, www.virustotal.com does not like 32-bit version of miner. False alarm 100%, my antivirus cannot find any viruses there, but if you believe to this antivirus - don't use 32-bit version of course.

Please read Readme and FAQ in the first post of this thread before asking any questions, probably the answer is already there.
List of my miners: https://bitcointalk.org/index.php?topic=3019607
sleepdog
Full Member
***
Offline Offline

Activity: 183
Merit: 100


View Profile
June 12, 2014, 12:55:32 PM
 #17

This version requires AES-NI support, miner will not work if your CPU does not support it. Support for older CPUs will be added soon.

Do you have a rough ETA for a non-AES-NI version?

I've got a bunch of older servers I'd like to try it on.
Claymore (OP)
Donator
Legendary
*
Offline Offline

Activity: 1610
Merit: 1325

Miners developer


View Profile
June 12, 2014, 02:14:29 PM
 #18

This version requires AES-NI support, miner will not work if your CPU does not support it. Support for older CPUs will be added soon.

Do you have a rough ETA for a non-AES-NI version?

I've got a bunch of older servers I'd like to try it on.

2-3 days I think.

Please read Readme and FAQ in the first post of this thread before asking any questions, probably the answer is already there.
List of my miners: https://bitcointalk.org/index.php?topic=3019607
Yurches
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
June 12, 2014, 05:53:06 PM
 #19

What about WinXP support?
Claymore (OP)
Donator
Legendary
*
Offline Offline

Activity: 1610
Merit: 1325

Miners developer


View Profile
June 12, 2014, 08:15:27 PM
 #20

WinXP support will be added in 1-2 days, support for CPUs without AES-NI too.

Please read Readme and FAQ in the first post of this thread before asking any questions, probably the answer is already there.
List of my miners: https://bitcointalk.org/index.php?topic=3019607
Pages: [1] 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!