Bitcoin Forum
August 22, 2017, 02:50:55 PM *
News: Latest stable version of Bitcoin Core: 0.14.2  [Torrent].
 
   Home   Help Search Donate Login Register  
Poll
Question: Small change of cgminer screen display and API display - see the first post for details before voting
PGA - 15 (36.6%)
BFL or ICA or ... - 26 (63.4%)
Total Voters: 41

Pages: [1]
  Print  
Author Topic: Small change of cgminer screen display and API display  (Read 2571 times)
kano
Legendary
*
Offline Offline

Activity: 2184


Linux since 1997 RedHat 4


View Profile
March 29, 2012, 01:32:40 AM
 #1

Ello Smiley

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

Pool: https://kano.is Here on Bitcointalk: Forum BTC: 1KanoPb8cKYqNrswjaA8cRDk4FAS9eDMLU
FreeNode IRC: irc.freenode.net channel #kano.is Majority developer of the ckpool code
Help keep Bitcoin secure by mining on pools with full block verification on all blocks - and NO empty blocks!
1503413455
Hero Member
*
Offline Offline

Posts: 1503413455

View Profile Personal Message (Offline)

Ignore
1503413455
Reply with quote  #2

1503413455
Report to moderator
1503413455
Hero Member
*
Offline Offline

Posts: 1503413455

View Profile Personal Message (Offline)

Ignore
1503413455
Reply with quote  #2

1503413455
Report to moderator
1503413455
Hero Member
*
Offline Offline

Posts: 1503413455

View Profile Personal Message (Offline)

Ignore
1503413455
Reply with quote  #2

1503413455
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1503413455
Hero Member
*
Offline Offline

Posts: 1503413455

View Profile Personal Message (Offline)

Ignore
1503413455
Reply with quote  #2

1503413455
Report to moderator
1503413455
Hero Member
*
Offline Offline

Posts: 1503413455

View Profile Personal Message (Offline)

Ignore
1503413455
Reply with quote  #2

1503413455
Report to moderator
Luke-Jr
Legendary
*
Offline Offline

Activity: 2240



View Profile
March 29, 2012, 02:01:29 AM
 #2

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

kano
Legendary
*
Offline Offline

Activity: 2184


Linux since 1997 RedHat 4


View Profile
March 29, 2012, 02:33:28 AM
 #3

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 Tongue

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.

Pool: https://kano.is Here on Bitcointalk: Forum BTC: 1KanoPb8cKYqNrswjaA8cRDk4FAS9eDMLU
FreeNode IRC: irc.freenode.net channel #kano.is Majority developer of the ckpool code
Help keep Bitcoin secure by mining on pools with full block verification on all blocks - and NO empty blocks!
kano
Legendary
*
Offline Offline

Activity: 2184


Linux since 1997 RedHat 4


View Profile
March 29, 2012, 08:00:49 PM
 #4

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 Smiley

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

Pool: https://kano.is Here on Bitcointalk: Forum BTC: 1KanoPb8cKYqNrswjaA8cRDk4FAS9eDMLU
FreeNode IRC: irc.freenode.net channel #kano.is Majority developer of the ckpool code
Help keep Bitcoin secure by mining on pools with full block verification on all blocks - and NO empty blocks!
tenzor
Sr. Member
****
Offline Offline

Activity: 316


View Profile
April 05, 2012, 11:15:52 AM
 #5

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
kano
Legendary
*
Offline Offline

Activity: 2184


Linux since 1997 RedHat 4


View Profile
April 05, 2012, 12:26:54 PM
 #6

...
vote for 2
LOL not an option - and you completely removed the BFL temperature Tongue
(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 ...

Pool: https://kano.is Here on Bitcointalk: Forum BTC: 1KanoPb8cKYqNrswjaA8cRDk4FAS9eDMLU
FreeNode IRC: irc.freenode.net channel #kano.is Majority developer of the ckpool code
Help keep Bitcoin secure by mining on pools with full block verification on all blocks - and NO empty blocks!
kano
Legendary
*
Offline Offline

Activity: 2184


Linux since 1997 RedHat 4


View Profile
April 13, 2012, 08:21:22 PM
 #7

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

Pool: https://kano.is Here on Bitcointalk: Forum BTC: 1KanoPb8cKYqNrswjaA8cRDk4FAS9eDMLU
FreeNode IRC: irc.freenode.net channel #kano.is Majority developer of the ckpool code
Help keep Bitcoin secure by mining on pools with full block verification on all blocks - and NO empty blocks!
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!