the BBS Xchange
the BBS Xchange

  • Writing a distributed VM for my own virtualized-only ISA

    From Deavmi@VERT/USERCLUB to All on Sat Aug 19 13:11:15 2017
    So I decided that I would write a small distributed VM for my own virtualized-only instruction set (I don't know what I would have called it, D-ISA?). I started writing it today as to see if I could make something cool (which I have done before and I know I can).

    It is written/being written in Java.

    Basically the processing is executed on the main machine where DVM is being run and then assignments to memory segments are handled by the DVM which shards them accross to the configured nodes. That is the idea basically. I still need to finish writing the specification and have only written some basic interface for command-line arguments and verifying them but when I have more time I will move quicker. Just don't want to rush the ISA design as it is something I want to be concise and non redundant - modular is what I mean.

    What I need to create once this is done is a program to encode instructions into the ISA or simply write bytes to disk using Python's REPL (which may be better for testing as I wouldn't want to rush writing yet another program for encoding DVM programs).

    Anyway. I will post updates here about it.


    I like trying out things like this as it's just fun and I will post updates when I can.

    ---
    ■ Synchronet ■ UsersClub BBS - userclub-bbs.com
  • From Deavmi@VERT/USERCLUB to Deavmi on Sat Aug 19 13:21:29 2017
    So I decided that I would write a small distributed VM for my own virtualized-only instruction set (I don't know what I would have called it, D-ISA?). I started writing it today as to see if I could make something cool (which I have done before and I know I can).

    It is written/being written in Java.

    Basically the processing is executed on the main machine where DVM is being run and then assignments to memory segments are handled by the DVM which shards them accross to the configured nodes. That is the idea basically. I still need to finish writing the specification and have only written some basic interface for command-line arguments and verifying them but when I have more time I will move quicker. Just don't want to rush the ISA design as it is something I want to be concise and non redundant - modular is what I mean.

    What I need to create once this is done is a program to encode instructions into the ISA or simply write bytes to disk using Python's REPL (which may be better for testing as I wouldn't want to rush writing yet another program for encoding DVM programs).

    Anyway. I will post updates here about it.


    I like trying out things like this as it's just fun and I will post updates when I can.

    I forgot to mention that the way one adds nodes to the grid of storage and memory is by appending to the list in the home directory called `nodes.list` which holds the `IP:Port` of the node. DVM will handle all the mappings of which node has stored what data on disk and what node has stored what data in its memory and then set and retrieve from the respective node. Once this set/retrieve process is done then instructions using memory continue to run as normal.

    There will obviously be two specifications here, D-ISA, and then the contorl protocol for the DVM to talk to the nodes (which will most likely be some other porgam that runs on those nodes that I write).

    ---
    ■ Synchronet ■ UsersClub BBS - userclub-bbs.com