# f20.dml # # traffic source: # size: 300,000bytes # # server..........router.........router........clients # # # 10Mb 1.5Mb # 6(0)--------0(1)0(0)---------------7(0) # 2ms 20ms _schema [ _find .schemas.Net ] dictionary [ tcpinit[ ISS 0 MSS 960 RcvWndSize 80 SendWndSize 80 SendBufferSize 80 MaxRexmitTimes 12 TCP_SLOW_INTERVAL 0.5 MSL 60.0 MaxIdleTime 600.0 delayed_ack true MaxConWnd 40 ] client[ graph [ ProtocolSession [ name client use SSF.OS.TCP.simClient no_of_connections 1 doc_size [constant 300000] servers [connect [nhi_range [from 6(0) to 6(0)]] port 10]] ProtocolSession [name socket use SSF.OS.Socket.socketSession] ProtocolSession [name tcp use SSF.OS.TCP.tcpSessionMaster _find .dictionary.tcpinit] ProtocolSession [name ip use SSF.OS.minIP] ] ] server[ graph [ ProtocolSession [name server use SSF.OS.TCP.simServer port 10 interval 0.1] ProtocolSession [name socket use SSF.OS.Socket.socketSession] ProtocolSession [name tcp use SSF.OS.TCP.tcpSessionMaster _find .dictionary.tcpinit rttdump "f20.rtt" cwnddump "f20.wnd"] ProtocolSession [name ip use SSF.OS.minIP] ] ] pingclient[ graph[ ProtocolSession [name test use TwoHosts.ping sendto 6(0)] ProtocolSession [name ip use SSF.OS.minIP] ] ] pingserver[ graph[ ProtocolSession [name test use TwoHosts.ping sendto 7(0)] ProtocolSession [name ip use SSF.OS.minIP] ] ] 10Mb [ bitrate 10000000 # 10 million bits per second ] 1_5Mb [ bitrate 1500000 # 1.5 million bits per second ] ] Net [ # ------------------------------------------------------------- LINKS link [attach 6(0) attach 0(1) delay 0.002] link [attach 0(0) attach 7(0) delay 0.02] # ------------------------------------------------------------- ROUTERS router [ id 0 graph [ProtocolSession [name ip use SSF.OS.minIP]] interface [ id 0 _extends .dictionary.1_5Mb buffer 30000 queue droptail tcpdump "f20.tcpdump"] interface [ id 1 _extends .dictionary.10Mb] route [dest default interface 0] ] # ------------------------------------------------------------- CLIENTS host [ id 7 interface [id 0 _extends .dictionary.1_5Mb ] route [dest default interface 0] _find .dictionary.client.graph ] # ------------------------------------------------------------- SERVERS host [ id 6 interface [id 0 _extends .dictionary.10Mb] route [dest default interface 0] _find .dictionary.server.graph ]