Git Product home page Git Product logo

icloud-ecnu / uucmigration Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cycleofstrife/uucmigration

0.0 0.0 0.0 29.41 MB

U2CMigration is a User-Unaware Container live Migration strategy for containerized workloads

Shell 9.26% Ruby 0.03% Python 2.23% Perl 1.04% C 22.12% Java 0.76% Lua 0.01% Go 50.55% Assembly 0.15% PowerShell 0.13% Awk 0.01% CSS 0.07% Makefile 0.84% HTML 0.01% Batchfile 0.01% Dockerfile 0.09% Roff 0.01% Jupyter Notebook 12.71%

uucmigration's Introduction

UUCMigratiton: User-Unaware Container Live Migration

As cloud computing and container technologies grow, moving running applications (containers) between servers without stopping them has become essential. However, traditional methods often struggle because they have to repeatedly copy parts of memory that change frequently, which slows everything down.

U2CMigration offers a new way to solve this problem by predicting which parts of memory will change during the move. It uses two clever approaches: one for stable applications and another for those that change a lot. By accurately predicting changes, U2CMigration can reduce the overall moving time and minimize downtime, ensuring a smoother, faster migration process. Tests show that this method cuts the migration time by nearly half compared to current best practices. image

Getting Started

Dependencies

  1. golang >= 1.19
  2. protobuf
  3. protobuf-python
  4. protobuf-c
  5. protobuf-c-devel
  6. protobuf-compiler
  7. protobuf-devel
  8. Python 3.8.8
  9. numpy
  10. pandas
  11. sklearn
  12. pytorch 2.0.1

Installation

git clone https://github.com/CycleOfStrife/UUCMigration.git
cd criu-3.16.1
make && make install
cd runc 
make && make install
cd Podman
make && make install

Run the UUCMigratiton System

#linux01
podman run -itd --name mybox docker.io/busybox
podman conatienr checkpoint --live-migration --predict-mode="SSPD" --dirty-file="test.csv" --ip=<linux02IP> --path="/migration" mybox
#linux02
mkdir /migration
cd /migration
podman container restore -i <the last file> mybox

uucmigration's People

Contributors

cycleofstrife avatar

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.