فهرست منبع

H2O: Switch to running several processes (#4027)

This is an experimental change to determine the effect of thread
contention in the cache. The cache capacity is also restored to
its default value.
Anton Kirilov 7 سال پیش
والد
کامیت
eaf38d8179
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      frameworks/C/h2o/start-servers.sh

+ 2 - 2
frameworks/C/h2o/start-servers.sh

@@ -13,7 +13,7 @@ TROOT=/
 # A hacky way to detect whether we are running in the physical hardware or the cloud environment.
 if [[ "$CPU_COUNT" -gt 16 ]]; then
 	echo "Running h2o_app in the physical hardware environment."
-	USE_PROCESSES=false
+	USE_PROCESSES=true
 	DB_CONN=3
 else
 	echo "Running h2o_app in the cloud environment."
@@ -40,7 +40,7 @@ run_h2o_app()
 {
 	taskset -c "$1" "$2/h2o_app" -a20 -f "$3/template/fortunes.mustache" -m "$DB_CONN" "$4" "$5" \
 	        -d "host=tfb-database dbname=hello_world user=benchmarkdbuser \
-	            password=benchmarkdbpass" -w536870912 &
+	            password=benchmarkdbpass" &
 }
 
 generate_profile_data()