Author Topic: [GUIDE] Mining on Amazon EC2 using Spot instances  (Read 26165 times)

0 Members and 1 Guest are viewing this topic.

Offline hm

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: [GUIDE] Mining on Amazon EC2 using Spot instances
« Reply #77 on: December 03, 2013, 08:34:28 pm »
another one: 25$ from bigdatauniversity
http://bigdatauniversity.com/web/aws-credit.php
though, you have to check back 'cause right now they don't have enough coupons.

Offline hm

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: [GUIDE] Mining on Amazon EC2 using Spot instances
« Reply #76 on: December 03, 2013, 07:02:57 pm »
I didn't get the 25$ german "Startguthaben" yet.
But here is another promotion: 50$ RedHat Enterprise Linux http://aws.amazon.com/en/rhel/get-started-on-rhel/

Offline hm

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: [GUIDE] Mining on Amazon EC2 using Spot instances
« Reply #75 on: December 03, 2013, 03:41:37 am »
some more virtual money to burn on virtual servers.
25$ for new customers
https://aws.amazon.com/de/startguthaben-neukunden/
nein=no customer, ja=already customer
I checked "ja" since I am a new customer, but for about 3 days only, so let's see if I still get the aws credits.

Offline gee

  • Newbie
  • *
  • Posts: 16
    • View Profile
Re: [GUIDE] Mining on Amazon EC2 using Spot instances
« Reply #74 on: December 01, 2013, 12:29:22 pm »
This is the response I got from Amazon.  I haven't tried it but it seems that only certain instance types actually support AVX and the rest are falsely reporting that they do, which crashes software using the cpu flags to detect AVX.

Quote
Hi,

AVX instructions are supported only when HVM virtualization is used. There are HVM versions of the Amazon Linux AMI and Ubuntu AMI available. Unfortunately AVX cannot be used with a PV Linux AMI due to incompatibilities with some Linux kernels regarding XSAVE instructions.

A list of HVM Amazon Linux AMI IDs is available here: http://aws.amazon.com/amazon-linux-ami/

I apologize for the confusion and any inconvenience this caused.

Thanks so much !
It works!
Too bad we didn't know that earlier :/
PTS: PrMPxrY1cG6ftfpy3Ae5NEBhW7bqNbVZU5

Offline jabbaah

  • Jr. Member
  • **
  • Posts: 28
    • View Profile
Re: [GUIDE] Mining on Amazon EC2 using Spot instances
« Reply #73 on: November 29, 2013, 12:19:27 pm »
Actually you have to use the SSE4 because some of the EC2 Instance options do not let you use AVX even though it's incorrectly listed as being able to.

Ah, ok. I do not use EC2 currently for mining, but virtual machines from another cloud provider here in Germany. It's the same situation (Xen, paravirtualization). Thought it might be different with EC2, therefore I included the fallback, just to be sure.
http://www.dmsp.de/Protoshares   ---   https://github.com/spommerening/ptstools
PTS: PouLU5HendYGqZXwHnzdvBeMboJsUu1z2b   ---   BTC: 1QLNqVxhi3JrC8A4PfTF7jCoSi4h4pQV1R

Offline lordfirefox

  • Jr. Member
  • **
  • Posts: 27
    • View Profile
Re: [GUIDE] Mining on Amazon EC2 using Spot instances
« Reply #72 on: November 29, 2013, 11:51:10 am »
Well, unfortunately even with RC2 it is not yet fixed. Anyway your work-around is working. (Command line parameter)

If someone is using my ptstools (description here: http://www.dmsp.de/Protoshares)... meanwhile I included a watchdog resulting in a fallback to SSE4 after having tried (and failed) with AVX. Nevertheless all parameters are passed transparently to the ptsminer itself. If you did not enter any additional parameters it used the default set with AVX -> SSE4 fallback.

Actually you have to use the SSE4 because some of the EC2 Instance options do not let you use AVX even though it's incorrectly listed as being able to.
PTS: Pimu7pvvbCJF9LKsCUw2ZUb2pdHRzLLjBa

Offline HCarvalho

  • Jr. Member
  • **
  • Posts: 40
    • View Profile
Re: [GUIDE] Mining on Amazon EC2 using Spot instances
« Reply #71 on: November 29, 2013, 11:43:43 am »
How do I know when my credit is spent? I'm using this for almost 24 hours and in the billing tab it says 0$ crdits used

Offline jabbaah

  • Jr. Member
  • **
  • Posts: 28
    • View Profile
Re: [GUIDE] Mining on Amazon EC2 using Spot instances
« Reply #70 on: November 29, 2013, 10:17:55 am »
Well, unfortunately even with RC2 it is not yet fixed. Anyway your work-around is working. (Command line parameter)

If someone is using my ptstools (description here: http://www.dmsp.de/Protoshares)... meanwhile I included a watchdog resulting in a fallback to SSE4 after having tried (and failed) with AVX. Nevertheless all parameters are passed transparently to the ptsminer itself. If you did not enter any additional parameters it used the default set with AVX -> SSE4 fallback.
http://www.dmsp.de/Protoshares   ---   https://github.com/spommerening/ptstools
PTS: PouLU5HendYGqZXwHnzdvBeMboJsUu1z2b   ---   BTC: 1QLNqVxhi3JrC8A4PfTF7jCoSi4h4pQV1R

Offline lordfirefox

  • Jr. Member
  • **
  • Posts: 27
    • View Profile
Re: [GUIDE] Mining on Amazon EC2 using Spot instances
« Reply #69 on: November 29, 2013, 09:10:39 am »
Just an update to bring this up to current:

You can use SSE4 option to get around the core dump issue.

Example: ./ptsminer <your wallet address> 16 27 sse4

Don't know why anyone hasn't updated on this issue now that it's fixed.
PTS: Pimu7pvvbCJF9LKsCUw2ZUb2pdHRzLLjBa

Offline runderwo

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: [GUIDE] Mining on Amazon EC2 using Spot instances
« Reply #68 on: November 27, 2013, 09:45:41 pm »
This is the response I got from Amazon.  I haven't tried it but it seems that only certain instance types actually support AVX and the rest are falsely reporting that they do, which crashes software using the cpu flags to detect AVX.

Quote
Hi,

AVX instructions are supported only when HVM virtualization is used. There are HVM versions of the Amazon Linux AMI and Ubuntu AMI available. Unfortunately AVX cannot be used with a PV Linux AMI due to incompatibilities with some Linux kernels regarding XSAVE instructions.

A list of HVM Amazon Linux AMI IDs is available here: http://aws.amazon.com/amazon-linux-ami/

I apologize for the confusion and any inconvenience this caused.

Offline jedixjarf

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: [GUIDE] Mining on Amazon EC2 using Spot instances
« Reply #67 on: November 27, 2013, 09:41:00 pm »
Yeah, I can disable AVX.  I guess my question is more along the lines of whether anyone has gotten AVX to work on an EC2 instance.  Amazon claims it is supported but for some reason the program dies when an AVX instruction is encountered.

It's not enabled on the e5 2650's or 2670's. Do a "cat /proc/cpuinfo" and AVX does not show up.
If I helped in anyway please say thanks with some PTS :P

PTS:PZmevKSeb6g12hPDs8MkaFrMgw7cjNJZDa

Offline Moonover

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: [GUIDE] Mining on Amazon EC2 using Spot instances
« Reply #66 on: November 27, 2013, 09:39:18 pm »
I'll give it a shot juste for fun ... 24 hours to check what's the yield ... thx for the post man !
PTC: PvKj1axZ8hX3oGsR7G4RS17VsGjKKQ16BK
BET: BJG5dL76BuXhMyWHQqg98hjKTsGxFgCtDd
LTC: LNz7SviBgTGqNpJBGmX9Vt2nj6DL2wcSoc

Offline runderwo

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: [GUIDE] Mining on Amazon EC2 using Spot instances
« Reply #65 on: November 23, 2013, 12:28:15 pm »
Yeah, I can disable AVX.  I guess my question is more along the lines of whether anyone has gotten AVX to work on an EC2 instance.  Amazon claims it is supported but for some reason the program dies when an AVX instruction is encountered.

Offline wirel1

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: [GUIDE] Mining on Amazon EC2 using Spot instances
« Reply #64 on: November 23, 2013, 11:27:59 am »
Thank you, it worked, i used vi to edit the .c file and now it works with the permformance of 0.5.
Hope when the bug gets fixed we can use the performance bump of avx.

Sent a small token of appreciation, thank you again for the help.
« Last Edit: November 23, 2013, 11:32:28 am by wirel1 »

Offline jabbaah

  • Jr. Member
  • **
  • Posts: 28
    • View Profile
Re: [GUIDE] Mining on Amazon EC2 using Spot instances
« Reply #63 on: November 23, 2013, 11:15:36 am »
Same issue , illegal instruction (core dumped) with 0.7avx on beeer via ec2

As far as I understand this is exactly the bug which is going to be fixed during this weekend.

Until then you can use a work-around which I described on this page:
http://www.dmsp.de/Protoshares

I used to have this problem every now and then, too. Meanwhile I run 10 virtual linux boxes - all using 0.7 RC0.
http://www.dmsp.de/Protoshares   ---   https://github.com/spommerening/ptstools
PTS: PouLU5HendYGqZXwHnzdvBeMboJsUu1z2b   ---   BTC: 1QLNqVxhi3JrC8A4PfTF7jCoSi4h4pQV1R