# Running AWS but 0% CPU usage

**URL:** <https://forum.zcashcommunity.com/t/running-aws-but-0-cpu-usage/1499>\
**Category:** Mining Support\
**Created:** [September 5, 2016, 12:06pm UTC](https://forum.zcashcommunity.com/t/running-aws-but-0-cpu-usage/1499 "2016-09-05T12:06:44Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![Voluntary](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/voluntary/32/4343_2.png) [@Voluntary](https://forum.zcashcommunity.com/u/Voluntary)\
**Post date:** [September 7, 2016, 11:11am UTC](https://forum.zcashcommunity.com/t/running-aws-but-0-cpu-usage/1499/21 "2016-09-07T11:11:04Z")

</div>

Of course it’s worth testing. Optimised or not (and I suspect that aspect of zcashd is in decent shape), it still allows for comparison of different systems.

[https://benchmark.minezcash.com/](https://benchmark.minezcash.com/)

---

<div class="post-metadata">

**Author:** ![foodforthought](https://avatars.discourse-cdn.com/v4/letter/f/4bbf92/32.png) [@foodforthought](https://forum.zcashcommunity.com/u/foodforthought)\
**Post date:** [September 7, 2016, 11:22am UTC](https://forum.zcashcommunity.com/t/running-aws-but-0-cpu-usage/1499/22 "2016-09-07T11:22:14Z")

</div>

Hey @voluntary, great work on setting up the wiki table for performance!  
I’d recommend putting filters on the columns, so that we can order descending/ascending by equihash-10, for example. Wish I could help, but busy right now. Will take a look later if you haven’t already solved it! Cheers, tom

---

<div class="post-metadata">

**Author:** ![trolloniex](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/trolloniex/32/2833_2.png) [@trolloniex](https://forum.zcashcommunity.com/u/trolloniex)\
**Post date:** [September 7, 2016, 11:33am UTC](https://forum.zcashcommunity.com/t/running-aws-but-0-cpu-usage/1499/23 "2016-09-07T11:33:46Z")

</div>

Hard to edit tables, here are mine if anyone is interested in adding them for reference

Intel i7-3930K (3.8 GHz)  
16GB (4x4GB) DDR3 1600  
25sec  
procgenlimit=1  
bare

i7-3630QM (3.4 GHz)  
6GB DDR3 1600  
33sec  
procgenlimit=1  
bare

Intel Xeon E5-2676 2.4 GHz (m4.large)  
59.1 sec  
procgenlimit=1  
VM

Intel Xeon E5-2676 2.4 GHz (m4.large)  
45.3 sec  
procgenlimit=2  
VM

---

<div class="post-metadata">

**Author:** ![Voluntary](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/voluntary/32/4343_2.png) [@Voluntary](https://forum.zcashcommunity.com/u/Voluntary)\
**Post date:** [September 7, 2016, 11:49am UTC](https://forum.zcashcommunity.com/t/running-aws-but-0-cpu-usage/1499/24 "2016-09-07T11:49:17Z")

</div>

@Shawn runs that site.

---

<div class="post-metadata">

**Author:** ![foodforthought](https://avatars.discourse-cdn.com/v4/letter/f/4bbf92/32.png) [@foodforthought](https://forum.zcashcommunity.com/u/foodforthought)\
**Post date:** [September 7, 2016, 11:56am UTC](https://forum.zcashcommunity.com/t/running-aws-but-0-cpu-usage/1499/25 "2016-09-07T11:56:21Z")

</div>

Cool, @Shawn, can you do this, or want me to take a look later? chrs

> I’d recommend putting filters on the columns, so that we can order descending/ascending by equihash-10, for example. Wish I could help, but busy right now. Will take a look later if you haven’t already solved it! Cheers, tom

---

<div class="post-metadata">

**Author:** ![Shawn](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/shawn/32/187_2.png) [@Shawn](https://forum.zcashcommunity.com/u/Shawn)\
**Post date:** [September 7, 2016, 12:16pm UTC](https://forum.zcashcommunity.com/t/running-aws-but-0-cpu-usage/1499/26 "2016-09-07T12:16:29Z")

</div>

Please feel free to have a look and see what you can do. Wikimedia has code for the tables that is tricky to use so I have been having people use the table generator and copy/paste the results. Unfortunately that doesn’t really have advanced table functions like sort/filter.  
If you have a better method I would l be happy to use it.

---

<div class="post-metadata">

**Author:** ![Shawn](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/shawn/32/187_2.png) [@Shawn](https://forum.zcashcommunity.com/u/Shawn)\
**Post date:** [September 7, 2016, 12:18pm UTC](https://forum.zcashcommunity.com/t/running-aws-but-0-cpu-usage/1499/27 "2016-09-07T12:18:57Z")

</div>

Thanks @trolloniex I will add yours and blackhatzw info to the table when I get some free time.

---

<div class="post-metadata">

**Author:** ![blackhatzw](https://avatars.discourse-cdn.com/v4/letter/b/ce73a5/32.png) [@blackhatzw](https://forum.zcashcommunity.com/u/blackhatzw)\
**Post date:** [September 8, 2016, 2:45am UTC](https://forum.zcashcommunity.com/t/running-aws-but-0-cpu-usage/1499/28 "2016-09-08T02:45:46Z")

</div>

I stopped the VM in AWS yesterday and start it today but zcash server can’t start anymore, did you hit this issue before?

ubuntu@ip-xxxxxxxx:~/zcash/src$ ./zcashd -daemon  
Zcash server starting  
ubuntu@ip-xxxxxxx:~/zcash/src$ ./zcash-cli getinfo  
error: couldn’t connect to server  
ubuntu@ip-xxxxxxxxx:~/zcash/src$ ./zcash-cli getinfo  
error: couldn’t connect to server  
ubuntu@ip-xxxxxxxx:~/zcash/src$ ./zcash-cli getinfo  
error: couldn’t connect to server

---

<div class="post-metadata">

**Author:** ![blackhatzw](https://avatars.discourse-cdn.com/v4/letter/b/ce73a5/32.png) [@blackhatzw](https://forum.zcashcommunity.com/u/blackhatzw)\
**Post date:** [September 8, 2016, 6:34am UTC](https://forum.zcashcommunity.com/t/running-aws-but-0-cpu-usage/1499/29 "2016-09-08T06:34:13Z")

</div>

I will post my testing result based on Beta1.

---

<div class="post-metadata">

**Author:** ![trolloniex](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/trolloniex/32/2833_2.png) [@trolloniex](https://forum.zcashcommunity.com/u/trolloniex)\
**Post date:** [September 8, 2016, 6:34am UTC](https://forum.zcashcommunity.com/t/running-aws-but-0-cpu-usage/1499/30 "2016-09-08T06:34:58Z")

</div>

Same waiting for it to be released 🙂

---

<div class="post-metadata">

**Author:** ![daira](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/daira/32/43253_2.png) [@daira](https://forum.zcashcommunity.com/u/daira)\
**Post date:** [September 10, 2016, 2:12pm UTC](https://forum.zcashcommunity.com/t/running-aws-but-0-cpu-usage/1499/31 "2016-09-10T14:12:11Z")

</div>

It’s `genproclimit`, not `procgenlimit`.

---

<div class="post-metadata">

**Author:** ![blackhatzw](https://avatars.discourse-cdn.com/v4/letter/b/ce73a5/32.png) [@blackhatzw](https://forum.zcashcommunity.com/u/blackhatzw)\
**Post date:** [September 18, 2016, 9:17am UTC](https://forum.zcashcommunity.com/t/running-aws-but-0-cpu-usage/1499/32 "2016-09-18T09:17:19Z")

</div>

Test on C4.2xlarge:

ubuntu@ip-xxxxxxxxxx:~/zcash/src$ time ./zcash-cli zcbenchmark solveequihash 10  
[  
{  
“runningtime” : 56.25224500  
},  
{  
“runningtime” : 28.66505300  
},  
{  
“runningtime” : 41.76247000  
},  
{  
“runningtime” : 28.50802500  
},  
{  
“runningtime” : 28.60153800  
},  
{  
“runningtime” : 55.77457600  
},  
{  
“runningtime” : 55.71295300  
},  
{  
“runningtime” : 56.03348500  
},  
{  
“runningtime” : 56.30824900  
},  
{  
“runningtime” : 42.00046400  
}  
]

real 7m29.623s  
user 0m0.004s  
sys 0m0.000s

---

<div class="post-metadata">

**Author:** ![blackhatzw](https://avatars.discourse-cdn.com/v4/letter/b/ce73a5/32.png) [@blackhatzw](https://forum.zcashcommunity.com/u/blackhatzw)\
**Post date:** [September 18, 2016, 9:27am UTC](https://forum.zcashcommunity.com/t/running-aws-but-0-cpu-usage/1499/33 "2016-09-18T09:27:53Z")

</div>

Another test with genproclimit parameter:

ubuntu@ip-xxxxxxxxx:~/zcash/src$ time ./zcash-cli zcbenchmark solveequihash 10 [  
{  
“runningtime” : 29.06952500  
},  
{  
“runningtime” : 35.92974000  
},  
{  
“runningtime” : 43.18478200  
},  
{  
“runningtime” : 57.58049600  
},  
{  
“runningtime” : 57.09156600  
},  
{  
“runningtime” : 14.49394600  
},  
{  
“runningtime” : 57.23365000  
},  
{  
“runningtime” : 14.68988600  
},  
{  
“runningtime” : 43.24290800  
},  
{  
“runningtime” : 57.61352100  
}  
]

real 6m50.134s  
user 0m0.004s  
sys 0m0.000s

---

<div class="post-metadata">

**Author:** ![blackhatzw](https://avatars.discourse-cdn.com/v4/letter/b/ce73a5/32.png) [@blackhatzw](https://forum.zcashcommunity.com/u/blackhatzw)\
**Post date:** [September 18, 2016, 9:31am UTC](https://forum.zcashcommunity.com/t/running-aws-but-0-cpu-usage/1499/34 "2016-09-18T09:31:03Z")

</div>

Regarding the results, I have a question, where are there ten “runningtime”? My cloud machine only has 4 vCPU.

---

<div class="post-metadata">

**Author:** ![Voluntary](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/voluntary/32/4343_2.png) [@Voluntary](https://forum.zcashcommunity.com/u/Voluntary)\
**Post date:** [September 18, 2016, 9:41am UTC](https://forum.zcashcommunity.com/t/running-aws-but-0-cpu-usage/1499/35 "2016-09-18T09:41:45Z")

</div>

The ‘10’ parameter you entered is for the number of consecutive times the equihash benchmark executes. There’s an optional second parameter for specifying the number of CPUs / cores but I don’t know if it’s actually implemented yet…

---

<div class="post-metadata">

**Author:** ![blackhatzw](https://avatars.discourse-cdn.com/v4/letter/b/ce73a5/32.png) [@blackhatzw](https://forum.zcashcommunity.com/u/blackhatzw)\
**Post date:** [September 18, 2016, 2:24pm UTC](https://forum.zcashcommunity.com/t/running-aws-but-0-cpu-usage/1499/37 "2016-09-18T14:24:37Z")

</div>

Do you mean the parameter “genproclimit”, I have set up this parameters, it works well.

---

<div class="post-metadata">

**Author:** ![foodforthought](https://avatars.discourse-cdn.com/v4/letter/f/4bbf92/32.png) [@foodforthought](https://forum.zcashcommunity.com/u/foodforthought)\
**Post date:** [September 20, 2016, 3:28pm UTC](https://forum.zcashcommunity.com/t/running-aws-but-0-cpu-usage/1499/38 "2016-09-20T15:28:26Z")

</div>

Hi, @Shawn, I finally got round to doing this. I thought it would be a pain, but it was laughably simple 😀! All I had to do was change it from

`class="wikitable"`  
to  
`class="wikitable sortable"`

and it automagically did what I wanted! Now you can sort the tables by column, which makes it much easier to see what performs best and worst. The method of entering data etc. (in fact, nothing else) has changed!

---

<div class="post-metadata">

**Author:** ![Shawn](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/shawn/32/187_2.png) [@Shawn](https://forum.zcashcommunity.com/u/Shawn)\
**Post date:** [September 20, 2016, 4:09pm UTC](https://forum.zcashcommunity.com/t/running-aws-but-0-cpu-usage/1499/39 "2016-09-20T16:09:22Z")

</div>

@foodforthought Nice find! I didn’t even know about the different classes of tables, this will help a lot 😆

---

<div class="post-metadata">

**Author:** ![foodforthought](https://avatars.discourse-cdn.com/v4/letter/f/4bbf92/32.png) [@foodforthought](https://forum.zcashcommunity.com/u/foodforthought)\
**Post date:** [September 21, 2016, 11:56am UTC](https://forum.zcashcommunity.com/t/running-aws-but-0-cpu-usage/1499/40 "2016-09-21T11:56:59Z")

</div>

Have made some modifications to the table; hope that’s cool with you? Have added RAM per core, and made the numerical numbers sortable as numbers, rather than strings.  
I’m not sure everyone’s following the same formula for calculating hashrate/core, though 😆!

---

<div class="post-metadata">

**Author:** ![Shawn](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/shawn/32/187_2.png) [@Shawn](https://forum.zcashcommunity.com/u/Shawn)\
**Post date:** [September 21, 2016, 1:16pm UTC](https://forum.zcashcommunity.com/t/running-aws-but-0-cpu-usage/1499/41 "2016-09-21T13:16:14Z")

</div>

Yeah, I’m not sure we can use the H/s formula for a huge Cloud instance. Maybe we need to have a separate chart for clouds since you are using so many separate processors it’s probably not possible to accurately measure single core performance, nor is it possible to know the precise memory configuration. So it would only need the average time column, num. CPU’s, memory amount, and maybe a cost?

[Previous page](https://forum.zcashcommunity.com/t/running-aws-but-0-cpu-usage/1499.md?page=1)

[Next page](https://forum.zcashcommunity.com/t/running-aws-but-0-cpu-usage/1499.md?page=3)
