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

Re: extenting topology (fwd)



On Wed, 19 May 1999, Amina Samir wrote:

> Polly Huang wrote:
> > 
> > Amina,
> > 
> > After using Node expandaddr, you expand the default address space from
> > 2^15 to 2^31. The 1st bit is reserved to distinguish between mcast and
> > ucast addresses.  At this point, the default address setting is that
> > the higher 23 bits are to indicate node ids (i.e. you can have up to 2^23
> > nodes in your simulation topology) and the lower 8 bits for port ids
> > (i.e, each node can attach 2^8 agents).  If you don't have that many
> > agents attaching to nodes.  You can use this command to reformat the
> > setting and in turn allowing you to simulate more nodes. For example:
> > 
> > $ns set-address 26 5
> >                 ^  ^
> >                 |  |
> >         node bits  port bits
> > 
> > hope this helps,
> 
> Thanks for help.
> 
> but the problem persist
> I have one client with every node but with 
> $ns set-address 26 5
> I have a message telling that i exceed the port field
> I had change that to 
> $ns set-address 20  11
> with that i succed to have 700 nodes but with 1000 nodes i have a
> segmantation fault

Amina,

I'm glad you're able to simulate up to 700 nodes.  The segmentation fault
in the 1000 node simulation is probably due to limited memory space.  You
can try either increasing the limits of your process sizes (use unix
command 'limits' to see settings for your account) or re-run the
simulations on machines that have more memory space.  If none of these
work, you'll need to try some of the 'abstraction techniques' I've
mentioned in earlier ns-users emails.  THere're some restrictions in 
using these techniques.  Please search for 'abstract' in the mailing list
archive for details.

Cheers,
-Polly

> 
> I don't understand the reason
> Can someone help me
> 
> thanks
> 
> bye
> 
> > -Polly
> > 
> > On Thu, 13 May 1999, Ya Xu wrote:
> > 
> > >
> > > I guess you know it better
> > > ---------- Forwarded message ----------
> > > Date: Wed, 12 May 1999 19:36:39 +0200
> > > From: Amina Samir <[email protected]>
> > > To: [email protected]
> > > Subject: extenting topology
> > >
> > > Hello,
> > > I need to work with a lot of nodes. I have used Node expandaddr .
> > > I have used also  $ns set-address-format expanded
> > > I have consulted the archive and I hadn't found other solution. I work
> > > with ns-2.1b4.
> > > Can someone help me to found what's the problem and how can I resolve it
> > >
> > > Thanks in advance.
> > > Amina SAMIR
> > >
> > >
>