Jump to content


Photo

HelioMine Beta


  • Please log in to reply
88 replies to this topic

#76 wolstech

wolstech

    Rank X Member

  • Root Admin
  • 9,899 posts
  • Gender:Male
  • Location:Pennsylvania

Posted 29 January 2019 - 05:46 PM

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.


Please do not PM me for support. Posting on our forums lets all of us learn.

Do you play Minecraft? | Server Monitors | And the Dumbass of the Decade award goes to...


#77 Krydos

Krydos

    Rank X Member

  • Root Admin
  • 17,575 posts
  • Gender:Male

Posted 29 January 2019 - 06:44 PM

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.

#78 ac23425

ac23425

    Newbie

  • Members
  • 4 posts
  • Gender:Male

Posted 29 January 2019 - 08:04 PM

     

#79 Krydos

Krydos

    Rank X Member

  • Root Admin
  • 17,575 posts
  • Gender:Male

Posted 29 January 2019 - 08:13 PM

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.

#80 Krydos

Krydos

    Rank X Member

  • Root Admin
  • 17,575 posts
  • Gender:Male

Posted 29 January 2019 - 08:18 PM

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.

#81 Bailey

Bailey

    Rank VIII Member

  • Web Developer
  • 756 posts
  • Gender:Male
  • Location:United Kingdom
  • Interests:Coding, duh..

Posted 29 January 2019 - 09:09 PM

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

I've been on HelioHost for a little while now and have developed some of the web services. I use PHP, JavaScript, CSS, HTML, Python & more to develop my websites and apps over at Bailey.guru.
I maintain the wiki, GitHub and the Discord server along with other projects located on GitHub.


#82 wolstech

wolstech

    Rank X Member

  • Root Admin
  • 9,899 posts
  • Gender:Male
  • Location:Pennsylvania

Posted 29 January 2019 - 09:53 PM

The linux version is a .sh script, which is just a text file...just download it. https://krydos.helio...rg/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/t...l-stak/releases ...the other main difference is that the statuses reported no longer have LINUX_ on the front.


Please do not PM me for support. Posting on our forums lets all of us learn.

Do you play Minecraft? | Server Monitors | And the Dumbass of the Decade award goes to...


#83 Krydos

Krydos

    Rank X Member

  • Root Admin
  • 17,575 posts
  • Gender:Male

Posted 29 January 2019 - 10:51 PM

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.

#84 ac23425

ac23425

    Newbie

  • Members
  • 4 posts
  • Gender:Male

Posted 30 January 2019 - 06:46 AM

     

#85 Krydos

Krydos

    Rank X Member

  • Root Admin
  • 17,575 posts
  • Gender:Male

Posted 30 January 2019 - 06:55 AM

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.

#86 ac23425

ac23425

    Newbie

  • Members
  • 4 posts
  • Gender:Male

Posted 30 January 2019 - 07:15 AM

     

#87 wolstech

wolstech

    Rank X Member

  • Root Admin
  • 9,899 posts
  • Gender:Male
  • Location:Pennsylvania

Posted 30 January 2019 - 10:41 AM

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.

Please do not PM me for support. Posting on our forums lets all of us learn.

Do you play Minecraft? | Server Monitors | And the Dumbass of the Decade award goes to...


#88 sohamb03

sohamb03

    Rank I Member

  • Members
  • Pip
  • 26 posts
  • Gender:Male
  • Location:India
  • Interests:Ethical Hacking
    Web Designing(Wordpress)
    App Development

Posted 14 March 2019 - 05:56 AM

Yeah sure .... Would love to try it out! PM me the details asap.


Soham Bhattacharyya

Administrator and C.E.O.

Panther WebTech

 

 


#89 qsgt

qsgt

    Rank II Member

  • Members
  • PipPip
  • 56 posts
  • Gender:Male

Posted 14 March 2019 - 06:56 AM

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...0727-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...list-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...e-6#entry155911
A mac version can be  installed by following these instructions https://www.helionet...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.heliohos...ine/scoreboard/






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users