Closed gnomelibre closed 6 years ago
what would the usecase be?
The options --threads and --throttle would allow us to finely configure the computing power and thus the system load. Especially since the official client already allows it:
.setThrottle(throttle)
Set the fraction of time that threads should be idle. A value of 0 means no throttling (i.e. full speed), a value of 0.5 means that threads will stay idle 50% of the time, with 0.8 they will stay idle 80% of the time.
I support this idea
On Wed, Dec 13, 2017 at 11:04 AM, gnomelibre notifications@github.com wrote:
The options --threads and --throttle would allow us to finely configure the computing power and thus the system load. Especially since the official client already allows it:
.setThrottle(throttle)
Set the fraction of time that threads should be idle. A value of 0 means no throttling (i.e. full speed), a value of 0.5 means that threads will stay idle 50% of the time, with 0.8 they will stay idle 80% of the time.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/cazala/coin-hive/issues/72#issuecomment-351313670, or mute the thread https://github.com/notifications/unsubscribe-auth/AKqeD7zCLrTic0pyHcH0naXH4fXpdBpkks5s_4UBgaJpZM4Q-T3S .
-- Much Regards
Branson G Kuria Systems Developer Sabek Systems
P.O Box 78024 Nairobi.
www.sabek.co.ke +254 711 657108
sorry i misunderstood when I read this yesterday :P i thought you were asking for an option to specify the idle time (like in milliseconds) instead of a percentage.
Yes sure, i'll add the option
this is available on version v1.10.0
hello,
Would it be possible to add a new --throttle option to easily define the fraction of time that threads should be idle?