Bitcoin cpu or gpu

Майнинг криптовалют CPU VS GPU

После горячего 2017 года, когда майнингом криптовалют занималось наверно половина населения планеты, наступило вполне ожидаемое охлаждение рынка. Из-за чего рентабельность майнинговой деятельности упало до окупаемости оборудования до минимальных значений в 2-3 года. Причем это уже с учетом падения цен на асики в несколько раз и на видеокарты на 20-30% от их максимального значения в период повышенного спроса. В этот не самый благоприятный момент компания AMD делает скидку до 50% на свои HEDT процессоры Ryzen Threadripper первого поколения, которые как мы знаем отлично себя показывают в майнинге на алгоритме Cryptonight и его клонов Cryptonightv7 и CryptonightHeavy. Такое серьезное снижение цен на топовые центральные процессоры заинтересовало нас как быстро окупиться Ryzen Treadripper в современных условиях майнинга криптовалют и сравним этот показатель с видеокартами.

Начнем все таки с новости о новых ценах на Ryzen Threadripper первого поколения:

Как можно заметить на модели 1900X и 1920X текущая рекомендованная AMD цена ниже на 50% от начальной цены на старте продаж и теперь сопоставима с ценами на видеокарты уровня GTX1060 и GTX1070 соответственно. Стоимость Ryzen Threadripper 1950X снижена всего на 20% и соответствует текущей цене на видеокарты GTX1080Ti. Такое совпадение в цене между ЦП и ГПУ еще больше задает интриги в нашем сравнении GPU VS CPU.

Вся линейка Threadripper-ов в 2018 году выглядит следующим образом:

Новые процессоры мы оставим за скобками этого сравнения, из-за привлекательной цены протестируем только прошлогодние модели, посчитаем их окупаемость и сравним с видеокартами.

Характеристики Ryzen 1900X Ryzen 1920X Ryzen 1950X GTX1060 6Gb GTX1070 GTX1080Ti
Цена в евро* 280 (325USD) 361 (418USD) 614 (712USD) 230 (266USD) 340 (395USD) 630 (730USD)
Энергопотребление (в майнинге) 180Вт 180Вт 180Вт 120Вт (70Вт) 150Вт (100Вт) 250Вт (150Вт)
хешрейт CryptonightV7 (Monero) 900 1100 1370 H/s 430H/s 690H/s 850H/s
Хешрейт ETHash (Ethereum) 23Mh/S 30Mh/s 50Mh/s
Доход без ЭЭ в день 0,50USD 0,61 USD 0,76 USD 0,46USD 0,61 USD 1 USD
Доход с учетом ЭЭ в день 0,24USD 0,35USD 0,50USD 0,33 USD 0,43USD 0,81USD
Окупаемость (ROI), дней 1354 дня 1194 день 1424 дня 806 дней 918 дней 901 день

*Цены взяты с сайта ComputerUniverse (цены указаны для продаж за пределы евросоюза т.е. без налога с продаж)

Расчеты проведены 24 августа 2018 года с помощью сайтов калькуляторов Profit-mine.com и Whattomine.com

Для видеокарт окупаемость считалась при майнинге Ethereum, как наиболее выгодный на сегодня майнинг на видеокартах.

Стоимость электроэнергии (ЭЭ) взята в размере 4 рублей за КВт (0,06 USD).

Вывод: Центральные процессоры от AMD Ryzen Threadripper значительно превосходят по хешрейту на алгоритме CryptonightV7 видеокарты похожей ценовой категории, однако видеокарты проявляют себя гораздо лучше в других алгоритмах (Ethash), которые на данный момент более выгодные для майнинга. Поэтому чуда не случилось и ЦП продолжают проигрывать по времени окупаемости видеокартам, хотя этот разрыв и уменьшился в два раза.

Подпишись на наш Telegram канал @cryptoage и Вконтакте, узнавай новости про криптовалюты первым.

Общайся с криптоэнтузиастами и майнерами в Telegram чате @CryptoChat

Источник

Why a GPU mines faster than a CPU

Enjoyed the article? Share:

Some Bitcoin users might wonder why there is a huge disparity between the mining output of a CPU versus a GPU. First, just to clarify, the CPU, or central processing unit, is the part of the computer that performs the will of the software loaded on the computer. It’s the main executive for the entire machine. It is the master that tells all the parts of the computer what to do — in accordance with the program code of the software, and, hopefully, the will of the user. Most computers have multi-core CPUs nowadays (which is almost the same thing as having multiple CPU’s in a single physical package)., and some computers even have multiple CPUs.

The CPU is usually a removable component that plugs into the computer’s main circuit board, or motherboard and sits underneath a large, metallic heat sink which usually has a fan, a few are cooled by water.

The GPU, or graphics processing unit, is a part of the video rendering system of a computer. The typical function of a GPU is to assist with the rendering of 3D graphics and visual effects so that the CPU doesn’t have to.

Contents

Comparison of GPU and CPU miners [ edit ]

Servers usually have very limited or no GPU facilities as they are mostly managed over a text-based remote interface. Most mainstream computers have much slower but less power consuming and cheaper IGPs (Integrated Graphics Processor), which are GPUs as well but integrated directly into the chipset and soldered onto the motherboard, rather than separate, more powerful but power consuming AGP or PCIe cards with GPUs, but separate GPUs. Powerful GPUs are needed mostly for graphic intensive tasks such as gaming or video editing. For example, the translucent windows in Windows 7, or technologies like Mac OS X’s Quartz, which powers the Aqua desktop and its beautiful, water-like graphical effects and animations such as bulging the Dock in a smooth animation when the mouse is moved to the lower edge of the screen or «sucking» windows into the Dock when they are minimized — these are powered by GPUs.

A GPU is like a CPU, but there are important internal differences that make them suited toward their special tasks. These are the differences that make Bitcoin mining far more favorable on a GPU.

CPU vs GPU [ edit ]

A CPU core can execute 4 32-bit instructions per clock (using a 128-bit SSE instruction) or 8 via AVX (256-Bit), whereas a GPU like the Radeon HD 5970 can execute 3200 32-bit instructions per clock (using its 3200 ALUs or shaders). This is a difference of 800 (or 400 in case of AVX) times more instructions per clock. As of 2011, the fastest CPUs have up to 6, 8, or 12 cores and a somewhat higher frequency clock (2000-3000 MHz vs. 725 MHz for the Radeon HD 5970), but one HD5970 is still more than five times faster than four 12-core CPUs at 2.3GHz (which would also set you back about $4700 rather than $350 for the HD5970).

A CPU is an executive [ edit ]

A CPU is designed primarily to be an executive and make decisions, as directed by the software. For example, if you type a document and save it, it is the CPU’s job to turn your document into the appropriate file type and direct the hard disk to write it as a file. CPU’s can also do all kinds of math, as inside every CPU is one or more «Arithmetic/Logic Units» (ALU’s). CPU’s are also highly capable of following instructions of the «if this, do that, otherwise do something else». A large bulk of the structures inside a CPU are concerned with making sure that the CPU is ready to deal with having to switch to a different task on a moment’s notice when needed.

CPU’s also have to deal with quite a few other things which add complexity, including:

  • enforcing privilege levels and the boundaries between user programs and the operating system
  • creating the illusion of «virtual memory» to programs
  • for the most popular processors, being backwards compatible with legacy code

A GPU is a laborer [ edit ]

A GPU is very different. Yes, a GPU can do math, and can also do «this» and «that» based on specific conditions. However, GPU’s have been designed so they are very good at doing video processing, and less executive work. Video processing is a lot of repetitive work, since it is constantly being told to do the same thing to large groups of pixels on the screen. In order to make this run efficiency, video processors are far heavier on the ability to do repetitive work, than the ability to rapidly switch tasks.

GPU’s have large numbers of ALU’s, more so than CPU’s. As a result, they can do large amounts of bulky mathematical labor in a greater quantity than CPU’s.

Analogy [ edit ]

One way to visualize it is a CPU works like a small group of very smart people who can quickly do any task given to them. A GPU is a large group of relatively dumb people who aren’t individually very fast or smart, but who can be trained to do repetitive tasks, and collectively can be more productive just due to the sheer number of people. It’s not that a CPU is fat, spoiled, or lazy. Both CPUs and GPUs are creations made from billions of microscopic transistors crammed on a small piece of silicon. On silicon chips, size is expensive. The structures that make CPUs good at what they do take up lots of space. When those structures are omitted, that leaves plenty of room for many «dumb» ALU’s, which individually are very small.

The ALUs of a GPU are partitioned into groups, and each group of ALUs shares management, so members of the group cannot be made to work on separate tasks. They can either all work on nearly identical variations of one single task, in perfect sync with one another, or nothing at all. Trying different hashes repeatedly — the process behind Bitcoin mining — is a very repetitive task suitable for a GPU, with each attempt varying only by the changing of one number (called a «nonce») in the data being hashed.

The ATI Radeon 5970 is a popular video card for Bitcoin mining and, to date, offers the best known performance of any video card for this purpose. This particular card has 3,200 «Stream Processors», which can be thought of as 3,200 very dumb execution units that can be trained to all do the same repetitive task, just so long as they don’t have to make any decisions that interrupts their flow. Those execution units are contained in blocks. The 5970 uses a VLIW-5 architecture, which means the 3,200 Stream Processors are actually 640 «Cores,» Each able to process 5 instruction per clock cycle. Nvidia would call these cores «Cuda Cores», but as mentioned in this article, they are not VLIW, meaning they cannot do as much work per cycle. This is why comparing graphics cards by core count alone is not an accurate method of determining performance, and this is also why nVidia lags so far behind ATI in SHA-256 hashing.

Since ALU’s are what do all the work of Bitcoin mining, the number of available ALU’s has a direct effect on the hash output. Compare that to a 4-core CPU that can switch tasks on a dime, but has ALU’s in some small multiple of four, if not just four ALU’s alone. Trying a single SHA256 hash in the context of Bitcoin mining requires around 1,000 simple mathematical steps that must be performed entirely by ALU’s. That, in a nutshell, is why GPU’s can mine Bitcoins so much faster than CPU’s. Bitcoin mining requires no decision making — it is repetitive mathematical work for a computer. The only decision making that must be made in Bitcoin mining is, «do I have a valid block» or «do I not». That’s an excellent workload to run on a GPU.

Why are AMD GPUs faster than Nvidia GPUs? [ edit ]

Firstly, AMD designs GPUs with many simple ALUs/shaders (VLIW design) that run at a relatively low frequency clock (typically 1120-3200 ALUs at 625-900 MHz), whereas Nvidia’s microarchitecture consists of fewer more complex ALUs and tries to compensate with a higher shader clock (typically 448-1024 ALUs at 1150-1544 MHz). Because of this VLIW vs. non-VLIW difference, Nvidia uses up more square millimeters of die space per ALU, hence can pack fewer of them per chip, and they hit the frequency wall sooner than AMD which prevents them from increasing the clock high enough to match or surpass AMD’s performance. This translates to a raw ALU performance advantage for AMD:

  • AMD Radeon HD 6990: 3072 ALUs x 830 MHz = 2550 billion 32-bit instruction per second
  • Nvidia GTX 590: 1024 ALUs x 1214 MHz = 1243 billion 32-bit instruction per second

This approximate 2x-3x performance difference exists across the entire range of AMD and Nvidia GPUs. It is very visible in all ALU-bound GPGPU workloads such as Bitcoin, password bruteforcers, etc.

Secondly, another difference favoring Bitcoin mining on AMD GPUs instead of Nvidia’s is that the mining algorithm is based on SHA-256, which makes heavy use of the 32-bit integer right rotate operation. This operation can be implemented as a single hardware instruction on AMD GPUs (BIT_ALIGN_INT), but requires three separate hardware instructions to be emulated on Nvidia GPUs (2 shifts + 1 add). This alone gives AMD another 1.7x performance advantage (

1900 instructions instead of

3250 to execute the SHA-256 compression function). Combined together, these 2 factors make AMD GPUs overall 3x-5x faster when mining Bitcoins.

NVIDIA Releases NEW Generations of GPU Cards [ edit ]

NVIDIA’s new flagship card «GeForce GTX 690» is now beefier than it’s younger sibling — GTX 590. EVGA has also decided to use the same chipset on its flagship card «EVGA GeForce GTX 690 Signature». But what are the comparitive figures for the AMD and new NVIDIA GPU’s ? See Some Performance Specs Below:

GeForce GTX 690 (4,096MB): GPU Clock (MHz) 915 (1,019), GFLOPS 5,621 Single Precision, Double Precision Figures unavailable, ALU’s 3072 (manufacturer refer to this as CUDA Cores)

AMD Radeon HD 6990: 830MHz Engine Clock, 5,100 GFLOPs Single Precision , 1,270 GFLOPs Double Precision, ALU’s 3072

Источник

Как организовать майнинг криптовалюты на процессоре

  • Что такое майнинг на процессоре
  • Отличия в GPU и CPU mining
  • Как работает майнинг криптовалюты на процессоре
  • Заключение
  • Полезные видео для новичков

Материал будет полезен всем пользователям, которые только начинают знакомиться с темой «Майнинга» и собираются использовать домашний компьютер для получения цифровой валюты. Скажу сразу, что майнить Биткоин на процессоре невозможно, как и на обычной видеокарте, тут нужно в бой только асики покупать.

Самые популярные монеты для майнинга на процессоре (CPU):

Что такое майнинг на процессоре

Майнинг – это сложный вычислительный процесс, который невозможен без мощного настроенного оборудования, способного за секунду обрабатывать определенное количество операций с 16-разрядными величинами. В качестве такого оборудования могут выступать современные многоядерные процессоры с высокой частностью обработки данных.

То есть, майнинг на CPU – это популярный способ добычи криптовалюты, при котором в качестве основного оборудования выступает процессор. Например, если вы будете добывать Монеро, то этот процесс будет называться майнинг Монеро на CPU.

Отличия в GPU и CPU mining

В компьютере самой большой производительной мощностью обладают процессор и видеокарта.

Майнинг на CPU Майнинг на GPU
Это добыча криптоденег при помощи процессора. Это добыча криптоденег при помощи видеокарты.
Это простой и доступный способ получения новых или малоизвестных цифровых монет, которые в будущем могут существенно увеличиться в стоимости. Это более выгодный и эффективный способ, поскольку вычислительная способность большинства видеокарт превышает возможности процессора.

В этой небольшой таблице сразу же прослеживаются все недостатки CPU-майнинга. В 2018 году его эффективность крайне низка и пользователь может получить выгоду только в том случае, если правильно проанализирует рынок, выберет малоизвестную криптовалюту и дождется её существенного подорожания.

Как работает майнинг криптовалюты на процессоре

Все необходимые действия можно разделить на пять общих этапов, которые в процессе работы пользователь должен адаптировать под возможности своего ПК и типа выбранной криптовалюты.

Установите мощный процессор. В начале 2018 года самое эффективное оборудование производится фирмами AMD и Intel. Чтобы оценить их возможности – смотрите ниже таблицу производительности процессоров для майнинга:

Выберити операционную систему. Для майнинга криптовалюты лучше подойдет Linux:

  • можно воспользоваться специальными сборками ОС, которые специально заточены под майнинг;
  • можно использовать базовую комплектацию и самостоятельно исключить из нее все ненужные процессы.

В Windows производительность будет несколько ниже, поскольку процессоры вместе с майнингом будет решать ряд вспомогательных задач.

Предупреждение! За счет правильных настроек с помощью Linux можно увеличить производительность большинства процессоров. Однако, процесс майнинга Монеро и прочей популярной криптовалюты даже на Linux будет неэффективным.

Получите электронный кошелек для криптовалюты. Его вы сможете получить на официальном сайте выбранной цифровой единицы. Когда приложение будет скачано, выполните следующее:

  • установите кошелек на тот жесткий диск, где будет размещаться ваша майнинговая ферма;
  • проведите синхронизацию с сетью;
  • получите праймкоин-адрес.

Чтобы избежать неприятностей – заранее придумайте для кошелька сложный пароль, который храните только в бумажном виде.

Загрузите программу-майнер. Это специализированные приложения, которые будут организовывать всю работу, связанную с получением выбранной криптовалюты. Вот несколько примеров: CPU Miner (для Litecoin), Eobot (для Dogecoin), 50MINER (подходит для Litecoin и Bitcoin).

Запустите bat-файл. Это загрузочный документ, в котором содержатся все определяющие параметры запускаемого майнингового процесса. Он представлен в текстовом виде и необходим для отслеживания всех технических изменений.

Заключение о майнинге крипты на процессоре

    Майнинг на CPU – это один из способов получение криптовалюты, при котором в качестве специального оборудования выступает процессор домашнего ПК.

Майнинг на процессоре характеризуется низкой доходностью (в сутки 10-20 центов) и возможностью получения малоизвестных криптовалют.

  • Настраивать майнинг криптовалют лучше под Linux.
  • P.S. Друзья, а как вы считаете, есть ли смысл организовывать bitcoin-майнинг на Linux? Делитесь своими идеями в комментариях.

    Видео для новичков — майнинг криптовалюты на процессоре:

    Что и как майнить на процессоре:

    Источник

    Читайте также:  Palit geforce gtx 1650 gaming pro майнинг
    Оцените статью