Jump to content

HelioMine Beta


Krydos

Recommended Posts

That's normal if you don't have large pages enabled. It won't keep it from working, but it will mean poor performance.

 

Also, after February 1, your PC will stop mining until Krydos updates the script. TurtleCoin requires a custom miner after that date, and the standard Stak miner HelioMine for Linux uses will be incompatible. The Aeon miner is unmaintained and since I have no way of testing it, probably won't work because the pool it used is no longer available.

Link to comment
Share on other sites

Here's the official xmr-stak documentation regarding hugepages:

/*

* LARGE PAGE SUPPORT

* Large pages need a properly set up OS. It can be difficult if you are not used to systems administration,

* but the performance results are worth the trouble - you will get around 20% boost. Slow memory mode is

* meant as a backup, you won't get stellar results there. If you are running into trouble, especially

* on Windows, please read the common issues in the README and FAQ.

*

* On Linux you will need to configure large page support and increase your memlock limit (ulimit -l).

*

* To set large page support, add the following to "/etc/sysctl.d/60-hugepages.conf":

* vm.nr_hugepages=128

* You WILL need to run "sudo sysctl --system" for these settings to take effect on your system (or reboot).

* In some cases (many threads, very large CPU, etc) you may need more than 128

* (try 256 if there are still complaints from thread inits)

*

* To increase the memlock (ulimit -l), add following lines to /etc/security/limits.d/60-memlock.conf:

* * - memlock 262144

* root - memlock 262144

* You WILL need to log out and log back in for these settings to take effect on your user (no need to reboot, just relogin in your session).

*

* Check with "/sbin/sysctl vm.nr_hugepages ; ulimit -l" to validate

*

* Memory locking means that the kernel can't swap out the page to disk - something that is unlikely to happen on a

* command line system that isn't starved of memory. I haven't observed any difference on a CLI Linux system between

* locked and unlocked memory. If that is your setup see option "no_mlck".

*

*

* use_slow_memory defines our behaviour with regards to large pages. There are three possible options here:

* always - Don't even try to use large pages. Always use slow memory.

* warn - We will try to use large pages, but fall back to slow memory if that fails.

* no_mlck - This option is only relevant on Linux, where we can use large pages without locking memory.

* It will never use slow memory, but it won't attempt to mlock

* never - If we fail to allocate large pages we will print an error and exit.

*/

Basically edit /etc/sysctl.d/60-hugepages.conf

vm.nr_hugepages=128
The run

sudo sysctl --system
or just reboot after the next change.

 

Then edit /etc/security/limits.d/60-memlock.conf

*          - memlock 262144
<username> - memlock 262144
Obviously replace <username> with whatever user you're going to be running heliomine. The documentation says root, but there's no reason to run it as root.

 

Then log out of your console, and back in or simply reboot to apply both changes.

 

To test to make sure the changes worked run

$ sysctl vm.nr_hugepages
vm.nr_hugepages = 128

$ ulimit -l
262144
It's a lot of mucking about with important system settings though so most people don't bother. In my testing it usually only adds maybe 2-5% more speed too so it's not really worth it for most people. The documentation claims 20% boost, but I haven't seen anywhere near those numbers on any system I've tested it on.

 

What was the problem with running it on 4 cpus? If it's just the memory alloc thing that is just a warning that you could get slightly faster speeds by following the above instructions. I could disable that warning by forcing the miner to use slow memory only, but then the people who have made the modifications would be stuck using slow memory too. The warning doesn't really hurt anyone and it allows both slow memory and hugepages to function with only one setting.

Link to comment
Share on other sites

Holy moly, yeah. You were doing 166 H/s before. The other thing to keep in mind is mining is heavily dependent on how many other programs your computer has open. Running the miner immediately after a fresh reboot will always yield the highest results. My main computer runs at about 800 H/s after a reboot, but with Chrome and a bunch of other stuff open like during normal use it slows down to more like 400 H/s. So probably not all of your boost came from the hugepages change.

Link to comment
Share on other sites

HelioMine Linux 0.3

 

The newest version of HelioMine Linux is updated to support the changes that are about to happen this week to turtlecoin. There are also some minor changes to how it checks for missing dependencies. Installing it on a new pc would result in 3 or 4 "Missing dependency" errors, and you'd have to run apt install each time. Now if you're missing a dependency it goes ahead and checks for everything it needs all at once so you should only ever need to run one apt install command now to get everything it needs all at once. The way it was before was kind of annoying. It also reports the heliomine version and the xmr-stak version at the beginning out the output to make debugging easier in the future when people post the output.

 

To uninstall the old version just delete heliomine.sh, heliomine.conf, and any subdirectories:

rm -rf heliomine.sh heliomine.conf xmr-stak aeon-stak-cpu xmr-stak-cpu trtl-stak
To install the new version:

wget https://krydos.heliohost.org/heliomine.sh && chmod 755 heliomine.sh
To run it:

./heliomine.sh
When you want to stop the miner press ctrl-c once.

 

Since this is a pretty major update I need some people to test it out before we make a news post about it or anything like that. Let me know if anything is acting weird.

Link to comment
Share on other sites

The linux version is a .sh script, which is just a text file...just download it. https://krydos.heliohost.org/heliomine.sh

 

The major differences in functionality are that turtlecoin assignments now use the turtle-stak miner, which is probably the more interesting part for you: https://github.com/turtlecoin/trtl-stak/releases ...the other main difference is that the statuses reported no longer have LINUX_ on the front.

Link to comment
Share on other sites

Krydos, any chance I can have the source and attempt to build this on macOS soon?

I already ported it to osx. It uses brew instead of apt.

 

To install it

wget https://krydos.heliohost.org/heliomine.mac.sh && chmod 755 heliomine.mac.sh
To run it

./heliomine.mac.sh
The command to install brew is

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
but the script will tell you to install it with that command if you're missing it. I've only tested it on one computer so let me know if you have any issues. A heliohost user granted me temporary ssh access to his computer to develop a mac version. It doesn't have all the latest changes so it will stop working when they roll out the turtlecoin change later this week. I don't have access to the mac anymore to test it so any changes I made would be blind. If you want to grant me ssh access to your mac I'd be happy to update/test it for you.
Link to comment
Share on other sites

Weird, you should definitely NOT be getting an Aeon assignment. Wolstech's code issues the assignments. I wonder if he broke the default Linux assignment. It's supposed to default to Turtlecoin, but if new clients are being assigned Aeon instead it would explain this. He'll have to fix it. I can manually give you a functional assignment though. Try running the miner now.

Link to comment
Share on other sites

That's been fixed. It had set itself to Aeon because I had forced all the turtlecoin assignments to expire the other day due to software updates. That wasn't supposed to apply to Linux though, and when I removed the expiration from the Linux assignment it didn't put itself back on the default list.

 

Interestingly though, provided you supply the correct pools.txt, the turtlecoin stak miner can mine Aeon.

Link to comment
Share on other sites

  • 1 month later...

The HelioMine project hasn't been super secret for a while now so there is no need to PM you the details. I'll just post them here.

 

A few news posts have been made about HelioMine. They are this one https://www.helionet.org/index/topic/30727-heliomine/ which explains that it is a crypto-currency miner that uses your computer to mine and then donates the mined currency to HelioHost. This news post https://www.helionet.org/index/topic/31231-whitelist-heliomine/ explains about white listing the program in your antivirus. Don't worry about that too much though because the new windows installer explains what to do to white list the program. 

 

The windows installer can be downloaded from here https://www.heliohost.org/heliomine/

 

If you need a Linux version see this post https://www.helionet.org/index/topic/30550-heliomine-beta/page-6?do=findComment&comment=155911
A mac version can be  installed by following these instructions https://www.helionet.org/index/topic/30550-heliomine-beta/?p=155915. I am unsure if the mac version is working though so if possible I would stick to either windows or Linux.   

 

You can also compare your mining stats with other miners by looking at the scoreboard here https://www.heliohost.org/heliomine/scoreboard/

Link to comment
Share on other sites

  • 2 months later...
Guest pooks

So um, I was talking with Krydos in Discord and told him about an issue with Heliomine.

 

I know it's supposed to mine when your computer is in idle state, but it won't stop mining unless I forcefully end the task.

 

As of this post, it's been uninstalled but let me know if I should reinstall to test.

 

Thabks.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...