reference:testing_framework
Differences
This shows you the differences between two versions of the page.
| reference:testing_framework [2026/06/17 14:34] – created - external edit 127.0.0.1 | reference:testing_framework [2026/06/17 14:35] (current) – privacyl0st | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Performance Testing & Verification Framework ====== | ||
| + | While the [[operations: | ||
| + | |||
| + | ===== 1. Storage Fabric Saturation (NFS I/O Testing) ===== | ||
| + | To ensure your Synology NAS Array can handle multiple concurrent 4K transcodes and gigabit torrent downloads simultaneously, | ||
| + | |||
| + | SSH into **Physical Host 2 (Media Engine)** and execute a `dd` disk saturation test targeting the mounted NFS directory: | ||
| + | |||
| + | < | ||
| + | # Write a 10GB contiguous file to the NFS array to test sustained throughput | ||
| + | sudo dd if=/ | ||
| + | </ | ||
| + | |||
| + | **Validation Metric:** The terminal will output the average MB/s. | ||
| + | * A standard Gigabit link will max out around **110 MB/ | ||
| + | * If the speed wildly fluctuates or drops below 40 MB/s, verify that the `rsize` and `wsize` optimizations in your [[storage: | ||
| + | * Delete the `test_saturation.img` file after the test. | ||
| + | |||
| + | ===== 2. Cross-VLAN Throughput (iperf3) ===== | ||
| + | Because the Request server (VLAN 20) and the Acquisition server (VLAN 10) communicate across the core router, you must ensure the gateway' | ||
| + | |||
| + | 1. SSH into the **Acquisition Server (VM-A)** and start the server daemon: | ||
| + | < | ||
| + | 2. SSH into the **Request Server (VM-B)** and run the client test against VM-A's IP: | ||
| + | < | ||
| + | |||
| + | **Validation Metric:** Throughput should reflect the maximum speed of your hypervisor' | ||
| + | |||
| + | ===== 3. Memory & Swappiness Validation ===== | ||
| + | To ensure the hypervisor is not aggressively moving active virtual machine memory to disk (which causes application stuttering), | ||
| + | |||
| + | Execute `htop` on the bare-metal Linux hosts and guests. | ||
| + | **Validation Metric:** The `Swp` meter should remain at exactly **0K / 0%**. If swap memory is actively being used, you must either allocate more RAM to the VM or adjust the Linux kernel `vm.swappiness` value to `10` in `sysctl.conf`. | ||
reference/testing_framework.1781706861.txt.gz · Last modified: by 127.0.0.1
