-
Notifications
You must be signed in to change notification settings - Fork 122
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updating the media-streaming benchmark (#359)
* set the number of nginx workers * update media-streaming client and its doc * removed spell-check failed terms: NUM * Ûfixed port allocation of httperf * Add support for TLS encryption * Support for TLS v1.3 is added * typo is fixed * update streaming doc * Update media-streaming.md * fix build problem of media-streaming dataset on riscv * modify media-streaming dataset to control the number of sessions * update media-streaming doc * modify the printed stats for the streaming client * update the streaming doc and fix a small bug in streaming client * Fix a typo in streaming doc * Fix another typo in the streaming doc * Change the message * Update media-streaming.md * Update .wordlist.txt * Update media-streaming.md * Update media-streaming.md Co-authored-by: Cyan Lin <[email protected]>
- Loading branch information
Showing
19 changed files
with
5,224 additions
and
5,107 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,14 @@ | ||
#!/bin/bash | ||
set -e | ||
|
||
# $1: the IP of the server | ||
# $2: the number of httperf clients | ||
# $3: the total number of sessions | ||
# $4: the rate (sessions per seconds) | ||
# $5: plain text or encrypted communication, possible values are "PT" and "TLS" | ||
|
||
if [ "$1" = "bash" ]; then | ||
exec $@ | ||
else | ||
cd /root/run && exec ./benchmark.sh $1 | ||
cd /root/run && exec ./benchmark.sh $1 $2 $3 $4 $5 | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,21 @@ | ||
#!/bin/bash | ||
|
||
num_clients_per_machine=4 | ||
min_num_sessions=100 | ||
max_num_sessions=2000 | ||
server_ip=$1 | ||
num_clients_per_machine=${2:-4} | ||
num_sessions=${3:-100} | ||
rate=${4:-10} | ||
mode=${5:-TLS} | ||
|
||
streaming_client_dir=.. | ||
#server_ip=$(tail -n 1 hostlist.server) | ||
server_ip=$1 | ||
|
||
peak_hunter/launch_hunt_bin.sh \ | ||
$server_ip \ | ||
hostlist.client \ | ||
$streaming_client_dir \ | ||
$num_clients_per_machine \ | ||
$min_num_sessions \ | ||
$max_num_sessions | ||
peak_hunter/launch_hunt_bin.sh \ | ||
$server_ip \ | ||
hostlist.client \ | ||
$streaming_client_dir \ | ||
$num_clients_per_machine \ | ||
$num_sessions \ | ||
$rate \ | ||
$mode | ||
|
||
./process_logs.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.