[Ns-developers] setting available system memory on a node?

Florian Westphal fw at strlen.de
Wed Apr 1 12:25:42 PDT 2009


Hi everyone,

After doing a few tests with NSC: It really has to be extended
so the user can set the amount of RAM (memory pages) available,
i.e. the simulation results are different depeding on
the memory limits (the default tcp window size depends on this, for
instance).

How would you like to have this exposed on the ns3 side?
I am thinking node should have something like

.AddAttribute ("System Memory", "The amount of memory (in Ki Bytes) "
		"available to this stack", ...

OTOH, there are no users (yet), and ns-3 itself would not be using this.

Maybe it should be put on the back burner until the long-planned (well,
long planned by me, anyway) ns-3-nsc rework is completed (my plan
was to introduce an "nsc node" object, which could then pass such
an attribute on to NSC).

Thoughts?


More information about the Ns-developers mailing list