Bitcoin-Mining on a 55 year old IBM1401-Mainframe

Gepostet vor 1 Jahr, 8 Monaten in #Misc #Tech #Bitcoins #Hardware #Retrotech

Share: Twitter Facebook Mail

ibm1

Vor ein paar Monaten hatte jemand Bitcoins mit Papier und Bleistift ausgerechnet, jetzt hat das einer mit Lochkarten auf 'nem ollen IBM-Mainframe getan. Am Ende rechnen die das irgendwann noch auf richtigen Rechnern und erfinden noch ganze Bitcoin-Cluster aus Grafikkarten oder sowas.

ibm2Could an IBM mainframe from the 1960s mine Bitcoin? The idea seemed crazy, so I decided to find out. I implemented the Bitcoin hash algorithm in assembly code for the IBM 1401 and tested it on a working vintage mainframe. It turns out that this computer could mine, but so slowly it would take more than the lifetime of the universe to successfully mine a block. While modern hardware can compute billions of hashes per second, the 1401 takes 80 seconds to compute a single hash. […]

The IBM 1401 is almost the worst machine you could pick to implement the SHA-256 hash algorithm. The algorithm is designed to be implemented efficiently on machines that can do bit operations on 32-bit words. Unfortunately, the IBM 1401 doesn't have 32-bit words or even bytes. It uses 6-bit characters and doesn't provide bit operations. It doesn't even handle binary arithmetic, using decimal arithmetic instead. Thus, implementing the algorithm on the 1401 is slow and inconvenient.

I ended up using one character per bit. A 32-bit value is stored as 32 characters, either "0" or "1". My code has to perform the bit operations and additions character-by-character, basically checking each character and deciding what to do with it. As you might expect, the resulting code is very slow.

Bitcoin mining on a 55 year old IBM 1401 mainframe: 80 seconds per hash (via Hackaday)

Vorher auf Nerdcore:
Analog Bitcoin Mining with Pen, Paper and Math

The HiFi-Book, 1981

Marc Fischer sammelt in seinem hervorragenden Public Collectors-Tumblr Bilder aus alten HiFi-Katalogen von 1979/1981: „From The Hifi Book, a catalog…

Floppy Foo Fighters

Paweł Zadrożniaks Floppotron auf Nerdcore: 64 Floppy Drives spielen Last Christmas 64 Floppy Drives spielen Game of Thrones 64 Floppy…

Keyboard Bling 😱

😱 😱 This shit exists: e-element 104 PBT Double Shot. 😱 This year already sucks as bad as the last…

Rare Pepes on the Blockchain

Es gibt jetzt ein Rare Pepe Dictionary, das die Viecher in die Blockchain schreibt und so ihre Seltenheit gewährleistet. Meme-Economy…

No WiFi, No Writing, No Higher Brain-Functions, No Matter, No Time

via ‏@carric0che

Portal on an Apple II

Portal ported to an AppleII in Basic. Not bad. (via MeFi) This is about an Apple II version of Portal,…

C64-PETSCII-Dithering

Schöne Experimente mit Video-Rendering in C64-PETSCII vom Chiptunes-Label DataDoor:

64 Floppy Drives spielen Last Christmas

Paweł Zadrożniaks Floppotron aus 64 Floppy-Drives, 2 Scannern und 8 Festplatten spielt Whams „Last Christmas“ because ofcourse it does. Sein…

Mechanical Sand-RAM

Schöne Arbeit von Ralf Baecker, ein mechanischer RAM, der Binärdaten mit Sandkörnern schreibt und damit ein bisschen Voodoo ausrechnet: Random…

Mac Planters

Macs als Pflanzentöpfe von Monsieur Plant. Ich mag den iMac voller fleischfressender Pflanzen natürlich am liebsten. (via Klonblog)

Alexa Fishbot

The Future. It's beautiful. who did thispic.twitter.com/Wriy531ALr — 🦃 Wolf ウルフ (@Ouren) November 4, 2016