File: comm-throttling.tesh

package info (click to toggle)
simgrid 4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 38,980 kB
  • sloc: cpp: 123,583; ansic: 66,779; python: 8,358; java: 6,406; fortran: 6,079; f90: 5,123; xml: 4,587; sh: 2,337; perl: 1,436; makefile: 105; lisp: 49; javascript: 7; sed: 6
file content (7 lines) | stat: -rw-r--r-- 547 bytes parent folder | download
1
2
3
4
5
6
7
#!/usr/bin/env tesh

$ ${pythoncmd:=python3} ${PYTHON_TOOL_OPTIONS:=} ${srcdir:=.}/comm-throttling.py --platform ${platfdir}/cluster_backbone.xml "--log=root.fmt:[%10.6r]%e(%i:%a@%h)%e%m%n"
>[  0.000000] (1:sender@node-0.simgrid.org) Send at full bandwidth
>[  2.069662] (1:sender@node-0.simgrid.org) Throttle the bandwidth at the Comm level
>[  2.069662] (2:receiver@node-1.simgrid.org) Payload received (full bandwidth) in 2.0696616701030925 seconds
>[  6.077468] (2:receiver@node-1.simgrid.org) Payload received (throttled) in 4.007806 seconds