Giter VIP home page Giter VIP logo

sandstorm-simulator's Introduction

Sandstorm-simulator Rust

The project aims to find out the effect of preemption and context-switch on throughput and latency for a large number of isolated domains(processes). The operating system overhead will increase sharply with the increase in the number of domains, especially when the total number of active domains are more than the number of cores.

The server forks a large number of processes(based on the configuration parameter), and client will randomly generate the requests for these processes.

How to Run

  1. Clone the repository.
git clone https://github.com/ankit-iitb/os_project
cd os_project
  1. Install Rust
curl https://sh.rustup.rs -sSf | sh
source $HOME/.cargo/env
rustup default nightly
  1. Build the synthetic client-server application.
make
  1. Run the synthetic application with a client and server. The client sends requests to the server, which transmits the payload of the same request in the response.

On the server:

cd linux/server/
./target/release/server

On the client:

cd linux/client/
./target/release/client

Configuration Parameters

To update the configuration parameters, change linux/server/server.toml on the server side and linux/client/client.toml on the client side.

Change server_ip and num_process in server.toml and server_ip, num_tenants, and req_rate in client.toml.

sandstorm-simulator's People

Contributors

ankitbhrdwj avatar meghanagupta avatar

Stargazers

Evgeny avatar 壹楽 avatar Shuwen Sun avatar

Watchers

Ryan Stutsman avatar  avatar  avatar

sandstorm-simulator's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.