Bitcoin Forum
April 25, 2024, 04:24:28 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 ... 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 [569]
11361  Bitcoin / Mining software (miners) / Re: New demonstration CPU miner available on: June 09, 2011, 06:28:52 AM
JG if you comment out the sysconf for windows you'll have to set a default value for opt_n_threads on windows since it's now zero.
11362  Bitcoin / Mining software (miners) / Re: New demonstration CPU miner available on: June 09, 2011, 03:08:06 AM
This is why I started hacking on jgarzik's one instead. The c code in it is much more what I'm familiar with and I've dealt with Jeff before Smiley The other cpuminer is the one with the assembly code.
11363  Bitcoin / Mining software (miners) / Re: New demonstration CPU miner available on: June 09, 2011, 01:52:21 AM
Hi Jeff Wink

Yeah I'll get more organised and do so tonight.

Done. Pull request generated. I've modified the code accordingly to try and build still elsewhere. Please check the changes as I can't compile test on other OSs.
11364  Bitcoin / Mining software (miners) / Re: New demonstration CPU miner available on: June 08, 2011, 11:43:18 PM
Hi Jeff Wink

Yeah I'll get more organised and do so tonight.
11365  Bitcoin / Mining software (miners) / Re: New demonstration CPU miner available on: June 08, 2011, 10:55:18 PM
I'm sorry the timing in relation to your bug report was coincidence. I wasn't trying to fix your problem.

It is of course the recommended settings hard coded in, but you'll see there was more mentioned in the changelog. It detects the number of CPUs and sets threads accordingly, it only runs the actual mining threads at lower priority (and not the master or work gathering threads), it sets the CPU affinity now which can improve throughput, it utilises the lower priority scheduling policies wherever possible (by trying to set SCHED_IDLE first and then if it fails, SCHED_BATCH before dropping back to just nice 19) and it has some minor optimisations.
11366  Bitcoin / Mining software (miners) / Re: New demonstration CPU miner available on: June 08, 2011, 12:18:19 PM
Hi. I've made some minor modifications to cpuminer that are x86_64 linux specific.

Here's the list of changes:
- Linux x86_64 tweaked version
- Uses sse2_64 algo by default
- Detects CPUs and sets threads accordingly
- Uses CPU affinity for each thread where appropriate
- Sets scheduling policy to lowest possible
- Minor performance tweaks

The changes aren't entirely portable but Jeff you might be interested in some or all of them.

Grab the source here:
http://ck.kolivas.org/apps/cpuminer-1.0.1a.tar.bz2
Pages: « 1 ... 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 [569]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!