Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 

Repository files navigation

Benchmark Script for System and Network Performance πŸš€

Welcome to the System & Network Benchmark Script! This script helps you quickly evaluate system specifications, disk I/O performance, and network connection speeds using Speedtest by Ookla. πŸ–₯️🌐


Features ✨

  • πŸ“Š System Info: Get details about CPU, memory, disk usage, system uptime, OS, kernel, and virtualization type.
  • πŸ’Ύ Disk I/O Test: Measures the speed of disk input/output operations.
  • 🌐 Network Speed Test: Benchmarks upload and download speeds for multiple servers worldwide.
  • πŸ› οΈ Automated Setup: Automatically downloads and configures the Speedtest CLI tool.

Requirements 🧰

  • Bash shell environment (Linux-based systems).
  • wget installed for downloading dependencies.

Installation & Usage πŸ› οΈ

  1. Clone the repository:

    git clone https://github.com/ImAnonFR/Auto-Benchmark
    cd Auto-Benchmark
  2. Make the script executable:

    chmod +x benchmark.sh
  3. Run the script:

    ./benchmark.sh

Output Example πŸ“ˆ

System Information πŸ–₯️

CPU Model             : Intel(R) Xeon(R) CPU
CPU Cores             : 4
CPU Frequency         : 2.30 GHz
CPU Cache             : 8192 KB
Total Disk            : 500 GB (100 GB Used)
Total Mem             : 16 GB (8 GB Used)
Total Swap            : 2 GB (0 GB Used)
System uptime         : 5 days, 2 hours, 30 min
Load average          : 0.30, 0.20, 0.10
OS                    : Ubuntu 20.04 LTS
Arch                  : x86_64 (64 Bit)
Kernel                : 5.4.0-42-generic
TCP CC                : cubic
Virtualization        : KVM

Disk I/O Speed πŸ’Ύ

I/O Speed(1st run)    : 200 MB/s
I/O Speed(2nd run)    : 210 MB/s
I/O Speed(3rd run)    : 205 MB/s
Average I/O speed     : 205 MB/s

Network Speed 🌐

Node Name          Upload Speed      Download Speed    Latency
Speedtest.net      50.00 Mbps        200.00 Mbps       20 ms
Beijing CU         48.00 Mbps        198.00 Mbps       22 ms
Shanghai CT        47.00 Mbps        195.00 Mbps       25 ms

Troubleshooting ❓

  • wget not found: Ensure wget is installed on your system.
  • Permission denied: Run the script with proper permissions (chmod +x).
  • Network test issues: Check your internet connection and try again.

Contributing πŸ› οΈ

Contributions are welcome! Feel free to open issues or submit pull requests.


Enjoy benchmarking! πŸš€

About

A small script in shell for Auto-Benchmark of a server with connection test Download/Update

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages