Make ``-kwh`` A Mandatory Argument, Support CPU Wattage.
UserDC-LeGrand opened this issue · 4 comments
Can I make a suggestion to place more emphasis on the -kwh value, so that users include this critical value in their profitability switching decisions. This power consumption component is especially critical those who use "-Conserve Yes" argument as well...
-kwh [decimal number] Default is "" ($null). This is the kw/h pricing of your electricty costs.
-kwh 0.10 would mean your electricty cost it 0.10 kwh. If argument is ommited,
or left as "" in config.json- kw/h figures will based on values in power.json.
This parameter overrides kwh values in power.json
The best I can do as far as emphasis would be to add it to the first-time startup with get help
command when a user first uses, and append wiki to include it.
The only reason why I don't, is as you pointed out- I haven't found a way to get cpu wattage as of yet, so in theory it's an incomplete value...Users will assume it's a bug when cpu wattage doesn't work. (I don't know of a way).
The best I can do as far as emphasis would be to add it to the first-time startup with
get help
command when a user first uses, and append wiki to include it.The only reason why I don't, is as you pointed out- I haven't found a way to get cpu wattage as of yet, so in theory it's an incomplete value...Users will assume it's a bug when cpu wattage doesn't work. (I don't know of a way).
Perhaps you can socialize the gap with CPU power metric as a disclaimer. Better to inform your users of the fact, so that they make their own decision. HiveOS has a manual wattage entry for users to compensate for their Motherboard/CPU power draw, as well as PSU efficiency. Might be something to inspire you ...
I could look into something like that.
Just stumbled on your GITHub article here:
https://github.com/MaynardMiner/SWARM/wiki/Watt-Calculation..
I manually entered the indidual CPU TDP on each of my rig ...
Will see if that helps provide a reasonable profit calculation ...