r/computerscience • u/True-Fee-5033 • 21h ago
General Why can't you combine two computers into one?
For reference, I know very little about computers, but I've always wondered why you can't just take one computer, and then kinda shove it into another to combine into a computer²?
0
Upvotes
5
u/Doug2825 21h ago
The problem is sequential vs parallel tasks. Every cloud server and super computer is essentially many computers combined to make one.
The problem with doing something like that for a gaming computer is that it only allows you to do more different things at the same time. It does nothing for sequential code. More computer doesn't make does abc faster if c needs to be done after b, and b needs to be after a. But shoving more computer into the computer will let you do a, b, and c at the same time if the order doesn't matter.
2
u/Risc12 21h ago
You can?
Not sure what you expect to gain from it?
12
u/JmacTheGreat 21h ago
Who said you can’t?
I mean, it’s not as simple as you are making it sound, but the concept you are describing is extremely common (like server clusters)
1
u/o4ub Computer Scientist 21h ago
You cant really square tour computer, but you can have a double computer. And even more.
In high performance computing you often have at least two processors on a single motherboard, with a single OS managing both processors and the two of them talking and exchanging data. Then you motherboard get connected to other mother board into cabinets, those cabinets are interconnected too, and you scale that and get a supercomputer.
1
u/B15h73k 20h ago
And what do you think you could do with this combined computer?
1
u/rupertavery64 20h ago
It depends what you mean. Pretty much all computers today including phones, tablets, consoles have multiple cores, where a core is basically a computer - containing all the functioning parts to execute code, along with some cache and registers to be able to work on enough data individually. At some point though they all conect to the same hardware, so multi-core works best when handling separate data.
In another way, emulators are virtual computers running in a host computer. A lot of retro games can be played by running emulator software that makes games think they are being executed on the original hardware. This also happens with PCs. You can have Windows running on a Mac and vice versa. A lot of server infrastructure also does this to run multiple OSes isolated from each other on the same hardware.
4
u/am_Snowie 21h ago
It looks like you're just talking abt multiprocessors.
2
u/DustyAsh69 21h ago
You can combine them, yes. And it does happen, like in servers and supercomputers for example.
2
u/Delicious_Dirt_8481 21h ago
You can
2
u/Garfish16 21h ago
You kinda can!
2
u/Key_River7180 20h ago
that's the thing, you can. Distributed systems
2
u/artlab_one 20h ago
Your smartphone CPU has st least 8 compute cores...
2
u/tcpukl 21h ago
That's called networking. My phone just talked to Reddit and read your message.
1
u/WindwalkerrangerDM 20h ago
The same reason 2 women cant give birth in 4.5 months
1
u/IchBinEinZwerg 18h ago
You can, and in effect we've already done it.
Most CPUs these days are multicore - that means there are several clones of the same CPU design built together in a single chip. My Intel Core i7-8700K is a 6 core CPU, for example.
Graphics boards usually include a dedicated CPU that is optimised for graphics processing. The main CPU only needs to say "draw a triangle from these three points" and the GPU will handle the detail, taking significant load off the CPU. Early computers did all this from the main CPU and those of us that remember home computers in the 80s will remember how slow our computers were as a result, until we all got an Amiga.
Network cards have a dedicated CPU for network processing. Same with sound cards and lots of other subsystems. Disk controllers have their own CPU.
At a higher level computers can be networked together and controlled by a central co-ordinator that tells each one what to do. I used to work with Oracle RAC, which is a database that is distributed over several individual computers (although the controller in that case is also distributed) and can be scaled up as the business needs by simply adding more relatively cheap Linux boxes to the cluster.
If you've heard of a DDoS - distributed denial of service attack - that's also the same. Hackers get stuff onto your computer then control it from a central location somewhere dodgy and out of reach of the victim countries' laws, and if your malware protection isn't up to date then you might have unwittingly been involved in one of the recent high visibility outages.
1
u/hyper_beastm 10h ago
Combining them would cause numerous technical issues.
1
u/Hyrule_Path54 10h ago
Interesting thought, but complex.
-1
u/brbiou 20h ago
Taking any random 2 computers and jamming them into one will often not be possible because of compatibility. Everything needs to slot together properly. Faster memory and slower memory won’t work together, an AMD processor and an Intel processor neither.
You can do it though if you have two identical computers. You’ll need a larger motherboard where all the parts fit on though.