Bug 1790 - Error when the OnOffAplication datarate is increased [WiMAX]
Error when the OnOffAplication datarate is increased [WiMAX]
Status: NEW
Product: ns-3
Classification: Unclassified
Component: network
ns-3.18
PC Linux
: P5 major
Assigned To: ns-bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-11-07 06:59 EST by Esteban
Modified: 2015-04-20 11:14 EDT (History)
3 users (show)

See Also:


Attachments
Simulation script of wimax network (5.95 KB, text/x-c++src)
2013-11-07 06:59 EST, Esteban
Details
WiMAX Fragmentation avoidance and small errors (1.90 KB, patch)
2015-04-20 11:14 EDT, Esteban
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Esteban 2013-11-07 06:59:37 EST
Created attachment 1699 [details]
Simulation script of wimax network

Simulating a WiMAX network with several SS, results seem be ok if you choose a low datarate in the OnOffAplication (such as 128kbps). However, if you choose a higher value, (ej: 1280kbps) the simulator crashes like:

assert failed. cond="m_buffer.GetSize () >= start + length", file=../src/network/model/packet.cc, line=232
terminate called without an active exception

The attached script works fine with the 128kbps value, but crashes with the value 1280kbps, without change anything more.

Seems like a bug. Any idea?
Comment 1 Peter Barnes 2013-11-07 15:39:01 EST
This is in Packet::CreateFragment
Comment 2 Esteban 2015-04-20 11:12:38 EDT
Due to the impossibility to work with the WiMAX module I have applied a patch which allows increase the throughput without this error. The problem was in the fragmentation procedure, so I have disabled it. For this reason is not really a "patch", since do not fix anything but avoid it. 

Aditionally corrects mistakes in time units in wimax/model/simple-ofdm-wimax-phy.cc

I upload it in case anyone is interested.
Comment 3 Esteban 2015-04-20 11:14:47 EDT
Created attachment 2022 [details]
WiMAX Fragmentation avoidance and small errors

It can be applied with: patch -p3 wimax-fragmentation-avoidance.patch from the ns-3.22 main directory