Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

testing the distributed part of dist-fs #1

Open
akielaries opened this issue Nov 17, 2024 · 4 comments
Open

testing the distributed part of dist-fs #1

akielaries opened this issue Nov 17, 2024 · 4 comments

Comments

@akielaries
Copy link
Owner

The main storage I am working with is a 500gb Seagate RSS LLC Slim SSD on the Jetson Orin Nano in the home lab. Plug in a small 8gb thumbdrive into one of the raspberry pis/some other device in the rack to try sending packets over a familiar socket and writing to that thumbdrive "remotely"

@akielaries
Copy link
Owner Author

akielaries commented Dec 8, 2024

There should actually be 2 options for the "distributed" part of this.

  1. network based interface (NFS like implementation)
  • one hosts the drive "mount", this will be called the host
  • N number of clients that can connect to the host
  • this is very sysd-esque, particularly the clients getting data from the host
  • since I am testing with single board computers (Raspberry Pis and Jetson Nanos), I'm not very familiar with the use
  1. physical interface
  • SPI would be our best bet for serial implementation as it has the highest transfer speed
  • Adding I2C will be nice after
  • STARTING with UART would be nice to get something flowing
  • SPI will at least allow us to do some daisy chaining

OPTION 2: this will entail a daemon (constant running process) on the host constantly polling for commands defined in packet.h. these commands will contain information like what operation to run (list, upload, delete, download), additional info like name of the file. the client will be putting this commands together via the dist-fs.cpp CLI file with a combination of what is read from the dist_fs.conf file. dist_fs.conf will determine how we communicate with the "drive" on the host. options would be directly (running on the host) and the "distributed" part, over a physical connection (UART, SPI, I2C), or over the network(TODO)

@akielaries
Copy link
Owner Author

UART is incredibly slow, time to get SPI and network comms working

@akielaries
Copy link
Owner Author

SPI is a pain to configure especially on the fly. trying network based comms next

@akielaries
Copy link
Owner Author

this should be more promising just need to get it working in the comms interface

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant