Skip to content

Commit

Permalink
remove ulimit/port-range settings
Browse files Browse the repository at this point in the history
  • Loading branch information
mriccobene committed Feb 7, 2024
1 parent 5dd6961 commit 13df52e
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions .github/workflows/rpc-performance-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,21 +62,13 @@ jobs:
cd ${{runner.workspace}}/rpc-tests/perf
ulimit -c unlimited
ulimit -n 999999
sudo sysctl -w "net.ipv4.ip_local_port_range=5000 65000"
# Run Erigon, send ctrl-c and check logs
python3 ./run_perf_tests.py -b mainnet -y eth_call -p pattern/mainnet/stress_test_eth_call_001_14M.tar -t 100:10,1000:10 -r 1 -s ${{runner.workspace}}/silkworm -g $ERIGON_DATA_DIR -m 2 -u
#python3 ./run_perf_tests.py -b mainnet -y eth_call -p pattern/mainnet/stress_test_eth_call_001_14M.tar -t 100:30,1000:20,10000:20,20000:20 -r 20 -s ${{runner.workspace}}/silkworm -g $ERIGON_DATA_DIR -m 2 -u
# Capture monitoring script exit status
perf_exit_status=$?
ulimit -c 0
ulimit -n 1024
sudo sysctl -w "net.ipv4.ip_local_port_range=32768 60999"
# Save test result to a directory with timestamp and commit hash
mv ${{runner.workspace}}/rpc-tests/perf/mainnet/results $RPC_PAST_TEST_DIR/mainnet_$(date +%Y%m%d_%H%M%S)_perf_$(git rev-parse --short HEAD)
Expand Down

0 comments on commit 13df52e

Please sign in to comment.