setup_plaintext.sh 375 B

12345678910
  1. #!/bin/bash
  2. # 1. Change ULib Server (userver_tcp) configuration
  3. sed -i "s|LISTEN_BACKLOG .*|LISTEN_BACKLOG 16384|g" $IROOT/ULib/benchmark.cfg
  4. sed -i "s|PREFORK_CHILD .*|PREFORK_CHILD ${MAX_THREADS}|g" $IROOT/ULib/benchmark.cfg
  5. # 2. Start ULib Server (userver_tcp)
  6. export UMEMPOOL="50,0,0,0,8356,170,-13,-22,0"
  7. $IROOT/ULib/bin/userver_tcp -c $IROOT/ULib/benchmark.cfg &