Bitcoin Forum
November 09, 2024, 04:27:43 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 270 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 ... 814 »
  Print  
Author Topic: [1500 TH] p2pool: Decentralized, DoS-resistant, Hop-Proof pool  (Read 2591887 times)
HellDiverUK
Hero Member
*****
Offline Offline

Activity: 1246
Merit: 501



View Profile
August 11, 2013, 12:08:30 PM
 #6381

(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.
bitpop
Legendary
*
Offline Offline

Activity: 2912
Merit: 1060



View Profile WWW
August 11, 2013, 12:10:26 PM
 #6382

A complication is finding the com ports

kano
Legendary
*
Offline Offline

Activity: 4620
Merit: 1851


Linux since 1997 RedHat 4


View Profile
August 11, 2013, 12:43:30 PM
 #6383

(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

Pool: https://kano.is - low 0.5% fee PPLNS 3 Days - Most reliable Solo with ONLY 0.5% fee   Bitcointalk thread: Forum
Discord support invite at https://kano.is/ Majority developer of the ckpool code - k for kano
The ONLY active original developer of cgminer. Original master git: https://github.com/kanoi/cgminer
HellDiverUK
Hero Member
*****
Offline Offline

Activity: 1246
Merit: 501



View Profile
August 11, 2013, 04:45:50 PM
 #6384

(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
-ck
Legendary
*
Offline Offline

Activity: 4284
Merit: 1645


Ruu \o/


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

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.

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
HellDiverUK
Hero Member
*****
Offline Offline

Activity: 1246
Merit: 501



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

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: 288
Merit: 250



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

Is there any option in p2pool to send an email when payout is generated?
Krak
Hero Member
*****
Offline Offline

Activity: 591
Merit: 500



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

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: 288
Merit: 250



View Profile
August 11, 2013, 07:37:42 PM
Last edit: August 11, 2013, 07:49:09 PM by xgtele
 #6389

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
Newbie
*
Offline Offline

Activity: 31
Merit: 0


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

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

Activity: 4620
Merit: 1851


Linux since 1997 RedHat 4


View Profile
August 11, 2013, 11:38:55 PM
Last edit: August 11, 2013, 11:57:05 PM by kano
 #6391

(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 - low 0.5% fee PPLNS 3 Days - Most reliable Solo with ONLY 0.5% fee   Bitcointalk thread: Forum
Discord support invite at https://kano.is/ Majority developer of the ckpool code - k for kano
The ONLY active original developer of cgminer. Original master git: https://github.com/kanoi/cgminer
Ghost of USD
Newbie
*
Offline Offline

Activity: 31
Merit: 0


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

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!
-ck
Legendary
*
Offline Offline

Activity: 4284
Merit: 1645


Ruu \o/


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

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).

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
-ck
Legendary
*
Offline Offline

Activity: 4284
Merit: 1645


Ruu \o/


View Profile WWW
August 12, 2013, 08:48:06 PM
Last edit: August 13, 2013, 08:50:17 AM by ckolivas
 #6394

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/

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
K1773R
Legendary
*
Offline Offline

Activity: 1792
Merit: 1008


/dev/null


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

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]
BTC/DVC/TRC/FRC: 1K1773RbXRZVRQSSXe9N6N2MUFERvrdu6y ANC/XPM AK1773RTmRKtvbKBCrUu95UQg5iegrqyeA NMC: NK1773Rzv8b4ugmCgX789PbjewA9fL9Dy1 LTC: LKi773RBuPepQH8E6Zb1ponoCvgbU7hHmd EMC: EK1773RxUes1HX1YAGMZ1xVYBBRUCqfDoF BQC: bK1773R1APJz4yTgRkmdKQhjhiMyQpJgfN
bronan
Hero Member
*****
Offline Offline

Activity: 774
Merit: 500


Lazy Lurker Reads Alot


View Profile
August 12, 2013, 10:31:31 PM
 #6396

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: 1792
Merit: 1008


/dev/null


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

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]
BTC/DVC/TRC/FRC: 1K1773RbXRZVRQSSXe9N6N2MUFERvrdu6y ANC/XPM AK1773RTmRKtvbKBCrUu95UQg5iegrqyeA NMC: NK1773Rzv8b4ugmCgX789PbjewA9fL9Dy1 LTC: LKi773RBuPepQH8E6Zb1ponoCvgbU7hHmd EMC: EK1773RxUes1HX1YAGMZ1xVYBBRUCqfDoF BQC: bK1773R1APJz4yTgRkmdKQhjhiMyQpJgfN
bronan
Hero Member
*****
Offline Offline

Activity: 774
Merit: 500


Lazy Lurker Reads Alot


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

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

Activity: 4284
Merit: 1645


Ruu \o/


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

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

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
stevegee58
Legendary
*
Offline Offline

Activity: 916
Merit: 1003



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

...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.
Pages: « 1 ... 270 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 ... 814 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!