Skip to content

Instantly share code, notes, and snippets.

@myaut
Created February 11, 2015 21:30
Show Gist options
  • Save myaut/ad946e89cb56b0d4acde to your computer and use it in GitHub Desktop.
Save myaut/ad946e89cb56b0d4acde to your computer and use it in GitHub Desktop.
{
"name": "duality",
"steps": {
"manager": {
"num_steps": 60,
"num_requests": 20,
},
"worker": {
"num_steps": 60,
"num_requests": 120,
}
},
"threadpools": {
"tp_manager": {
"num_threads": 4,
"quantum": 1000000000,
"disp": {
"type": "round-robin"
},
"sched" : [
{ "wid": "all" }
]
},
"tp_worker": {
"num_threads": 30,
"quantum": 1000000000,
"disp": {
"type": "benchmark"
},
"sched" : [
{ "wid": "all" }
]
}
},
"workloads" : {
"manager": {
"wltype": "busy_wait",
"threadpool": "tp_manager",
"rqsched": {
"type": "iat",
"distribution": "exponential"
},
"params": { "num_cycles": 1000000 }
},
"worker": {
"wltype": "busy_wait",
"threadpool": "tp_worker",
"rqsched": { "type": "simple" },
"params": { "num_cycles": 25000000 }
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment