←back to thread

468 points speckx | 1 comments | | HN request time: 0s | source
Show context
densh ◴[] No.45304632[source]
For anyone interested in playing with distributed systems, I'd really recommend getting a single machine with latest 16-core CPU from AMD and just running 8 virtual machines on it. 8 virtual machines, with 4 hyper threads pinned per machine, and 1/8 of total RAM per machine. Create a network between them virtually within your virtualization software of choice (such as Proxmox).

And suddenly you can start playing with distributed software, even though it's running on a single machine. For resiliency tests you can unplug one machine at a time with a single click. It will annihilate a Pi cluster in Perf/W as well, and you don't have to assemble a complex web of components to make it work. Just a single CPU, motherboard, m.2 SSD, and two sticks of RAM.

Naturally, using a high core count machine without virtualization will get you best overall Perf/W in most benchmarks. What's also important but often not highlighted in benchmarks in Idle W if you'd like to keep your cluster running, and only use it occasionally.

replies(6): >>45305155 #>>45305387 #>>45305468 #>>45305628 #>>45307364 #>>45313651 #
qmr ◴[] No.45305628[source]
No need for so much CPU power, any old quad core would work.
replies(2): >>45306905 #>>45309795 #
subscribed ◴[] No.45306905[source]
Old quad core won't have all the virtualisation extensions.
replies(4): >>45307617 #>>45308289 #>>45310898 #>>45315702 #
1. qmr ◴[] No.45308289[source]
Virtualization existed long before virtualization instructions. Not strictly necessary.