Bug 2040 - PfFfMacScheduler assigns dlInfo even if no resources are available
PfFfMacScheduler assigns dlInfo even if no resources are available
Status: NEW
Product: ns-3
Classification: Unclassified
Component: lte
ns-3-dev
All All
: P5 normal
Assigned To: Marco Miozzo
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2015-01-20 10:44 EST by Tommaso Pecorella
Modified: 2019-11-19 07:30 EST (History)
3 users (show)

See Also:


Attachments
simple patch for bug2040 (673 bytes, patch)
2019-11-19 07:30 EST, Marco Miozzo
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tommaso Pecorella 2015-01-20 10:44:52 EST
The problem has been reported by Jona Huang here:
https://groups.google.com/forum/#!topic/ns-3-users/wa6qOseS4F4

Using PfFfMacScheduler the number of assigned resources is incorrect. This bug may cause more side-effects than simply a bad count.
Comment 1 Manoj Kumar Rana 2019-11-06 07:34:14 EST
(In reply to Tommaso Pecorella from comment #0)
> The problem has been reported by Jona Huang here:
> https://groups.google.com/forum/#!topic/ns-3-users/wa6qOseS4F4
> 
> Using PfFfMacScheduler the number of assigned resources is incorrect. This
> bug may cause more side-effects than simply a bad count.

We have tried to fix this bug. Following is the patch:
https://github.com/eevadas/ns-3-dev-git/commit/da1779d77be56b503077589d33c98a6cce78d3ed#diff-b86922bb8bca6ceab7c4e51f59511ab5

Can you please check?
Comment 2 Marco Miozzo 2019-11-19 07:30:13 EST
Unfortunately, the behavior reported is not reproducible with the current version of ns-3. I've tried and the RLC stats are ok now with the code in ns-3-dev.
However, I got the problem and it seems a bug actually. For solving it, the patch proposed can work, but even something simpler can work. You may find a proposal in attachment. However, no one of them can tested since we do not have any code reproducing the error.
Comment 3 Marco Miozzo 2019-11-19 07:30:53 EST
Created attachment 3247 [details]
simple patch for bug2040