Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to obtain correct and valid results for web-serving? #448

Open
fengyusen opened this issue Jul 20, 2024 · 0 comments
Open

How to obtain correct and valid results for web-serving? #448

fengyusen opened this issue Jul 20, 2024 · 0 comments

Comments

@fengyusen
Copy link

Hello, thank you very much for providing the benchmark, it has been very helpful to me. However, when running the web-serving benchmark, I received the following output. In the benchSummary, passed is true, but the metric is always 0. In the driverSummary, success is 0, and everything is a failure. My command is as follows. I have tried many times, but the results remain the same. Is this result reasonable? How can I modify it to get correct and valid results?
Command:
run_web_serving() {
local database_service="database_server"
local memcache_service="memcache_server"
local web_service="web_server"
local network="cloudsuite"

local server_address=$(hostname -I | awk '{print $1}')
echo "Server address: ${server_address}"

docker run -dt --rm --name database_server --network ${network}
--cpuset-cpus ${server_cpuset} cloudsuite/web-serving:db_server ${server_address}
docker run -dt --rm --name memcache_server --network ${network}
--cpuset-cpus ${server_cpuset} cloudsuite/web-serving:memcached_server
docker run -dt --rm --name web_server --network ${network}
--cpuset-cpus ${server_cpuset} cloudsuite/web-serving:web_server
/etc/bootstrap.sh ${server_address} ${server_address}
sleep 10

docker run -it --rm --name faban_client --network ${network}
--cpuset-cpus ${client_cpuset}
cloudsuite/web-serving:faban_client
${server_address} 50

docker stop ${database_service} ${memcache_service} ${web_service}
}

Output:

BUILD SUCCESSFUL
Total time: 1 minute 45 seconds

RESULT: output/TH_50-TM_1000-TY_THINKTIME-DS_fixed/1/summary.xml

1 Sat Jul 20 14:48:22 GMT 2024 Sat Jul 20 14:49:12 GMT 2024 0.000 true 0.000 Sat Jul 20 14:48:22 GMT 2024 Sat Jul 20 14:49:12 GMT 2024 0 50 48.4606 true 0 653 NaN 0.0448 true 0 650 NaN 0.0448 true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant