Commit 8896f194 authored by SIMONIN Matthieu's avatar SIMONIN Matthieu
Browse files

g5k: stress tansiv

parent f36be326
......@@ -210,6 +210,8 @@ def deploy(args, env=None):
env["tansiv_roles"] = tansiv_roles
env["provider"] = provider
env["args"] = args
@en.enostask()
def fping(args, env=None):
......@@ -259,11 +261,25 @@ def flent(args, env=None):
"(tmux ls | grep netserver ) ||tmux new-session -s netserver -d 'netserver -D'"
)
with en.play_on(roles=dict(all=workers)) as p:
p.shell(
"flent tcp_download -p totals -l 30 -H {{ flent_server }} -o filename.png"
)
p.fetch(src="filename.png", dest="result")
for bench in ["tcp_download", "tcp_upload", "udp_flood"]:
import time
remote_dir = f"{bench}_{str(time.time_ns())}"
with en.play_on(roles=dict(all=workers)) as p:
p.file(state="directory", path=f"{remote_dir}")
p.shell(
" ".join(
[
f"flent {bench}",
"-p totals -l 10",
"-H {{ flent_server }}",
"-f csv",
]
),
chdir=remote_dir,
)
p.shell(f"tar -czf {remote_dir}.tar.gz {remote_dir}")
p.fetch(src=f"{remote_dir}.tar.gz", dest=f"{env.env_name}")
@en.enostask()
......
......@@ -9,7 +9,7 @@
https://simgrid.org/doc/latest/Configuring_SimGrid.html#choosing-the-platform-models
We are transfering only small packets so we don't want to pay the slow start every time
-->
<cluster id="nova" prefix="nova-" suffix=".lyon.grid5000.fr" radical="0-200" speed="16120000000.0f,0.0f,0.0f" core="16" bw="10Gbps" lat="1.0E-1s" router_id="router1">
<cluster id="nova" prefix="nova-" suffix=".lyon.grid5000.fr" radical="0-200" speed="16120000000.0f,0.0f,0.0f" core="16" bw="10Gbps" lat="1.0E-2s" router_id="router1">
<prop id="watt_per_state" value="75.83:81.97:174.04, 123.86:123.86:123.86, 66:66:66" />
<prop id="watt_off" value="8.81" />
</cluster>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment