Marilag Ang Malaya

Tuesday, August 25, 2009

NS 2 Pre-processor files

I made some new tools to preprocess my NS2 tracefiles before importing the data into OpenOffice Calc for the actual calculations and graphing.

The first is a throughput accumulator. It simply takes a file with two columns (time and packet size) and aggregates the bytes into equal-sized-time bins.

$ cat data | ./ > throughput.csv

The second is a jitter calculator. Given the a file with the packet arrival times, it calculates the first derivate, or jitter. It is also called inter-packet arrival times.

$ cat data | ./

These two tools use pipes so you can easily input your output from grep, awk and sed.

  1. Throughput accumulator
  2. Jitter calculator

Saturday, August 15, 2009

Braid game trailer!

Braid trailer from David Hellman on Vimeo.

Don't you wish Mario had these abilities before? *grin*