39 lines
1.5 KiB
Markdown
39 lines
1.5 KiB
Markdown
# NAS Performance Benchmark Summary
|
|
|
|
**Date:** 2026-01-19
|
|
**Investigator:** Gemini Agent
|
|
|
|
## Problem Statement
|
|
User reported sluggish performance when accessing the NAS (`MiniMe.local`) mounted at `/Volumes/conan` on a laptop.
|
|
|
|
## Diagnostics Performed
|
|
|
|
### 1. Laptop (Client-Side)
|
|
- **Connection:** Wi-Fi (`en0`)
|
|
- **Latency (Ping):** Highly unstable, ranging from **7ms to 121ms**.
|
|
- **Throughput:**
|
|
- **Read:** ~12.7 MB/s (~100 Mbps)
|
|
- **Write:** ~6.5 MB/s (~52 Mbps)
|
|
|
|
### 2. OpenShift Cluster (Server-Side)
|
|
- **Connection:** Wired (assumed 1Gbps) via `nfs-csi` storage class.
|
|
- **Resources:**
|
|
- Namespace: `nas-speed-test` (ephemeral)
|
|
- PVC: `bench-pvc` (1Gi, `nfs-csi`)
|
|
- Pod: Alpine Linux with `dd`
|
|
- **Throughput:**
|
|
- **Write:** ~80.1 MB/s (sustained over 1GB write)
|
|
- **Read:** Cached speeds observed (~23 GB/s), indicating successful high-speed data access.
|
|
|
|
## Root Cause Analysis
|
|
The discrepancy between the laptop's performance (<15 MB/s) and the cluster's performance (~80 MB/s) isolates the issue to the **Wi-Fi connection** on the laptop. The NAS itself is capable of near-Gigabit speeds.
|
|
|
|
## Recommendations
|
|
1. **Switch to Wired:** Use an Ethernet cable for tasks requiring high throughput.
|
|
2. **Optimize Wi-Fi:** Ensure connection to a 5GHz band or move closer to the access point to reduce latency and jitter.
|
|
|
|
## Verification
|
|
- [x] Laptop `dd` tests confirmed low throughput.
|
|
- [x] Cluster `dd` tests confirmed high throughput.
|
|
- [x] Ephemeral test resources in `nas-speed-test` namespace have been cleaned up.
|