Bitcoin Forum
December 08, 2016, 06:07:41 AM *
News: To be able to use the next phase of the beta forum software, please ensure that your email address is correct/functional.
 
   Home   Help Search Donate Login Register  
Pages: « 1 ... 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 [321] 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 ... 744 »
  Print  
Author Topic: [1500 TH] p2pool: Decentralized, DoS-resistant, Hop-Proof pool  (Read 2032660 times)
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2002


Ruu \o/


View Profile WWW
August 11, 2013, 05:02:55 PM
 #6401

Well it is slightly more work initially, despite what kano says, but you run zadig as administrator, plug in ONE device, wait till windows finishes fscking around with it, then tell zadig to change that device to winusb (that's all the extra work there is). Then you don't need to specify any command line options for cgminer to recognise and use the device, and any time you plug in any other device of the same kind from then on forever more, it will run, including without restarting cgminer since it will hotplug them.

Primary developer/maintainer for cgminer and ckpool/ckproxy.
Pooled mine at kano.is, solo mine at solo.ckpool.org
-ck
1481177261
Hero Member
*
Offline Offline

Posts: 1481177261

View Profile Personal Message (Offline)

Ignore
1481177261
Reply with quote  #2

1481177261
Report to moderator
1481177261
Hero Member
*
Offline Offline

Posts: 1481177261

View Profile Personal Message (Offline)

Ignore
1481177261
Reply with quote  #2

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

Posts: 1481177261

View Profile Personal Message (Offline)

Ignore
1481177261
Reply with quote  #2

1481177261
Report to moderator
1481177261
Hero Member
*
Offline Offline

Posts: 1481177261

View Profile Personal Message (Offline)

Ignore
1481177261
Reply with quote  #2

1481177261
Report to moderator
HellDiverUK
Hero Member
*****
Offline Offline

Activity: 574


View Profile
August 11, 2013, 05:07:02 PM
 #6402

Well it is slightly more work initially, despite what kano says, but you run zadig as administrator, plug in ONE device, wait till windows finishes fscking around with it, then tell zadig to change that device to winusb (that's all the extra work there is). Then you don't need to specify any command line options for cgminer to recognise and use the device, and any time you plug in any other device of the same kind from then on forever more, it will run, including without restarting cgminer since it will hotplug them.

Finally, someone with some sense. Smiley 

I still prefer the new bfgminer interface (Blue bits!), and pool prioritization facility (rather than the plain old Failover etc of cgminer).   Wink
xgtele
Sr. Member
****
Offline Offline

Activity: 265



View Profile
August 11, 2013, 05:53:29 PM
 #6403

Is there any option in p2pool to send an email when payout is generated?

Krak
Hero Member
*****
Offline Offline

Activity: 591



View Profile WWW
August 11, 2013, 07:28:49 PM
 #6404

Is there any option in p2pool to send an email when payout is generated?
If you use Blockchain.info to watch your address, you'll get an email when you receive a payment.

BTC: 1KrakenLFEFg33A4f6xpwgv3UUoxrLPuGn
xgtele
Sr. Member
****
Offline Offline

Activity: 265



View Profile
August 11, 2013, 07:37:42 PM
 #6405

Is there any option in p2pool to send an email when payout is generated?
If you use Blockchain.info to watch your address, you'll get an email when you receive a payment.

For BTC this is fine, but do you have any ideas how to get notifications for LTC payouts?

Ghost of USD
Jr. Member
*
Offline Offline

Activity: 31


View Profile
August 11, 2013, 07:45:16 PM
 #6406

An Avalon mining on P2Pool with even 3 modules does indeed take its CPU to the limit. The only real difference between P2Pool and other pools is that P2Pool's generation transaction is much larger. I'm guessing that the bottleneck is hashing the generation transaction ~16 times per second (though that isn't much...). If that's true, perhaps cgminer could be optimized to compress everything before the Stratum nonce to a SHA-256 midstate?
There's an obvious optimisation there that I didn't spot and it's only now that we have hardware being outstripped by the work generation requirements that I've looked into it. Thanks for the pointer, I shall see what I can do.
Yes, that did it. I've committed code to the cgminer git tree which dramatically reduces the cpu usage (confirmed on my avalon mining to p2pool). When my server comes back online I'll upload new avalon firmware.

Cool. Can't wait to test it.

1ghostLfPmdYi4PuDsECRBXYadsGSHofz
kano
Legendary
*
Offline Offline

Activity: 1932


Linux since 1997 RedHat 4


View Profile
August 11, 2013, 11:38:55 PM
 #6407

(Zadig) that all but the inept can follow.

That's not really true, is it?  WinUSB and zadiag is an unnecessary complication.  And an unreliable one at that.  

VCP drivers, as I said above, are so simple anyone can get those working.  It's a 2 second install, wait for the sticks to be installed, run miner.
No

Well, yes actually.  Huh  

I don't understand?

It really is as simple as running the VCP driver installer (double click, press next, press finish).  Plug in hub.  Plug in Erupters.  Wait a few minutes until Erupters are assigned COM port.  Run bfgminer with -S erupter:all flag, job done.    

That's literally from a fresh install of Windows.  No other driver.

How can running zadiag and changing drivers per stick and all that jazz possibly be easier that doing nothing? My mind is literally boggling as to how you think all those extra steps are easier than one step.  Huh
I never said it was easier than doing nothing.
Quote where I said that?

Though as you pointed out yourself - it isn't "doing nothing" to do it your way either ...

Sheesh, I can't stand people who argue about crap just so they pretend they never say anything incorrect.

It is however, easy to do for all but the inept.

Not only that, you don't have to wait.
You start cgminer even before you plug them in with all the other hardware you already have ...
and when you plug them in, and they are detected properly, cgminer will start using them.
For the first one that requires using Zadig, rather than using "VCP driver installer"
For the rest it is ... nothing.

Pool: https://kano.is BTC: 1KanoiBupPiZfkwqB7rfLXAzPnoTshAVmb
CKPool and CGMiner developer, IRC FreeNode #ckpool and #cgminer kanoi
Help keep Bitcoin secure by mining on pools with Stratum, the best protocol to mine Bitcoins with ASIC hardware
Ghost of USD
Jr. Member
*
Offline Offline

Activity: 31


View Profile
August 11, 2013, 11:51:02 PM
 #6408

An Avalon mining on P2Pool with even 3 modules does indeed take its CPU to the limit. The only real difference between P2Pool and other pools is that P2Pool's generation transaction is much larger. I'm guessing that the bottleneck is hashing the generation transaction ~16 times per second (though that isn't much...). If that's true, perhaps cgminer could be optimized to compress everything before the Stratum nonce to a SHA-256 midstate?
There's an obvious optimisation there that I didn't spot and it's only now that we have hardware being outstripped by the work generation requirements that I've looked into it. Thanks for the pointer, I shall see what I can do.
Yes, that did it. I've committed code to the cgminer git tree which dramatically reduces the cpu usage (confirmed on my avalon mining to p2pool). When my server comes back online I'll upload new avalon firmware.

Cool. Can't wait to test it.

Managed to figure out how to cross compile cgminer from the git repo.

Latest version brings down the CPU usage to ~20%, not quite as optimized as bfgminer, but now we have plenty of headroom on the TP-Link to hash at p2pool with full power.

Thank you ckolivas!

1ghostLfPmdYi4PuDsECRBXYadsGSHofz
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2002


Ruu \o/


View Profile WWW
August 12, 2013, 05:03:27 AM
 #6409

Thanks for testing. Still got a little bit more to squeeze out of it but the cpu usage will always look a little higher due to the driver cpu usage all being attributed to cgminer now instead of hidden in the operating system (since there is no driver with direct usb).

Primary developer/maintainer for cgminer and ckpool/ckproxy.
Pooled mine at kano.is, solo mine at solo.ckpool.org
-ck
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2002


Ruu \o/


View Profile WWW
August 12, 2013, 08:48:06 PM
 #6410

Thanks for testing. Still got a little bit more to squeeze out of it but the cpu usage will always look a little higher due to the driver cpu usage all being attributed to cgminer now instead of hidden in the operating system (since there is no driver with direct usb).
I've completed the rework of the stratum work generation code which was where most of the high CPU usage on p2pool was, and uploaded new firmware with the newly released version 3.3.3 of cgminer:

EDIT: Updated link, with slightly newer firmware:
http://ck.kolivas.org/apps/cgminer/avalon/20130813-1/

Primary developer/maintainer for cgminer and ckpool/ckproxy.
Pooled mine at kano.is, solo mine at solo.ckpool.org
-ck
K1773R
Legendary
*
Offline Offline

Activity: 1526


/dev/null


View Profile
August 12, 2013, 08:54:36 PM
 #6411

Thanks for testing. Still got a little bit more to squeeze out of it but the cpu usage will always look a little higher due to the driver cpu usage all being attributed to cgminer now instead of hidden in the operating system (since there is no driver with direct usb).
I've completed the rework of the stratum work generation code which was where most of the high CPU usage on p2pool was, and uploaded new firmware with the newly released version 3.3.3 of cgminer:

http://ck.kolivas.org/apps/cgminer/avalon/20130813/
great, seems i have to try stratum + p2pool again, as stratum was worse than getwork and +<diff>, tough i dont have avalons Wink

[GPG Public Key]  [Devcoin Builds]  [BBQCoin Builds]  [Multichain Blockexplorer]  [Multichain Blockexplorer - PoS Coins]  [Ufasoft Miner Linux Builds]
BTC/DVC/TRC/FRC: 1K1773RbXRZVRQSSXe9N6N2MUFERvrdu6y ANC/XPM AK1773RTmRKtvbKBCrUu95UQg5iegrqyeA NMC: NK1773Rzv8b4ugmCgX789PbjewA9fL9Dy1 LTC: LKi773RBuPepQH8E6Zb1ponoCvgbU7hHmd EMC: EK1773RxUes1HX1YAGMZ1xVYBBRUCqfDoF BQC: bK1773R1APJz4yTgRkmdKQhjhiMyQpJgfN
bronan
Hero Member
*****
Offline Offline

Activity: 765


Lazy Lurker Reads Alot


View Profile WWW
August 12, 2013, 10:31:31 PM
 #6412

Well i allways loved cgminer but i switched simply because the other just runs without doing any zadig crap.
It probably depends also on which version of windows your running in my case windows 8 pro x64.

You say : install zadig once and all work....... The hell it does not

It will not install on all usb devices.
You have to freaking add all by hand every freaking device

It simply not install any other then that one device you did, in my case each and every block erupter YES all 12

True after that .. it works flawless with this zadig, unless you want to use a different hardware with it ... like bfl jalapeno

Because indeed i could not get the freaking jala to work with or without zadig at all, cgminer simply refused to find that thing.
Even though it was clearly visible as a FTDI device in windows

And last but not least to get the zadig crap out your kinda busy as well, the only simple solution is delete each and every usb driver which was used with zadig and keep deleting them till the libusb driver is back instead of winusb.
It really turned out to be nastier then i expected, even now some ports still got the winusb installed after several attempts to get rid of them. I have not found one simple solution to remove that winusb driver yet.
The libusb which the zadig tool puts in IS not the one which works flawless with bfgminer


K1773R
Legendary
*
Offline Offline

Activity: 1526


/dev/null


View Profile
August 12, 2013, 11:07:20 PM
 #6413

Well i allways loved cgminer but i switched simply because the other just runs without doing any zadig crap.
It probably depends also on which version of windows your running in my case windows 8 pro x64.

You say : install zadig once and all work....... The hell it does not

It will not install on all usb devices.
You have to freaking add all by hand every freaking device

It simply not install any other then that one device you did, in my case each and every block erupter YES all 12

True after that .. it works flawless with this zadig, unless you want to use a different hardware with it ... like bfl jalapeno

Because indeed i could not get the freaking jala to work with or without zadig at all, cgminer simply refused to find that thing.
Even though it was clearly visible as a FTDI device in windows

And last but not least to get the zadig crap out your kinda busy as well, the only simple solution is delete each and every usb driver which was used with zadig and keep deleting them till the libusb driver is back instead of winusb.
It really turned out to be nastier then i expected, even now some ports still got the winusb installed after several attempts to get rid of them. I have not found one simple solution to remove that winusb driver yet.
The libusb which the zadig tool puts in IS not the one which works flawless with bfgminer
welcome to winblows Wink

[GPG Public Key]  [Devcoin Builds]  [BBQCoin Builds]  [Multichain Blockexplorer]  [Multichain Blockexplorer - PoS Coins]  [Ufasoft Miner Linux Builds]
BTC/DVC/TRC/FRC: 1K1773RbXRZVRQSSXe9N6N2MUFERvrdu6y ANC/XPM AK1773RTmRKtvbKBCrUu95UQg5iegrqyeA NMC: NK1773Rzv8b4ugmCgX789PbjewA9fL9Dy1 LTC: LKi773RBuPepQH8E6Zb1ponoCvgbU7hHmd EMC: EK1773RxUes1HX1YAGMZ1xVYBBRUCqfDoF BQC: bK1773R1APJz4yTgRkmdKQhjhiMyQpJgfN
bronan
Hero Member
*****
Offline Offline

Activity: 765


Lazy Lurker Reads Alot


View Profile WWW
August 12, 2013, 11:23:38 PM
 #6414

lol
I admit tux has some advantages but also has many disadvantages
If i would not have to cope with 5 ladies using winblows software like *cough* ms office *cough* and if games really would run smooth and instant on tux, like they do on winblows i would instant switch over.
This far non of the game industry is willing and able to port their games over to linux.
So i guess thats not gonna happen anytime soon, and i expect that not to happen for at least 10 decades.
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2002


Ruu \o/


View Profile WWW
August 13, 2013, 12:11:25 AM
 #6415

I believe this is why the abbreviation YMMV was invented, but we love you still.

Primary developer/maintainer for cgminer and ckpool/ckproxy.
Pooled mine at kano.is, solo mine at solo.ckpool.org
-ck
stevegee58
Hero Member
*****
Offline Offline

Activity: 783



View Profile
August 13, 2013, 12:24:12 AM
 #6416

...and if games really would run smooth and instant on tux, like they do on winblows i would instant switch over.

I was quite the gamer in my time.  Fortunately I've moved on and it no longer influences me in important decisions like this.

You are in a maze of twisty little passages, all alike.
mdude77
Legendary
*
Offline Offline

Activity: 1358


View Profile
August 13, 2013, 01:17:43 AM
 #6417

Well i allways loved cgminer but i switched simply because the other just runs without doing any zadig crap.
It probably depends also on which version of windows your running in my case windows 8 pro x64.

You say : install zadig once and all work....... The hell it does not

It will not install on all usb devices.
You have to freaking add all by hand every freaking device

It simply not install any other then that one device you did, in my case each and every block erupter YES all 12

True after that .. it works flawless with this zadig, unless you want to use a different hardware with it ... like bfl jalapeno

Because indeed i could not get the freaking jala to work with or without zadig at all, cgminer simply refused to find that thing.
Even though it was clearly visible as a FTDI device in windows

And last but not least to get the zadig crap out your kinda busy as well, the only simple solution is delete each and every usb driver which was used with zadig and keep deleting them till the libusb driver is back instead of winusb.
It really turned out to be nastier then i expected, even now some ports still got the winusb installed after several attempts to get rid of them. I have not found one simple solution to remove that winusb driver yet.
The libusb which the zadig tool puts in IS not the one which works flawless with bfgminer

I didn't have such difficulty.  I installed zadig once for one, rebooted, and it's worked great ever since.  When I get a new USB erupter, I plug it in, modify my command line to launch cgminer, and it just works (tm). 

Quite different from my experiences with linux.  I can spend a day trying to get linux to work and fail, or an hour to get windows and succeed.  Easy choice for me.

M

MMinerMonitor author, monitor/auto/schedule reboots/alerts/remote/MobileMiner for Ants and Spondoolies! Latest (5.2). MPoolMonitor author, monitor stats/workers for most pools, global BTC stats (current/nxt diff/USD val/hashrate/calc)! Latest (v4.2) 
Buyer beware of Bitmain hardware and services.
kano
Legendary
*
Offline Offline

Activity: 1932


Linux since 1997 RedHat 4


View Profile
August 13, 2013, 01:24:18 AM
 #6418

lol
I admit tux has some advantages but also has many disadvantages
If i would not have to cope with 5 ladies using winblows software like *cough* ms office *cough* and if games really would run smooth and instant on tux, like they do on winblows i would instant switch over.
This far non of the game industry is willing and able to port their games over to linux.
So i guess thats not gonna happen anytime soon, and i expect that not to happen for at least 10 decades.

Well, I guess if mining reliability and uptime takes a 2nd importance to playing games ... well yeah ... who cares Tongue

Get an RPi ~$50+ and it will run linux and mine on all those devices ... and never shutdown at 3am doing windows updates (that you'll have to know how to deal with) ... and not detect cgminer as a virus (that you'll have to know how to deal with) ... and not need buying the OS and updating the hardware (or wiping and reinstalling windows that you'll need to know how to deal with) every couple of years due to windows slowing down to a crawl ...

In my case I simply have all the consoles (for my kids Tongue)
Cheaper and more reliable than playing games on windows
(I got sick of having to spend up to $1k every couple of years updating the windows computer ... with a new cheap GPU etc)

I support 6 small companies (I'm their full IT department) and I sure don't run windows on my desktop ... even though every desktop they have I setup as Windows coz that's what they want.
I have a windows VM coz ... some people want to run cgminer on windows ... so I have to be able to test it Sad

Pool: https://kano.is BTC: 1KanoiBupPiZfkwqB7rfLXAzPnoTshAVmb
CKPool and CGMiner developer, IRC FreeNode #ckpool and #cgminer kanoi
Help keep Bitcoin secure by mining on pools with Stratum, the best protocol to mine Bitcoins with ASIC hardware
HellDiverUK
Hero Member
*****
Offline Offline

Activity: 574


View Profile
August 13, 2013, 08:46:59 AM
 #6419


Get an RPi ~$50+ and it will run linux and mine on all those devices ... and never shutdown at 3am doing windows updates (that you'll have to know how to deal with) ... and not detect cgminer as a virus (that you'll have to know how to deal with) ... and not need buying the OS and updating the hardware (or wiping and reinstalling windows that you'll need to know how to deal with) every couple of years due to windows slowing down to a crawl ...


If any of this happens to you, you should definitely stick to Linux, because you suck at running Windows.   Kiss
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2002


Ruu \o/


View Profile WWW
August 13, 2013, 08:51:01 AM
 #6420

I've completed the rework of the stratum work generation code which was where most of the high CPU usage on p2pool was, and uploaded new firmware with the newly released version 3.3.3 of cgminer:
Updated link, with slightly newer firmware addressing slower speeds on auto:
http://ck.kolivas.org/apps/cgminer/avalon/20130813-1/

Primary developer/maintainer for cgminer and ckpool/ckproxy.
Pooled mine at kano.is, solo mine at solo.ckpool.org
-ck
Pages: « 1 ... 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 [321] 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 ... 744 »
  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!