-
Notifications
You must be signed in to change notification settings - Fork 5
/
test-multistream.scr
37 lines (34 loc) · 1.26 KB
/
test-multistream.scr
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# set up which machines are involved
#alias src1 10.88.0.50:4004
alias src1 flexbuf3.jive.nl:8008
alias src2 flexbuf4.jive.nl:8008
#alias src1 (127.0.0.1:5005, workbufsize=1M)
#alias src2 (127.0.0.1:8008, workbufsize=2M)
alias src src1,src2
#alias dst 127.0.0.1:4004
alias dst flexbuf4.jive.nl:4004
# network config on all
#src,dst/mode=vdif_1280-1024-16-2; mtu=1500; net_port=20000;
src,dst/mode=vdif_8000-1024-16-2; mtu=9000; net_port=20000;
#src/net_protocol=udps : 32k : {workbufsize} ; ipd=80;
src/net_protocol=udps : 32M : 32M : 4; ipd=12;
#dst/net_protocol=udps : 32k : 1M;
dst/net_protocol=udpsnor : 32M : 64M;
sleep 1
# configure recording side
dst/set_disks=null; datastream=reset; #clear;
#dst/datastream=add:fb4:192.42.120.39/0-16,290;
#dst/datastream=add:fb3:192.42.120.38/*.290,291;
#dst/set_disks=null; datastream=clear; datastream=add:rdbe-1:*.*; datastream=reset;
# start the recording, then the senders
dst/record=nthread:2:2; record=on:foo
#src/fill2net=connect:macverkouter2.nfra.nl;; sleep 1;; fill2net=on:-1;
#src/fill2net=connect:192.168.178.103;; sleep 1;; fill2net=on:-1;
src/fill2net=connect:192.42.120.39;; sleep 1;; fill2net=on:-1;
# check what we're doing
src,dst/tstat?
sleep 4
src,dst/tstat?
# and tear down
dst/record=off
src/fill2net=disconnect