create account

How to improve Steem mining performance by testz

View this thread on: hive.blogpeakd.comecency.com
· @testz ·
$1,038.21
How to improve Steem mining performance
You can get **~10%** performance improvements if you recompile **fc** with **libgmp** support, using following instruction.

1. Install **libgmp** (requires only for compilation) using command: `sudo apt-get install libgmp-dev`
2. Make change to **fc** library described in this [commit](https://github.com/testzcrypto/fc/commit/3dd56e306aba9ffc34e4f973a7f7c8367c24e846) 
3. Reconfigure and recompile Steem as usual (**cmake .** & **make**)
4. Enjoy!

***Please post here how much performance boost you get.***

Feel free to share the link to this page. At this page I will publish updates and future optimizations if any.

If you found this information useful, any donations will be greatly appreciated. My **Steem** and **BitShares** account is [**testz**](https://steemit.com/@testz)

PS: For some non-modern systems you can get additional performance improvements by using compiler optimization options described in this [commit](https://github.com/testzcrypto/fc/commit/8a7eb9e3b795821b83757c9eeacf48b1cb9c52e3)
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 3 others
👎  
properties (23)
authortestz
permlinkhow-to-improve-steem-mining-performance
categorysteem
json_metadata{}
created2016-04-25 12:50:12
last_update2016-04-25 12:50:12
depth0
children20
last_payout2016-08-21 03:05:48
cashout_time1969-12-31 23:59:59
total_payout_value519.120 HBD
curator_payout_value519.090 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length1,016
author_reputation32,317,482,835,114
root_title"How to improve Steem mining performance"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id789
net_rshares112,363,709,742,746
author_curate_reward""
vote details (68)
@abit ·
How about linking libgmp statically?
👍  , ,
properties (23)
authorabit
permlinkre-testz-how-to-improve-steem-mining-performance-20160425t152339243z
categorysteem
json_metadata{}
created2016-04-25 15:23:39
last_update2016-04-25 15:23:39
depth1
children1
last_payout2016-08-21 03:05:48
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length36
author_reputation141,171,499,037,785
root_title"How to improve Steem mining performance"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id801
net_rshares962,992,433
author_curate_reward""
vote details (3)
@testz ·
It’s should link statically with libgmp by default.
properties (22)
authortestz
permlinkre-abit-re-testz-how-to-improve-steem-mining-performance-20160425t152339243z-20160425t154621390z
categorysteem
json_metadata{}
created2016-04-25 15:46:21
last_update2016-04-25 15:46:21
depth2
children0
last_payout2016-08-21 03:05:48
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length51
author_reputation32,317,482,835,114
root_title"How to improve Steem mining performance"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id806
net_rshares0
@abit ·
Tested with an AWS 36core VPS. hps 116k -> 119k. 
👍  
properties (23)
authorabit
permlinkre-testz-how-to-improve-steem-mining-performance-20160425t152838423z
categorysteem
json_metadata{}
created2016-04-25 15:28:39
last_update2016-04-25 15:28:39
depth1
children12
last_payout2016-08-21 03:05:48
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length49
author_reputation141,171,499,037,785
root_title"How to improve Steem mining performance"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id802
net_rshares25,412,193,680
author_curate_reward""
vote details (1)
@abit ·
AWS 36 core VPS with [MPIR](http://mpir.org/) , hps 125k 
👍  ,
properties (23)
authorabit
permlinkre-abit-re-testz-how-to-improve-steem-mining-performance-20160425t152838423z-20160425t204151258z
categorysteem
json_metadata{}
created2016-04-25 20:41:54
last_update2016-04-25 20:41:54
depth2
children10
last_payout2016-08-21 03:05:48
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length57
author_reputation141,171,499,037,785
root_title"How to improve Steem mining performance"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id822
net_rshares41,104,017,554
author_curate_reward""
vote details (2)
@abit ·
```
...
sudo apt-get remove libgmp-dev
wget -c http://mpir.org/mpir-2.7.2.tar.bz2
tar xjf mpir-2.7.2.tar.bz2
cd mpir
./configure --enable-gmpcompat
make
sudo make install
cd ..

cd steem
cmake ...
```
By the way, an earlier version of @testz's patch will link libgmp dynamically, don't know if it's fixed.
👍  , ,
properties (23)
authorabit
permlinkre-abit-re-abit-re-testz-how-to-improve-steem-mining-performance-20160425t152838423z-20160425t204151258z-20160428t101454479z
categorysteem
json_metadata{}
created2016-04-28 10:15:03
last_update2016-04-28 10:15:03
depth3
children9
last_payout2016-08-21 03:05:48
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length305
author_reputation141,171,499,037,785
root_title"How to improve Steem mining performance"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id1,053
net_rshares41,897,391,959
author_curate_reward""
vote details (3)
@loum · (edited)
Hi, abit..
I want to know how to mine Steem.
Do you know that or posts?
I plan to use AWS.. Thanks..
properties (22)
authorloum
permlinkre-abit-re-testz-how-to-improve-steem-mining-performance-20160808t015937945z
categorysteem
json_metadata{"tags":["steem"]}
created2016-08-08 01:59:54
last_update2016-08-08 02:02:12
depth2
children0
last_payout2016-08-21 03:05:48
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length100
author_reputation6,704,515,659,183
root_title"How to improve Steem mining performance"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id674,719
net_rshares0
@au1nethyb1 ·
I got an 8% increase : From 13.6Khps to 14.7 ;-) thx.

![Before & After](http://content.screencast.com/users/nethyb/folders/Default/media/cfdb4a99-6d64-444d-bf59-3aefe0433118/2016-04-25_22-57-11.png)
👍  
properties (23)
authorau1nethyb1
permlinkre-testz-how-to-improve-steem-mining-performance-20160425t151429644z
categorysteem
json_metadata{}
created2016-04-25 15:14:30
last_update2016-04-25 15:14:30
depth1
children1
last_payout2016-08-21 03:05:48
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length199
author_reputation13,097,455,837,487
root_title"How to improve Steem mining performance"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id798
net_rshares24,034,990,167
author_curate_reward""
vote details (1)
@testz ·
It's should link statically with libgmp by default.
properties (22)
authortestz
permlinkre-au1nethyb1-re-testz-how-to-improve-steem-mining-performance-20160425t151429644z-20160425t154332630z
categorysteem
json_metadata{}
created2016-04-25 15:43:33
last_update2016-04-25 15:43:33
depth2
children0
last_payout2016-08-21 03:05:48
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length51
author_reputation32,317,482,835,114
root_title"How to improve Steem mining performance"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id805
net_rshares0
@litrbooh ·
Отличный пост, пойду только сначала разберусь как вообще майнить. :)
👍  
properties (23)
authorlitrbooh
permlinkre-testz-how-to-improve-steem-mining-performance-20160719t135223697z
categorysteem
json_metadata{"tags":["steem"]}
created2016-07-19 14:55:27
last_update2016-07-19 14:55:27
depth1
children0
last_payout2016-08-21 03:05:48
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length68
author_reputation12,512,751,518,685
root_title"How to improve Steem mining performance"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id189,837
net_rshares56,120,984
author_curate_reward""
vote details (1)
@modprobe ·
Went from ~24k to ~26k. :)
properties (22)
authormodprobe
permlinkre-testz-how-to-improve-steem-mining-performance-20160522t162130493z
categorysteem
json_metadata{}
created2016-05-22 16:21:30
last_update2016-05-22 16:21:30
depth1
children0
last_payout2016-08-21 03:05:48
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length26
author_reputation57,055,357,664,878
root_title"How to improve Steem mining performance"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id11,024
net_rshares0
@pfunk ·
I saw an 8.5-9% increase in hps. Thanks for sharing!
properties (22)
authorpfunk
permlinkre-testz-how-to-improve-steem-mining-performance-20160427t163621920z
categorysteem
json_metadata{}
created2016-04-27 16:36:21
last_update2016-04-27 16:36:21
depth1
children0
last_payout2016-08-21 03:05:48
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length52
author_reputation221,632,045,904,452
root_title"How to improve Steem mining performance"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id949
net_rshares0