README.CPU 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. EXECUTIVE SUMMARY ON CPU USAGE:
  2. By default, BFGMiner will NOT mine on CPUs unless it is explicitly compiled with
  3. support and told to do so. CPU mining for bitcoin is generally considered to be
  4. obsolete as it requires considerably more power per hash computed than either
  5. GPU, FPGA or ASIC based mining. If you still wish to mine using CPUs you will
  6. need to build a custom binary with support enabled (refer to the build notes in
  7. README for further information).
  8. The following CPU mining options are available:
  9. --algo <arg> Specify sha256 implementation for CPU mining:
  10. fastauto* Quick benchmark at startup to pick a working algorithm
  11. auto Benchmark at startup and pick fastest algorithm
  12. c Linux kernel sha256, implemented in C
  13. 4way tcatm's 4-way SSE2 implementation
  14. via VIA padlock implementation
  15. cryptopp Crypto++ C/C++ implementation
  16. cryptopp_asm32 Crypto++ 32-bit assembler implementation
  17. sse2_32 SSE2 32 bit implementation for i386 machines
  18. sse2_64 SSE2 64 bit implementation for x86_64 machines
  19. sse4_64 SSE4.1 64 bit implementation for x86_64 machines
  20. altivec_4way Altivec implementation for PowerPC G4 and G5 machines
  21. --cpu-threads <arg> Number of miner CPU threads (default: -1)
  22. CPU FAQ:
  23. Q: What happened to CPU mining?
  24. A: Being increasingly irrelevant for most users, and a maintenance issue, it is
  25. no longer under active development and will not be supported unless someone
  26. steps up to help maintain it. No binary builds supporting CPU mining will be
  27. released for Windows but CPU mining can be built into BFGMiner when it is
  28. compiled. For builds which do support CPU mining, it is still disabled by
  29. default, and must be enabled using the -S cpu:auto option.
  30. Q: So, should I even try CPU mining?
  31. A: No, it honestly will waste more power and time than it is worth at this stage.
  32. If you really wish to mine, you are better off getting a suitable ASIC instead.
  33. Q: But, if the computers aren't mine and I'm not paying for the power?
  34. A: If you are trying to use computers that aren't yours, you really should
  35. reconsider. Attempting to mine with a large number of devices will often impact
  36. negatively on many pools and will likely pay almost nothing due to the small
  37. number of successful shares submitted. Apart from that, you will probably get
  38. into trouble with someone down the track for misusing the computers.