[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ns] nam trace of a particular flow - is it possible?



Hi,

I'm currently looking at routing of packets using the MNS software in my
simulation. I'm looking at reasonably large scenarios (250 nodes) and I
want to ensure that packets are being routed correctly through my
network. nam seems best suited to this. However, even for short
simulations, the nam trace files are very large - this means that the sim
times are quite long and also that they hog large amounts of disk space.

Ideally, what I would like is for nam to log *just* the events related to
some particular set of flows that I identify (somehow). Has anyone done
this before?

I guess in principle, it's not difficult - packets could be checked for a
particular fid, for example, and if it has one of a set of specified fids
then all events pertaining to that packet could be logged. However, if ns
does not currently support this, it could take some effort to implement
this in ns; I may be better off just working with ns and nam as they stand
and putting up with long sim times and large log files.

Any thoughts/comments/pointers appreciated.

Regards,
Sean.

-----
Sean Murphy,			Email: [email protected]
Teltec Ireland,			Phone: +353-1-7045080
DCU, Dublin 9,			Fax:   +353-1-7045092
Ireland.