Performance Testing
AGFS File System Performance Test
· ☕ 6 min read
1. Installing wrk 1 apt-get install -y wrk 2. localfs Performance Test 2.1 1KB Small File Test Write file 1 2 3 4 5 6 7 8 9 10 11 12 13 14 cat > put-1k.lua <<"EOF" wrk.method = "PUT" wrk.body = string.rep("a", 1024) wrk.headers["Content-Type"] = "text/plain" counter = 0 local WRAP = 500000 request = function() counter = counter + 1 local n = ((counter - 1) % WRAP) + 1 local filename = "/local/perf-1k/test_" .

Using HAProxy to Proxy MinIO and Performance Testing
· ☕ 6 min read
1. Preparing the Configuration Files MinIO cluster 1 mc admin info local 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 ● minio1:9000 Uptime: 55 minutes Version: 2025-04-22T22:12:26Z Network: 2/2 OK Drives: 4/4 OK Pool: 1 ● minio2:9000 Uptime: 55 minutes Version: 2025-04-22T22:12:26Z Network: 2/2 OK Drives: 4/4 OK Pool: 1 ┌──────┬───────────────────────┬─────────────────────┬──────────────┐ │ Pool │ Drives Usage │ Erasure stripe size │ Erasure sets │ │ 1st │ 0.

Performance Test of ext4, xfs, zfs, and btrfs under RAID6
· ☕ 36 min read
1. Single Disk 1.1 Creating the File System Wipe the disk 1 wipefs -a /dev/nvme0n1 Format the disk 1 mkfs.xfs /dev/nvme0n1 Mount the disk 1 2 mkdir -p /mnt/nvme0n1-test mount /dev/nvme0n1 /mnt/nvme0n1-test 1.2 Performance Test 4k random write 1 2 3 4 echo 3 > /proc/sys/vm/drop_caches fio --name=4k_randwrite --rw=randwrite --bs=4k --ioengine=libaio --direct=1 \ --numjobs=8 --iodepth=32 --size=20G --time_based --runtime=120 --group_reporting \ --allow_mounted_write=1 --filename=/mnt/nvme0n1-test/fio-4k-randwrite.