[ns] Question about queue trace values

2014-05-31 Thread PhoenixRe
Quick question and simple I think but I want to make sure. 1) What is the difference between queue-sample-timeout and start-tracing 2) In the file they produce I know that the columns are as follows time from to queue size in Bytes(right now) queue size in Packets(right now) number arrived packe

[ns] LS routing algorithm problem

2014-05-15 Thread PhoenixRe
I have a simple script I am testing things on and I was trying to get DV to work on an MPTCP scenario. For the last 15 days I realised that it probably doesn't work and the way to fix it is above me. Someone mentioned the LS and I tried it and it works!!! (Future reference to guys maybe trying MPT

[ns] How can I remove all headers and then just re-instate the TCP and IP headers

2014-02-20 Thread PhoenixRe
I am working on a simulation for a data center comparing TCP, DCTCP and MPTCP and a PhD student I was talking about told me that I should tell ns2 to remove all headers and then just re-instate the TCP and IP headers because otherwise the performance sucks. Any idea on how you do that on what exac

Re: [ns] extract values from main tcl file > output file to graph it

2014-02-20 Thread PhoenixRe
For opening the file set resultfile [open result.txt a] The a option will open it in append mode. set string "" append string $x " " $y puts $resultfile $string -- View this message in context: http://network-simulator-ns-2.7690.n7.nabble.com/extract-values-from-main-tcl-file-output-file-t