Jump to content
  • Sky
  • Blueberry
  • Slate
  • Blackcurrant
  • Watermelon
  • Strawberry
  • Orange
  • Banana
  • Apple
  • Emerald
  • Chocolate
  • Charcoal
  • 0
iCodingChaos

Supercomputers in OC

Question

8 answers to this question

Recommended Posts

  • 0

Depends on what you mean by "supercomputer". If you want to link multiple computers together for more RAM and parallel computing, a server rack in internal network mode would be a good start. This would only make sense for calculations that take long and require little communication between computers, otherwise you'd end up wasting more time on network I/O than you'd gain from having multiple computers.

Link to post
Share on other sites
  • 0

You cannot because of the fact a computer cannot do anything including looking for a CPU without a CPU, and (mostly) cannot hold the idea it should be looking for a CPU without RAM.

 

Also for every 1(insert unit of measurement here) of RAM the server has to give up 1(unit here) of RAM to open computers, so having 5terrahertz of CPU power is not possible (yet) if that is what your asking.

Link to post
Share on other sites
  • 0

Interesting idea...

To make writing programs for that kind of system easier it would be a good idea to use a special table with an index and a newindex metamethod.

They would interact with other computers if necessary. (e.g. when fetching a block of data)

Internally they could use a weak table to allow for non permanent caching. (Attention: you would have to wrap non table values in tables to make that work. Tables don't shrink after "loosing" values.)

For high memory efficiency you can store your data in e.g. 1 KiB strings. That is quite easy to include in the previously mentioned metamethods and makes the communication between computers more efficient. (Lua strings are 8 bit clean; you can store a 32 bit integer using 4 characters without 0-issues.)

The only problem is that you have to write your own bytes-to-number conversion function. (vanilla Lua 5.3 has that kind of functionality included; I'm not sure about OC Lua 5.3.)

Link to post
Share on other sites
  • 0

I would love to see this added. Experienced coder you say? Here is a project for you. To make a supercomputer that has 1-2 "nodes" of full servers. Then write an API so the nodes act like namespaces. And the API would shift the variables around using the network. The think is the code has to know when to grab a variable and when to send one. 100 Brownie points if you can make an API for this along with an example program.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.