Skip to content

Commit

Permalink
update default experiment config
Browse files Browse the repository at this point in the history
  • Loading branch information
ypwong99 committed May 12, 2024
1 parent 6dcf5e7 commit 79b118b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion scripts/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,4 @@ sudo sh -c "echo \"root hard nofile 1000000\" >> /etc/security/limits.conf"
sudo mkdir ../latency-samples
echo "Please run: ulimit -n 8192"
echo "Recommended: tmux new -s stellar"
echo "AWS example run: sudo ./main -o latency-samples -g endpoints -c experiments/tests/aws/data-transfer.json"
echo "AWS example run: sudo ./main -c experiments/tests/aws/hellopy.json"
2 changes: 1 addition & 1 deletion src/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ import (

var awsUserArnNumber = flag.String("a", "356764711652", "This is used in AWS benchmarking for client authentication.")
var outputPathFlag = flag.String("o", "latency-samples", "The directory path where latency samples should be written.")
var configPathFlag = flag.String("c", "experiments/tests/aws/data-transfer.json", "Configuration file with experiment details.")
var configPathFlag = flag.String("c", "../experiments/tests/aws/hellopy.json", "Configuration file with experiment details.")
var endpointsDirectoryPathFlag = flag.String("g", "endpoints", "Directory containing provider endpoints to be used.")
var specificExperimentFlag = flag.Int("r", -1, "Only run this particular experiment.")
var logLevelFlag = flag.String("l", "info", "Select logging level.")
Expand Down
6 changes: 3 additions & 3 deletions src/setup/extract-configuration.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,9 @@ const (
defaultVisualization = "cdf"
defaultIATType = "stochastic"
defaultProvider = "aws"
defaultFunction = "producer-consumer"
defaultHandler = "producer-consumer"
defaultRuntime = "go1.x"
defaultFunction = "hellopy"
defaultHandler = "main.lambda_handler"
defaultRuntime = "python3.9"
defaultPackageType = "Zip"
defaultPackagePattern = "**"
defaultParallelism = 1
Expand Down

0 comments on commit 79b118b

Please sign in to comment.