mining, cleanup

This commit is contained in:
Dobromir Popov
2025-09-01 14:34:36 +03:00
parent d6ce6e0870
commit 41434ddc3a
70 changed files with 309 additions and 18496 deletions

View File

@@ -0,0 +1,32 @@
#!/bin/bash
# Quick Performance Test Script
# Tests mining performance for 60 seconds
echo "Quick Performance Test (60 seconds)"
echo "Testing optimal configuration in ROCm container..."
echo ""
# Check if container is running
if ! sudo docker ps | grep -q "amd-strix-halo-llama-rocm"; then
echo "Error: amd-strix-halo-llama-rocm container is not running!"
exit 1
fi
# Ensure xmrig is available
sudo docker exec amd-strix-halo-llama-rocm test -f /tmp/xmrig-6.21.0/xmrig || {
echo "Copying xmrig to container..."
sudo docker cp /home/db/Downloads/xmrig-6.21.0 amd-strix-halo-llama-rocm:/tmp/
}
echo "Starting 60-second performance test..."
echo "Expected performance: ~14,700 H/s"
echo ""
# Run test for 60 seconds
sudo docker exec amd-strix-halo-llama-rocm bash -c "cd /tmp/xmrig-6.21.0 && timeout 60s ./xmrig -o pool.supportxmr.com:443 -u bc1qjn4m6rmrveuxhk02a5qhe4r6kdcsvvt3vhdn9j -p NUC --tls -t 32"
echo ""
echo "Performance test completed!"