[Available Plugin] XMRig - Monero (XMR) and AEON Cryptocurrency Miner

Joined
Apr 9, 2015
Messages
1,258
Well the author recommends using x5 etc within xmrig, so that wouldn't cripple the system.

It only cripples the miner leaving the rest of the system to do whatever it wants.
 

escrima

Explorer
Joined
Jan 14, 2015
Messages
67
Again, I can't gauge the effects on the miner, as I'm running a much underpowered i3. His article states the miner gets a higher hashrate with HT disabled.
 
Joined
Apr 9, 2015
Messages
1,258
And as far as I know i3 does not have hyperthreading anyway. But even thinking about turning it off to benefit the miner to the detriment of the rest of the system is backwards thinking. It's like buying a sports car and then hooking up a 10000 pound trailer to the back in while taking it for a drive down the interstate to see what it will do.

If you want to worry about miner performance build a miner that has nothing to do other than hash. When it comes to mining on your FreeNAS be happy if you make your electricity cost back.
 

escrima

Explorer
Joined
Jan 14, 2015
Messages
67
https://ark.intel.com/products/65690/Intel-Core-i3-3240-Processor-3M-Cache-3_40-GHz

Unless I am massively misunderstanding something, turning off hyperthreading WITHIN THE MINER would have absolutely zero effect on the system at large.

So, I did it on my miner. On average, the hashrate is approx the same, but it now spikes about 15-20 HR higher. Which is about a 20% increase in max hashrate.

Either way, I just happened upon the article and shared it in case it actually helped someone run the miner more efficiently. Like I said, my cpu isn't going to see much of a gain, if any.
 

enemy85

Guru
Joined
Jun 10, 2011
Messages
757
ok, so it seems I'm the only person here having troubles with the plugin...
after downloading it and setting the plugin as reported, it doesn't start at all...
where am I wrong???
 

Attachments

  • xmrig.jpg
    xmrig.jpg
    59.7 KB · Views: 452

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
ok, so it seems I'm the only person here having troubles with the plugin...
after downloading it and setting the plugin as reported, it doesn't start at all...
where am I wrong???
Did you enable it on the Plugins > Installed tab?
If so, you could try starting it on the command line for its jail and see if an error pops up.
'service xmrig start'
 

enemy85

Guru
Joined
Jun 10, 2011
Messages
757
Did you enable it on the Plugins > Installed tab?
If so, you could try starting it on the command line for its jail and see if an error pops up.
'service xmrig start'
it's from the Plugins > Installed tab that i was not able to make it start...
now deleted and trying to download, install again...
the strange thing is that i didn't get either any log message on the footer tab of webui
 

enemy85

Guru
Joined
Jun 10, 2011
Messages
757
'service xmrig start'

[root@freenas ~]# service xmrig start
xmrig does not exist in /etc/rc.d or the local startup
directories (/etc/ix.rc.d /usr/local/etc/rc.d), or is not executable
[root@freenas ~]#
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
[root@freenas ~]# service xmrig start
xmrig does not exist in /etc/rc.d or the local startup
directories (/etc/ix.rc.d /usr/local/etc/rc.d), or is not executable
[root@freenas ~]#
that's why i said to do it in the plugin's jail.
 

enemy85

Guru
Joined
Jun 10, 2011
Messages
757
that's why i said to do it in the plugin's jail.

right, my fault

root@xmrig_1:/ # service xmrig start
Starting xmrig.
su: unknown login: xmrig
/usr/local/etc/rc.d/xmrig: WARNING: failed to start xmrig
root@xmrig_1:/ #
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
right, my fault

root@xmrig_1:/ # service xmrig start
Starting xmrig.
su: unknown login: xmrig
/usr/local/etc/rc.d/xmrig: WARNING: failed to start xmrig
root@xmrig_1:/ #
no prob. that error usually happens if the permissions of the plugin jail gets screwed up.
you didn't happen to change the permissions of the jail dataset?
you can verify with the following command in the jail.
ls -l /*


did you ever try the reinstall of the plugin? that usually fixes it, unless the template jail is messed up too
 

enemy85

Guru
Joined
Jun 10, 2011
Messages
757
no prob. that error usually happens if the permissions of the plugin jail gets screwed up.
you didn't happen to change the permissions of the jail dataset?
you can verify with the following command in the jail.
ls -l /*


did you ever try the reinstall of the plugin? that usually fixes it, unless the template jail is messed up too

didn't touch any permission, and already tried to reinstall it without success (the jail itself was cancelled and reinstalled)

Code:
root@xmrig_1:/ # ls -l																											 
total 227																														   
-rw-r--r--   2 root  wheel   957 Sep 29  2016 .cshrc																				
drwxr-xr-x   2 root  wheel	 4 Jan 25 18:44 .plugins																			 
-rw-r--r--   2 root  wheel   249 Sep 29  2016 .profile																			 
drwxr-xr-x   2 root  wheel	47 Sep 29  2016 bin																				   
drwxr-xr-x   8 root  wheel	51 Sep 29  2016 boot																				 
-r--r--r--   1 root  wheel  6197 Sep 29  2016 COPYRIGHT																			 
dr-xr-xr-x  13 root  wheel   512 Jan 25 18:44 dev																				   
drwxr-xr-x  25 root  wheel   109 Jan 25 18:48 etc																				   
drwxr-xr-x   4 root  wheel	56 Sep 29  2016 lib																				   
drwxr-xr-x   3 root  wheel	 5 May 12  2017 libexec																			   
drwxr-xr-x   2 root  wheel	 2 Sep 29  2016 media																				 
drwxr-xr-x   2 root  wheel	 2 Sep 29  2016 mnt																				   
dr-xr-xr-x   1 root  wheel	 0 Jan 25 18:55 proc																				 
drwxr-xr-x   2 root  wheel   146 Sep 29  2016 rescue																				
drwxr-xr-x   2 root  wheel	 6 Sep 29  2016 root																				 
drwxr-xr-x   2 root  wheel   136 Sep 29  2016 sbin																				 
lrwxr-xr-x   1 root  wheel	11 Sep 29  2016 sys -> usr/src/sys																	
drwxrwxrwt   2 root  wheel	 2 Jan 25 18:48 tmp																				   
drwxr-xr-x  15 root  wheel	15 Jan 25 18:44 usr																				   
drwxr-xr-x  25 root  wheel	25 Jan 25 18:44 var																				   
root@xmrig_1:/ #										 


(the ls -l /* is quite long... do you need it?)
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
ohh your permission are all good. i reread your error and totally missed it was because of a missing user.

not sure why the xmrig user didnt get installed, but this should work (run in the jail)
Code:
pw useradd -n xmrig -u 155 -d /nonexistent -s /sbin/nologin
 

enemy85

Guru
Joined
Jun 10, 2011
Messages
757
ohh your permission are all good. i reread your error and totally missed it was because of a missing user.

not sure why the xmrig user didnt get installed, but this should work (run in the jail)
Code:
pw useradd -n xmrig -u 155 -d /nonexistent -s /sbin/nologin
Perfect! Now it works! Just stranged it happend twice...
Now I have just to understand how to set it better.
Thanks

Inviato dal mio LG-D855 utilizzando Tapatalk
 

enemy85

Guru
Joined
Jun 10, 2011
Messages
757
Perfect! Now it works! Just stranged it happend twice...
Now I have just to understand how to set it better.
Thanks

Inviato dal mio LG-D855 utilizzando Tapatalk
May i just ask you what the "donate level %" is and what does it happen if i modify it?

Inviato dal mio LG-D855 utilizzando Tapatalk
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
May i just ask you what the "donate level %" is and what does it happen if i modify it?

Inviato dal mio LG-D855 utilizzando Tapatalk
that is how much of your hashing time (1-99%) is donated to the devs. you can lower it to 1, just don't set it to 0 or it will reset to the default of 5.
 

enemy85

Guru
Joined
Jun 10, 2011
Messages
757
that is how much of your hashing time (1-99%) is donated to the devs. you can lower it to 1, just don't set it to 0 or it will reset to the default of 5.
Can't login to
https://monero.hashvault.pro/en/#!/
It says invalid password...

I put my wallet public address set on the plugin and as password the "Password for mining pool" (myemail@hotmail.com)set in the xmrig plugin tab.
Where am I wrong?

Inviato dal mio LG-D855 utilizzando Tapatalk
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Can't login to
https://monero.hashvault.pro/en/#!/
It says invalid password...

I put my wallet public address set on the plugin and as password the "Password for mining pool" (myemail@hotmail.com)set in the xmrig plugin tab.
Where am I wrong?

Inviato dal mio LG-D855 utilizzando Tapatalk
not sure where the issue is coming from.
for password i always put a worker id, not sure if that's required though. "freenas:myemail@hotmail.com"

did you check the api to verify it is mining, maybe the miner couldn't login, so the mining pool website doesn't know your email yet.
 

enemy85

Guru
Joined
Jun 10, 2011
Messages
757
not sure where the issue is coming from.
for password i always put a worker id, not sure if that's required though. "freenas:myemail@hotmail.com"

did you check the api to verify it is mining, maybe the miner couldn't login, so the mining pool website doesn't know your email yet.
Yes, seems to be mining, even if it reports in the graphs just a 25% cpu usage (with an i3 I put 0x5, 4 threads,100%cpu usage).(is that normal? Is it set as the max i can mine?)

You put
freenas:myemail@hotmail.com
On the FN plugin tab or as password oh the website?

Inviato dal mio LG-D855 utilizzando Tapatalk
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Yes, seems to be mining, even if it reports in the graphs just a 25% cpu usage (with an i3 I put 0x5, 4 threads,100%cpu usage).(is that normal? Is it set as the max i can mine?)

You put
freenas:myemail@hotmail.com
On the FN plugin tab or as password oh the website?

Inviato dal mio LG-D855 utilizzando Tapatalk
i put that in the freenas settings. on the website i used my email, then after my first login i changed the password to something else

as for your cpu usage, if you enabled "safe" even if you specify 4 threads xmrig may lower it to what it thinks is optimal for the processor.

i think for an i3 i would put '0x5' for affinity as you did, and just try 2 threads. i3's only have 3MB cache so i think more threads won't help.
 
Top