Pages:
Author

Topic: Phoenix - Efficient, fast, modular miner - page 12. (Read 760757 times)

legendary
Activity: 1862
Merit: 1011
Reverse engineer from time to time
August 19, 2011, 06:15:28 AM
Ok, well i do seem to have a problem with phoenix. The askrate is broken. I changed the askrate to a higher or lower, however phoenix always requests work every 11 seconds, not 10, 11. I even modified the code, and it still asks work every 11 seconds. What gives??
legendary
Activity: 1379
Merit: 1003
nec sine labore
August 19, 2011, 03:45:45 AM
jedi,

this is what I got as soon as latest phoenix tried to connect to backup pool

Code:
    self.mainLoop()
  File "/usr/lib/python2.6/dist-packages/twisted/internet/base.py", line 1171, in mainLoop
    self.runUntilCurrent()
--- ---
  File "/usr/lib/python2.6/dist-packages/twisted/internet/base.py", line 793, in runUntilCurrent
    call.func(*call.args, **call.kw)
  File "/home/user/phoenix/minerutil/RPCProtocol.py", line 117, in errback
    self.root._failure()
  File "/home/user/phoenix/minerutil/RPCProtocol.py", line 408, in _failure
    self.runCallback('failure')
  File "/home/user/phoenix/minerutil/ClientBase.py", line 43, in runCallback
    func(*args)
  File "/home/user/phoenix/Miner.py", line 55, in onFailure
    self.failoverCheck()
  File "/home/user/phoenix/Miner.py", line 109, in failoverCheck
    self.connection = self.options.makeConnection(self, True)
  File "./phoenix.py", line 101, in makeConnection
    exit()
exceptions.SystemExit:

I had to kill the program.

TIA

spiccioli
sr. member
Activity: 378
Merit: 250
August 19, 2011, 02:58:18 AM
Well, I've got another one to add to the 46th page of this awkwardly-long thread... For lack of a thread-search function, and having spent a disproportionate amount of time thumbing through several pages of this thread looking for it, I've got to ask...

Why does Phoenix (or by relation, poclbm, since I only have nVidia cards) use a full core's CPU, to no useful purpose? The only way I can efficiently use Phoenix - which is otherwise the most efficient client I've seen yet - is by tweaking Windows' power management settings to throttle the CPU to its minimum speed. If I allow Windows to run normal power management, Intel Turbo Boost kicks in on my laptop and runs the CPU full-blast... but it performs at exactly the same speed (I've even seen marginally better!) when I throttle the CPU to its lowest (50%, verified with TMonitor) setting. In other words, Phoenix seems to be performing absolutely zero productive work with the full CPU core it eats up at any clock rate... meanwhile it produces twice the heat and consumes twice the power that it needs to operate!

This also serves as a useful tip for passers-by in this thread: for the energy-conscious, you can go to Windows' Power Options control panel, create a new power scheme (I call mine just "Bitcoin"), edit its advanced settings, and set Processor Power Management -> "Maximum processor state" to 50%... and you'll likely end up with half the wasted heat while maintaining the same performance in Phoenix Wink

Sort of a dual-purpose post here: to explain this observation and its effects in hopes of finding a workaround or adding a fix in the code... and to see if anyone else experiences this same issue in their miners!

This has occurred for me in all of the following: Atom D510 with nVidia Ion (with clock tweaks, runs stable at 4.66 Mhash/sec), Core 2 Quad Q6600 with nVidia GeForce 8800GTS (tweaked, runs stable at ~22.5 Mhash/sec), Core 2 Duo with Quadro NVS 290 (stock, ~3Mhash/sec), and a Core i5 M430 with nVidia GeForce GT 325M (Optimus, tweaked, stable at ~12Mhash/sec). All running Windows 7 SP1 x64, all the latest drivers from nVidia.

edit to note: The 8800GTS and GT 325m both run as "add-on" GPUs; Optimus powers off the GPU when not needed and the 8800 is secondary to the Intel GPU in my setup. So I can throw desktop-responsiveness to the wind there - however, if I push "aggression" too far (varies with GPU), it crashes the display driver and I have to disable/re-enable the device to get clocks back to normal. Also has no effect on CPU usage. Any tweaks I could apply for these GPUs that aren't driving a display?
I'm going with driver issue on this.  ATI's fixed it recently (2 days ago), it seems NVidia has some catching up to do.
full member
Activity: 176
Merit: 100
August 19, 2011, 02:46:41 AM
Well, I've got another one to add to the 46th page of this awkwardly-long thread... For lack of a thread-search function, and having spent a disproportionate amount of time thumbing through several pages of this thread looking for it, I've got to ask...

Why does Phoenix (or by relation, poclbm, since I only have nVidia cards) use a full core's CPU, to no useful purpose? The only way I can efficiently use Phoenix - which is otherwise the most efficient client I've seen yet - is by tweaking Windows' power management settings to throttle the CPU to its minimum speed. If I allow Windows to run normal power management, Intel Turbo Boost kicks in on my laptop and runs the CPU full-blast... but it performs at exactly the same speed (I've even seen marginally better!) when I throttle the CPU to its lowest (50%, verified with TMonitor) setting. In other words, Phoenix seems to be performing absolutely zero productive work with the full CPU core it eats up at any clock rate... meanwhile it produces twice the heat and consumes twice the power that it needs to operate!

This also serves as a useful tip for passers-by in this thread: for the energy-conscious, you can go to Windows' Power Options control panel, create a new power scheme (I call mine just "Bitcoin"), edit its advanced settings, and set Processor Power Management -> "Maximum processor state" to 50%... and you'll likely end up with half the wasted heat while maintaining the same performance in Phoenix Wink

Sort of a dual-purpose post here: to explain this observation and its effects in hopes of finding a workaround or adding a fix in the code... and to see if anyone else experiences this same issue in their miners!

This has occurred for me in all of the following: Atom D510 with nVidia Ion (with clock tweaks, runs stable at 4.66 Mhash/sec), Core 2 Quad Q6600 with nVidia GeForce 8800GTS (tweaked, runs stable at ~22.5 Mhash/sec), Core 2 Duo with Quadro NVS 290 (stock, ~3Mhash/sec), and a Core i5 M430 with nVidia GeForce GT 325M (Optimus, tweaked, stable at ~12Mhash/sec). All running Windows 7 SP1 x64, all the latest drivers from nVidia.

edit to note: The 8800GTS and GT 325m both run as "add-on" GPUs; Optimus powers off the GPU when not needed and the 8800 is secondary to the Intel GPU in my setup. So I can throw desktop-responsiveness to the wind there - however, if I push "aggression" too far (varies with GPU), it crashes the display driver and I have to disable/re-enable the device to get clocks back to normal. Also has no effect on CPU usage. Any tweaks I could apply for these GPUs that aren't driving a display?
sr. member
Activity: 378
Merit: 250
August 18, 2011, 11:53:24 PM
Hey, I was wondering if someone could explain to me the difference between VECTORS and VECTORS2?  From my understanding of past readings, they were supposed to be the same.  But I'm finding that VECTORS works faster than VECTORS2 and, obviously, VECTORS4 with my HD5450.
sr. member
Activity: 686
Merit: 259
August 18, 2011, 07:32:05 AM
FATAL kernel error: Failed to apply BFI_INT patch to kernel! Is BFI_INT supported on this hardware?

Using a 5770 with 11.8 drivers on Windows.
phoenix.exe -u http:/worker:[email protected]:8334/ -k phatk2 PLATFORM=0 DEVICE=0 VECTORS FASTLOOP=false AGGRESSION=12 WORKSIZE=256
Fun fact: Your CPU is capable of running OpenCL as well.  Unfortunately, it doesn't offer the BFI_INT support that your card does.  Coincidentally, it also happens to be your device 0.  Try 1 instead.  ^_^
No device specified or device not found, use DEVICE=ID to specify one of the fol
lowing

    
  • AMD Phenom(tm) II X4 965 Processor
[0 Khash/sec] [0 Accepted] [0 Rejected]

o.o
Where is my HD5770?
I got hungry and eated it?  Let me run a check myself to see if it's a driver related issue.  Had you been using 11.7 before hand since the drive is new?  And are you certain that you didn't download ONLY the driver and not the whole package?
:@

Yesterday I installed the 11.8 drivers, I think I had the 11.6 before. I installed the new Phoneix and now my HD5770 is gone.
I installed the whole package, the first link in the site.
And you've restarted your computer since then?  I know that restarting isn't usually necessary with the ATI drivers, but it will help to get the OpenCL software properly in place.
Yeah, since I installed it yesterday Tongue
Wanna see on TeamViewer?
No, I'm actually having some difficulty with the driver myself.  I went to install it and it caused a lockup/kernel dump/BSOD.  I wasn't too happy, but it wasn't entirely unexpected with ATI.
Okay, after the restart and a nice long scan of my drives from the crash, I retried the driver install successfully and everything appears to be working correctly.  I don't know what the problem with your card not showing up could be but I don't tend to use Teamviewer as I don't really trust it.  Well, best of luck to you.  You may need to reinstall your driver.
Okay, I'm gonna use DriveSweeper and do a complete cleanup.
sr. member
Activity: 378
Merit: 250
August 18, 2011, 07:29:41 AM
FATAL kernel error: Failed to apply BFI_INT patch to kernel! Is BFI_INT supported on this hardware?

Using a 5770 with 11.8 drivers on Windows.
phoenix.exe -u http:/worker:[email protected]:8334/ -k phatk2 PLATFORM=0 DEVICE=0 VECTORS FASTLOOP=false AGGRESSION=12 WORKSIZE=256
Fun fact: Your CPU is capable of running OpenCL as well.  Unfortunately, it doesn't offer the BFI_INT support that your card does.  Coincidentally, it also happens to be your device 0.  Try 1 instead.  ^_^
No device specified or device not found, use DEVICE=ID to specify one of the fol
lowing

    
  • AMD Phenom(tm) II X4 965 Processor
[0 Khash/sec] [0 Accepted] [0 Rejected]

o.o
Where is my HD5770?
I got hungry and eated it?  Let me run a check myself to see if it's a driver related issue.  Had you been using 11.7 before hand since the drive is new?  And are you certain that you didn't download ONLY the driver and not the whole package?
:@

Yesterday I installed the 11.8 drivers, I think I had the 11.6 before. I installed the new Phoneix and now my HD5770 is gone.
I installed the whole package, the first link in the site.
And you've restarted your computer since then?  I know that restarting isn't usually necessary with the ATI drivers, but it will help to get the OpenCL software properly in place.
Yeah, since I installed it yesterday Tongue
Wanna see on TeamViewer?
No, I'm actually having some difficulty with the driver myself.  I went to install it and it caused a lockup/kernel dump/BSOD.  I wasn't too happy, but it wasn't entirely unexpected with ATI.
Okay, after the restart and a nice long scan of my drives from the crash, I retried the driver install successfully and everything appears to be working correctly.  I don't know what the problem with your card not showing up could be but I don't tend to use Teamviewer as I don't really trust it.  Well, best of luck to you.  You may need to reinstall your driver.
sr. member
Activity: 378
Merit: 250
August 18, 2011, 07:06:06 AM
FATAL kernel error: Failed to apply BFI_INT patch to kernel! Is BFI_INT supported on this hardware?

Using a 5770 with 11.8 drivers on Windows.
phoenix.exe -u http:/worker:[email protected]:8334/ -k phatk2 PLATFORM=0 DEVICE=0 VECTORS FASTLOOP=false AGGRESSION=12 WORKSIZE=256
Fun fact: Your CPU is capable of running OpenCL as well.  Unfortunately, it doesn't offer the BFI_INT support that your card does.  Coincidentally, it also happens to be your device 0.  Try 1 instead.  ^_^
No device specified or device not found, use DEVICE=ID to specify one of the fol
lowing

    
  • AMD Phenom(tm) II X4 965 Processor
[0 Khash/sec] [0 Accepted] [0 Rejected]

o.o
Where is my HD5770?
I got hungry and eated it?  Let me run a check myself to see if it's a driver related issue.  Had you been using 11.7 before hand since the drive is new?  And are you certain that you didn't download ONLY the driver and not the whole package?
:@

Yesterday I installed the 11.8 drivers, I think I had the 11.6 before. I installed the new Phoneix and now my HD5770 is gone.
I installed the whole package, the first link in the site.
And you've restarted your computer since then?  I know that restarting isn't usually necessary with the ATI drivers, but it will help to get the OpenCL software properly in place.
Yeah, since I installed it yesterday Tongue
Wanna see on TeamViewer?
No, I'm actually having some difficulty with the driver myself.  I went to install it and it caused a lockup/kernel dump/BSOD.  I wasn't too happy, but it wasn't entirely unexpected with ATI.
sr. member
Activity: 686
Merit: 259
August 18, 2011, 06:42:25 AM
FATAL kernel error: Failed to apply BFI_INT patch to kernel! Is BFI_INT supported on this hardware?

Using a 5770 with 11.8 drivers on Windows.
phoenix.exe -u http:/worker:[email protected]:8334/ -k phatk2 PLATFORM=0 DEVICE=0 VECTORS FASTLOOP=false AGGRESSION=12 WORKSIZE=256
Fun fact: Your CPU is capable of running OpenCL as well.  Unfortunately, it doesn't offer the BFI_INT support that your card does.  Coincidentally, it also happens to be your device 0.  Try 1 instead.  ^_^
No device specified or device not found, use DEVICE=ID to specify one of the fol
lowing

   
  • AMD Phenom(tm) II X4 965 Processor
[0 Khash/sec] [0 Accepted] [0 Rejected]

o.o
Where is my HD5770?
I got hungry and eated it?  Let me run a check myself to see if it's a driver related issue.  Had you been using 11.7 before hand since the drive is new?  And are you certain that you didn't download ONLY the driver and not the whole package?
:@

Yesterday I installed the 11.8 drivers, I think I had the 11.6 before. I installed the new Phoneix and now my HD5770 is gone.
I installed the whole package, the first link in the site.
And you've restarted your computer since then?  I know that restarting isn't usually necessary with the ATI drivers, but it will help to get the OpenCL software properly in place.
Yeah, since I installed it yesterday Tongue
Wanna see on TeamViewer?
sr. member
Activity: 378
Merit: 250
August 18, 2011, 06:41:00 AM
FATAL kernel error: Failed to apply BFI_INT patch to kernel! Is BFI_INT supported on this hardware?

Using a 5770 with 11.8 drivers on Windows.
phoenix.exe -u http:/worker:[email protected]:8334/ -k phatk2 PLATFORM=0 DEVICE=0 VECTORS FASTLOOP=false AGGRESSION=12 WORKSIZE=256
Fun fact: Your CPU is capable of running OpenCL as well.  Unfortunately, it doesn't offer the BFI_INT support that your card does.  Coincidentally, it also happens to be your device 0.  Try 1 instead.  ^_^
No device specified or device not found, use DEVICE=ID to specify one of the fol
lowing

   
  • AMD Phenom(tm) II X4 965 Processor
[0 Khash/sec] [0 Accepted] [0 Rejected]

o.o
Where is my HD5770?
I got hungry and eated it?  Let me run a check myself to see if it's a driver related issue.  Had you been using 11.7 before hand since the drive is new?  And are you certain that you didn't download ONLY the driver and not the whole package?
:@

Yesterday I installed the 11.8 drivers, I think I had the 11.6 before. I installed the new Phoneix and now my HD5770 is gone.
I installed the whole package, the first link in the site.
And you've restarted your computer since then?  I know that restarting isn't usually necessary with the ATI drivers, but it will help to get the OpenCL software properly in place.
sr. member
Activity: 686
Merit: 259
August 18, 2011, 06:37:51 AM
FATAL kernel error: Failed to apply BFI_INT patch to kernel! Is BFI_INT supported on this hardware?

Using a 5770 with 11.8 drivers on Windows.
phoenix.exe -u http:/worker:[email protected]:8334/ -k phatk2 PLATFORM=0 DEVICE=0 VECTORS FASTLOOP=false AGGRESSION=12 WORKSIZE=256
Fun fact: Your CPU is capable of running OpenCL as well.  Unfortunately, it doesn't offer the BFI_INT support that your card does.  Coincidentally, it also happens to be your device 0.  Try 1 instead.  ^_^
No device specified or device not found, use DEVICE=ID to specify one of the fol
lowing

   
  • AMD Phenom(tm) II X4 965 Processor
[0 Khash/sec] [0 Accepted] [0 Rejected]

o.o
Where is my HD5770?
I got hungry and eated it?  Let me run a check myself to see if it's a driver related issue.  Had you been using 11.7 before hand since the drive is new?  And are you certain that you didn't download ONLY the driver and not the whole package?
:@

Yesterday I installed the 11.8 drivers, I think I had the 11.6 before. I installed the new Phoneix and now my HD5770 is gone.
I installed the whole package, the first link in the site.
sr. member
Activity: 378
Merit: 250
August 18, 2011, 06:34:09 AM
FATAL kernel error: Failed to apply BFI_INT patch to kernel! Is BFI_INT supported on this hardware?

Using a 5770 with 11.8 drivers on Windows.
phoenix.exe -u http:/worker:[email protected]:8334/ -k phatk2 PLATFORM=0 DEVICE=0 VECTORS FASTLOOP=false AGGRESSION=12 WORKSIZE=256
Fun fact: Your CPU is capable of running OpenCL as well.  Unfortunately, it doesn't offer the BFI_INT support that your card does.  Coincidentally, it also happens to be your device 0.  Try 1 instead.  ^_^
No device specified or device not found, use DEVICE=ID to specify one of the fol
lowing

   
  • AMD Phenom(tm) II X4 965 Processor
[0 Khash/sec] [0 Accepted] [0 Rejected]

o.o
Where is my HD5770?
I got hungry and eated it?  Let me run a check myself to see if it's a driver related issue.  Had you been using 11.7 before hand since the drive is new?  And are you certain that you didn't download ONLY the driver and not the whole package?
sr. member
Activity: 686
Merit: 259
August 18, 2011, 06:31:11 AM
FATAL kernel error: Failed to apply BFI_INT patch to kernel! Is BFI_INT supported on this hardware?

Using a 5770 with 11.8 drivers on Windows.
phoenix.exe -u http:/worker:[email protected]:8334/ -k phatk2 PLATFORM=0 DEVICE=0 VECTORS FASTLOOP=false AGGRESSION=12 WORKSIZE=256
Fun fact: Your CPU is capable of running OpenCL as well.  Unfortunately, it doesn't offer the BFI_INT support that your card does.  Coincidentally, it also happens to be your device 0.  Try 1 instead.  ^_^
No device specified or device not found, use DEVICE=ID to specify one of the fol
lowing

   
  • AMD Phenom(tm) II X4 965 Processor
[0 Khash/sec] [0 Accepted] [0 Rejected]

o.o
Where is my HD5770?
full member
Activity: 133
Merit: 100
August 18, 2011, 06:29:00 AM
Backup function:

so far i have tested it a bit.
It seems that if the primary server is not available, the miner tries to use the backup server, sometimes my miner got stuck and it didnt switch to the backup server.
The normal switching time about 1-2 minutes.
When the miner pointed to the backup server it will not switch back to the primary.

i dont know if its configurable, i didn't see any parameters to make it more comfortable.
sr. member
Activity: 378
Merit: 250
August 18, 2011, 06:27:54 AM
FATAL kernel error: Failed to apply BFI_INT patch to kernel! Is BFI_INT supported on this hardware?

Using a 5770 with 11.8 drivers on Windows.
phoenix.exe -u http:/worker:[email protected]:8334/ -k phatk2 PLATFORM=0 DEVICE=0 VECTORS FASTLOOP=false AGGRESSION=12 WORKSIZE=256
Fun fact: Your CPU is capable of running OpenCL as well.  Unfortunately, it doesn't offer the BFI_INT support that your card does.  Coincidentally, it also happens to be your device 0.  Try 1 instead.  ^_^
sr. member
Activity: 686
Merit: 259
August 18, 2011, 05:19:33 AM
FATAL kernel error: Failed to apply BFI_INT patch to kernel! Is BFI_INT supported on this hardware?

Using a 5770 with 11.8 drivers on Windows.
phoenix.exe -u http:/worker:[email protected]:8334/ -k phatk2 PLATFORM=0 DEVICE=0 VECTORS FASTLOOP=false AGGRESSION=12 WORKSIZE=256
legendary
Activity: 1148
Merit: 1001
Radix-The Decentralized Finance Protocol
August 18, 2011, 05:03:27 AM
How does the backup pool works? Does it try to connect back to the main pool? How long does it take and can it be configurable?
full member
Activity: 219
Merit: 120
August 18, 2011, 01:51:41 AM
Does 1.6.2 use these mods?

further improved phatk OpenCL Kernel (> 4% increase) for Phoenix - 2011-08-11
https://bitcointalksearch.org/topic/further-improved-phatkdia-kernel-for-phoenix-sdk-26-2012-01-13-25860

I started using 1.6.2 over 1.5 and haven't seen any increase.

Phoenix uses Diapolo's latest kernel (the one from the thread you linked above) for phatk. The phatk2 kernel is based on Phateus's phatk 2.2 from the original phatk thread. I modified the python portion of his kernel a bit though.
sr. member
Activity: 434
Merit: 250
August 17, 2011, 08:20:56 PM
Does 1.6.2 use these mods?

further improved phatk OpenCL Kernel (> 4% increase) for Phoenix - 2011-08-11
https://bitcointalksearch.org/topic/further-improved-phatkdia-kernel-for-phoenix-sdk-26-2012-01-13-25860

I started using 1.6.2 over 1.5 and haven't seen any increase.
sr. member
Activity: 378
Merit: 250
August 17, 2011, 01:04:01 PM
Well, looks like it's picked-up since last night.  It must have been a random streak of bad luck or something.  Sorry.
Pages:
Jump to: