Cluster Creation and Testing with VirtualBox VMs and Docker Containers

Cluster Creation and Testing with VirtualBox VMs and Docker Containers

Creation and performance comparison of virtualized versus containerized clusters: 1. Cluster of Virtual Machines (VMs) with Oracle VirtualBox. 2. Containerized cluster with Docker containers.

VirtualizationDockerCluster Management
VirtualBoxDockerLinuxShell Scripting

The following project aims to create a cluster of machines departing from two different approaches: Virtual machines and Docker containers. By implementing both, it is possible to compare the performance and efficiency of virtualized versus containerized clustering. Cluster Creation and Performance Testing in VirtualBox.


The first approach for creating a cluster is through Virtual Machines (VMs) with Oracle VirtualBox. In this setup, multiple VMs are interconnected via a virtual switch, simulating a distributed computing environment.
The second approach is a containerized cluster using Docker containers. It can be set up using Dockerfiles and Docker Compose, ensuring portability and ease of deployment. This setup also consists of a master container and a set of worker containers.

After their creation, the performance of both systems will be evaluated by carrying out the following tests:
  • HPC Challenge Benchmark, which tests computational efficiency.
  • stress-ng and sysbench, which evaluate CPU, memory, and disk performance.
  • IOZone, which analyzes file system I/O speed.
  • iperf, which measures network throughput and latency.
View on GitHub

Collaborators

Solo project