Bitcoin Forum

Bitcoin => Mining software (miners) => Topic started by: kano on March 29, 2012, 01:32:40 AM



Title: Small change of cgminer screen display and API display
Post by: kano on March 29, 2012, 01:32:40 AM
Ello :)

Firstly please note, I have changed one FPGA everywhere below in my examples from "ICA" to "BFL" to show an effect of the change.

Currently cgminer 2.3.1 screen looks similar to this if you have multiple different FGPA's and also GPU's working:

Code:
cgminer version 2.3.1m - Started: [2012-03-25 20:43:39]
--------------------------------------------------------------------------------
 (5s):1878.8 (avg):1856.0 Mh/s | Q:41418  A:107620  R:770  HW:0  E:260%  U:26.23/m
 TQ: 6  ST: 7  SS: 389  DW: 3386  NB: 546  LW: 247388  GF: 7  RF: 14
 Connected to http://au.ozco.in:8331 with LP as user miku.1
 Block: 00000a240880dae42eea41dd1b91940a...  Started: [11:29:40]
--------------------------------------------------------------------------------
 [P]ool management [G]PU management [S]ettings [D]isplay options [Q]uit
 GPU 0:  76.0C 3277RPM | 358.7/358.5Mh/s | A:26060 R:114 HW:0 U: 4.99/m I: 9
 GPU 1:  69.0C 2898RPM | 367.1/365.7Mh/s | A:26372 R:112 HW:0 U: 5.05/m I: 9
 ICA 2: 370.7/366.1Mh/s | A:27565 R:273 HW:0 U: 5.28/m
 BFL 3: 504.1/765.6Mh/s | A:27625 R:271 HW:0 U: 5.29/m
--------------------------------------------------------------------------------

[2012-03-29 11:39:22] Accepted 00000000.df0f50fd.43d06b28 ICA 2 thread 4 pool 0
[2012-03-29 11:39:24] Accepted 00000000.a7607fe8.9e9ac7de BFL 3 thread 5 pool 0
[2012-03-29 11:39:27] Accepted 00000000.0e7a8c29.192f6ff1 ICA 3 thread 5 pool 0

The API reports these in 'devs' as:
GPU=0, info...
GPU=1, info...
PGA=2, Name=ICA, ID=2, info...
PGA=3, Name=BFL, ID=3, info...

This means that as currently (and for almost a year) GPU's show on the screen "GPU"

However, since they have been working in cgminer, FPGA's have been showing a name matching the FPGA.
At the moment it shows (as above) the three letters of either "ICA" or "BFL"
(Though "ICA" was originally "Icarus" for the first 6 days the code was in the git until it was changed to 3 characters)

Since "ICA" and "BFL" are both "FPGA":
Would you prefer cgminer to say "PGA" everywhere it currently says "ICA" and "BFL"?
(on the screen and in the API)

i.e. the screen would something look like:
Code:
cgminer version 2.3.1m - Started: [2012-03-25 20:43:39]
--------------------------------------------------------------------------------
 (5s):1878.8 (avg):1856.0 Mh/s | Q:41418  A:107620  R:770  HW:0  E:260%  U:26.23/m
 TQ: 6  ST: 7  SS: 389  DW: 3386  NB: 546  LW: 247388  GF: 7  RF: 14
 Connected to http://au.ozco.in:8331 with LP as user miku.1
 Block: 00000a240880dae42eea41dd1b91940a...  Started: [11:29:40]
--------------------------------------------------------------------------------
 [P]ool management [G]PU management [S]ettings [D]isplay options [Q]uit
 GPU 0:  76.0C 3277RPM | 358.7/358.5Mh/s | A:26060 R:114 HW:0 U: 4.99/m I: 9
 GPU 1:  69.0C 2898RPM | 367.1/365.7Mh/s | A:26372 R:112 HW:0 U: 5.05/m I: 9
 PGA 2: 370.7/366.1Mh/s | A:27565 R:273 HW:0 U: 5.28/m
 PGA 3: 504.1/765.6Mh/s | A:27625 R:271 HW:0 U: 5.29/m
--------------------------------------------------------------------------------

[2012-03-29 11:39:22] Accepted 00000000.df0f50fd.43d06b28 PGA 2 thread 4 pool 0
[2012-03-29 11:39:24] Accepted 00000000.a7607fe8.9e9ac7de PGA 3 thread 5 pool 0
[2012-03-29 11:39:27] Accepted 00000000.0e7a8c29.192f6ff1 PGA 3 thread 5 pool 0
i.e. not differentiate on the screen between different FPGA's

OR would you prefer it to stay the way it is?

Vote for "PGA" if you want it changed to "PGA"

Vote for "BFL or ICA or ..." if you want it to stay the same as it is now


Title: Re: Small change of cgminer screen display and API display
Post by: Luke-Jr on March 29, 2012, 02:01:29 AM
Or the options kanoi left out... (choose "PGA" if you like these, since it's the same code)
Code:
cgminer version 2.3.1m - Started: [2012-03-25 20:43:39]
--------------------------------------------------------------------------------
 (5s):1878.8 (avg):1856.0 Mh/s | Q:41418  A:107620  R:770  HW:0  E:260%  U:26.23/m
 TQ: 6  ST: 7  SS: 389  DW: 3386  NB: 546  LW: 247388  GF: 7  RF: 14
 Connected to http://au.ozco.in:8331 with LP as user miku.1
 Block: 00000a240880dae42eea41dd1b91940a...  Started: [11:29:40]
--------------------------------------------------------------------------------
 [P]ool management [G]PU management [S]ettings [D]isplay options [Q]uit
 Radeon 5850: 76.0C 3277RPM | 358.7/358.5Mh/s | A:26060 R:114 HW:0 U: 4.99/m I: 9
 Radeon 5870: 69.0C 2898RPM | 367.1/365.7Mh/s | A:26372 R:112 HW:0 U: 5.05/m I: 9
      Icarus:               | 370.7/366.1Mh/s | A:27565 R:273 HW:0 U: 5.28/m
   BF Single: 64.1C         | 504.1/765.6Mh/s | A:27625 R:271 HW:0 U: 5.29/m
--------------------------------------------------------------------------------

[2012-03-29 11:39:22] Accepted 00000000.df0f50fd.43d06b28 Icarus thread 4 pool 0
[2012-03-29 11:39:24] Accepted 00000000.a7607fe8.9e9ac7de BF Single thread 5 pool 0
[2012-03-29 11:39:27] Accepted 00000000.0e7a8c29.192f6ff1 BF Single thread 5 pool 0
Code:
cgminer version 2.3.1m - Started: [2012-03-25 20:43:39]
--------------------------------------------------------------------------------
 (5s):1878.8 (avg):1856.0 Mh/s | Q:41418  A:107620  R:770  HW:0  E:260%  U:26.23/m
 TQ: 6  ST: 7  SS: 389  DW: 3386  NB: 546  LW: 247388  GF: 7  RF: 14
 Connected to http://au.ozco.in:8331 with LP as user miku.1
 Block: 00000a240880dae42eea41dd1b91940a...  Started: [11:29:40]
--------------------------------------------------------------------------------
 [P]ool management [G]PU management [S]ettings [D]isplay options [Q]uit
   opencl: 76.0C 3277RPM | 358.7/358.5Mh/s | A:26060 R:114 HW:0 U: 4.99/m I: 9
   opencl: 69.0C 2898RPM | 367.1/365.7Mh/s | A:26372 R:112 HW:0 U: 5.05/m I: 9
   icarus:               | 370.7/366.1Mh/s | A:27565 R:273 HW:0 U: 5.28/m
 bitforce: 64.1C         | 504.1/765.6Mh/s | A:27625 R:271 HW:0 U: 5.29/m
--------------------------------------------------------------------------------

[2012-03-29 11:39:22] Accepted 00000000.df0f50fd.43d06b28 icarus thread 4 pool 0
[2012-03-29 11:39:24] Accepted 00000000.a7607fe8.9e9ac7de bitforce thread 5 pool 0
[2012-03-29 11:39:27] Accepted 00000000.0e7a8c29.192f6ff1 bitforce thread 5 pool 0
Code:
cgminer version 2.3.1m - Started: [2012-03-25 20:43:39]
--------------------------------------------------------------------------------
 (5s):1878.8 (avg):1856.0 Mh/s | Q:41418  A:107620  R:770  HW:0  E:260%  U:26.23/m
 TQ: 6  ST: 7  SS: 389  DW: 3386  NB: 546  LW: 247388  GF: 7  RF: 14
 Connected to http://au.ozco.in:8331 with LP as user miku.1
 Block: 00000a240880dae42eea41dd1b91940a...  Started: [11:29:40]
--------------------------------------------------------------------------------
 [P]ool management [G]PU management [S]ettings [D]isplay options [Q]uit
 OCL 0: 76.0C 3277RPM | 358.7/358.5Mh/s | A:26060 R:114 HW:0 U: 4.99/m I: 9
 OCL 1: 69.0C 2898RPM | 367.1/365.7Mh/s | A:26372 R:112 HW:0 U: 5.05/m I: 9
 ICA 0:               | 370.7/366.1Mh/s | A:27565 R:273 HW:0 U: 5.28/m
 BFL 0: 64.1C         | 504.1/765.6Mh/s | A:27625 R:271 HW:0 U: 5.29/m
--------------------------------------------------------------------------------

[2012-03-29 11:39:22] Accepted 00000000.df0f50fd.43d06b28 ICA 0 thread 4 pool 0
[2012-03-29 11:39:24] Accepted 00000000.a7607fe8.9e9ac7de BFL 0 thread 5 pool 0
[2012-03-29 11:39:27] Accepted 00000000.0e7a8c29.192f6ff1 BFL 0 thread 5 pool 0


Title: Re: Small change of cgminer screen display and API display
Post by: kano on March 29, 2012, 02:33:28 AM
Luke-jr you do realise that you are offering options that are not going to happen with this change?

... and your post is not correct :P

The reason for the poll was exactly as stated in the first post - to resolve a decision about changing things exactly as stated in the first post.

The rest of the code that will allow the first 2 options Luke-jr has shown in the future when no one cares if their terminals aren't wide enough by default, can happen with either poll choice - the poll choice does not effect the first 2 options Luke-jr displayed above in any way in the future.

Quote
Or the options kanoi left out... (choose "PGA" if you like these, since it's the same code)
Both poll choices will allow for Luke's shown option 1 and option 2 in the future.

Interestingly though, option 3 requires the "PGA" option to be undone if the "PGA" option is chosen.
However it doesn't require that with the "BFL or ICA or ..." poll option.


Title: Re: Small change of cgminer screen display and API display
Post by: kano on March 29, 2012, 08:00:49 PM
Kano,

This is just a display change.  You will still return ICA, BFL devices in "gpucount"  (nDevs) API, right?
Or you are planning to provide fpgacount(), fpgadev() APIs?


The commands will not change and the number of devices that will be returned will not change.

However, currently in the API, "gpucount" only returns the number of GPU's (not FPGA's also)
"pgacount" returns the number of FPGA's

... and that will stay that way also of course :)

The API "devs" command returns all devices: GPU's, FPGA's, (and those other unsupported things :) )


Title: Re: Small change of cgminer screen display and API display
Post by: tenzor on April 05, 2012, 11:15:52 AM
Code:
cgminer version 2.3.1m - Started: [2012-03-25 20:43:39]
--------------------------------------------------------------------------------
 (5s):1878.8 (avg):1856.0 Mh/s | Q:41418  A:107620  R:770  HW:0  E:260%  U:26.23/m
 TQ: 6  ST: 7  SS: 389  DW: 3386  NB: 546  LW: 247388  GF: 7  RF: 14
 Connected to http://au.ozco.in:8331 with LP as user miku.1
 Block: 00000a240880dae42eea41dd1b91940a...  Started: [11:29:40]
--------------------------------------------------------------------------------
 [P]ool management [G]PU management [S]ettings [D]isplay options [Q]uit
 GPU 0:  76.0C 3277RPM | 358.7/358.5Mh/s | A:26060 R:114 HW:0 U: 4.99/m I: 9
 GPU 1:  69.0C 2898RPM | 367.1/365.7Mh/s | A:26372 R:112 HW:0 U: 5.05/m I: 9
 PGA 2:  Bitforce      | 370.7/366.1Mh/s | A:27565 R:273 HW:0 U: 5.28/m
 PGA 3:  Icarus        | 504.1/765.6Mh/s | A:27625 R:271 HW:0 U: 5.29/m
--------------------------------------------------------------------------------

[2012-03-29 11:39:22] Accepted 00000000.df0f50fd.43d06b28 ICA 2 thread 4 pool 0
[2012-03-29 11:39:24] Accepted 00000000.a7607fe8.9e9ac7de BFL 3 thread 5 pool 0
[2012-03-29 11:39:27] Accepted 00000000.0e7a8c29.192f6ff1 ICA 3 thread 5 pool 0

vote for 2


Title: Re: Small change of cgminer screen display and API display
Post by: kano on April 05, 2012, 12:26:54 PM
...
vote for 2
LOL not an option - and you completely removed the BFL temperature :P
(and the FPGA codes at the bottom don't match the top)

ckolivas is away for 10 days so I guess I'll leave it running for another 10 ...


Title: Re: Small change of cgminer screen display and API display
Post by: kano on April 13, 2012, 08:21:22 PM
OK more than 2 weeks now - and it hasn't changed much - always option 2 clearly in the lead (after there were a few votes)
Option 2 wins