This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
ElinKattunge's profile picture

Rackmount computers in ComputerCraft

Started by ElinKattunge, 11 January 2016 - 02:06 PM
ElinKattunge #1
Posted 11 January 2016 - 03:06 PM
Hello,
I was wondering if there are any plans to add rackmount computers to ComputerCraft, Data Center solutions are a good idea and it is ugly having computers with screens and no rackmounting solution saying around, they are bulky and use a lot of space.

I highly recommend that you add rackmount computers to ComputerCraft.
Creator #2
Posted 12 January 2016 - 09:30 PM
You could a data center by connecting a lot of disks with a single network cable. In this case only PC is necessary.
HPWebcamAble #3
Posted 13 January 2016 - 02:37 AM
Hello,
Data Center solutions are a good idea and it is ugly having computers with screens and no rackmounting solution saying around, they are bulky and use a lot of space.

In real life, yes.

But this is Minecraft ;)/>


You can run theoretically unlimited virtual computers from single block, if you are up to the task of writing some virtualization software in Lua

The main reason that server racks are used IRL is for additional computing power (or power focused in a certain area, like graphics for example)
However in ComputerCraft, each computer has the same speed, and only one computer can run at a time. Meaning more computers slows down other CC computers overall.
wilcomega #4
Posted 14 January 2016 - 10:09 AM
Hello,
Data Center solutions are a good idea and it is ugly having computers with screens and no rackmounting solution saying around, they are bulky and use a lot of space.

In real life, yes.

But this is Minecraft ;)/>


You can run theoretically unlimited virtual computers from single block, if you are up to the task of writing some virtualization software in Lua

The main reason that server racks are used IRL is for additional computing power (or power focused in a certain area, like graphics for example)
However in ComputerCraft, each computer has the same speed, and only one computer can run at a time. Meaning more computers slows down other CC computers overall.

exactly this, as far as i am aware cc does not use any threading for computers or any virtual hardware limitations for computers, which means like he said that CC computers always run at max speed and adding more running cc computers makes every single one slower

if CC 2.0 were to use virtual hardware limitations (which means limited ram / cpu cycles) it would be usefull to use a lot of computers to process large amounts of data for example
if CC 2.0 were to use threading it would mean that computers simply became more powerfull and windows / linux would take care of running the computers. althought i suspect this will not be implemented because using threads just raises a boat load more problems.
Edited on 14 January 2016 - 09:13 AM
Bomb Bloke #5
Posted 14 January 2016 - 11:01 AM
Truth be told, ComputerCraft computers are threaded. They still don't run in true parallel, though, and I'd imagine that would be difficult to change. Also not really worthwhile, as the current system makes it difficult for ComputerCraft to overload the real-world CPUs of Minecraft servers.

CC 2.0 is unlikely to offer more than one "system" per instance you run, so I'd imagine it's a moot point there.
ElinKattunge #6
Posted 15 January 2016 - 01:08 PM
Ah, okay thanks! I have an ME datacenter but wanted to span out with computers. I guess I will look into using ComputerCraft as a Data Center solution in the future. Thank you very much guys!
Lemmmy #7
Posted 17 January 2016 - 01:15 AM
Eliminating the idea of multithreading, a peripheral for multiple computers in one block could be interesting. A networking cable would link all the computers to the network. Then the programmer could simply distribute the load between the computers.
braydenq6 #8
Posted 19 January 2016 - 05:50 AM
Rack mounts are avaliable in opencomputer's
Dragon53535 #9
Posted 20 January 2016 - 02:39 AM
Eliminating the idea of multithreading, a peripheral for multiple computers in one block could be interesting. A networking cable would link all the computers to the network. Then the programmer could simply distribute the load between the computers.
The thing is, there is no load at all. Each computer in the world runs in sequence, so when one computer is running, every other one is off, or waiting for an event. Why use multiple computers, for something one can do at no cost to speed.
wilcomega #10
Posted 20 January 2016 - 01:09 PM
Eliminating the idea of multithreading, a peripheral for multiple computers in one block could be interesting. A networking cable would link all the computers to the network. Then the programmer could simply distribute the load between the computers.
The thing is, there is no load at all. Each computer in the world runs in sequence, so when one computer is running, every other one is off, or waiting for an event. Why use multiple computers, for something one can do at no cost to speed.

And that is why i like openComputers, limited clockspeed and memory, there you accually have a reason to have more computers or more powerfull hardware, but thats beside the point
Edited on 20 January 2016 - 12:09 PM