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

Re: [ns] large-scale wireless simulations




..and I shall post the patch for ns-packet.tcl from ns-problems page.
--Padma

On Fri, 31 Aug 2001, Sagnik Bhattacharya wrote:

> 
> I am trying to run a large-scale wireless simulation wih about a 1000
> nodes. To reduce the memory footprint and the running time, I tried to
> remove packet headers from my simulations. I found a posting on the
> list which said that I should include LL Mac ARP RTP. Here is what I did :
> 
> remove-all-packet-headers
> add-packet-header DSDV nocache LL Mac ARP RTP IP
> set ns_         [new Simulator]
> 
> "nocache" is the name of my agent. Here is the error I get when I run my
> script :
> can't unset "tab_(PacketHeader/Pushback)": no such element in array
>     (Object unset line 2)
>     invoked from within
> "PacketHeaderManager unset tab_($cl)"
>     (procedure "remove-all-packet-headers" line 4)
>     invoked from within
> "remove-all-packet-headers"
>     (file "cache.tcl" line 99)
> 
> Does anyone have suggestions as to what I am doing wrong?
> 
> Sagnik
> 
> 

------------------------------------------------ 
Be true to your work, your word, and your friend. 
--Thoreau

Padmaparna Haldar