About resource block allocated in LTE

1,482 views
Skip to first unread message

許朝評

unread,
May 26, 2014, 3:37:46 AM5/26/14
to ns-3-...@googlegroups.com
hi everyone!

    I'm doing my project about power-saving, I use NS_LOG command to get the information about scheduler for resource block allocation, but I can't get "how did the scheduler allocate the resource block to every ue?"   

   I want to know how many resource blocks allocated to ue1 and ue2 ,than how many resource didn't be allocate.So after I got this information I can reduce the power in enb if there are too many resource blocks unused.

  Anyone have idea?  

Marco Miozzo

unread,
May 26, 2014, 3:50:54 AM5/26/14
to ns-3-...@googlegroups.com


--
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-3-users+...@googlegroups.com.
To post to this group, send email to ns-3-...@googlegroups.com.
Visit this group at http://groups.google.com/group/ns-3-users.
For more options, visit https://groups.google.com/d/optout.

許朝評

unread,
May 26, 2014, 11:50:09 PM5/26/14
to ns-3-...@googlegroups.com


許朝評於 2014年5月26日星期一UTC+8下午3時37分46秒寫道:
Hi Marco,
 
Thank you ! I have read it.

But I need to get the information from my simulation and make sure how many RBs were used by Ue.

By the way can I set the different Data Rate between Ues and Enbs in same simulation? Because I need to check whether the Enb can meet Ue's need for different Data Rate.

Need some advice , thank you a lot!  

Marco Miozzo

unread,
May 27, 2014, 3:48:33 AM5/27/14
to ns-3-...@googlegroups.com
Regarding the first question, you can use the simulation output, in particular the MAC KPIs, more info at the following link:
http://www.nsnam.org/docs/release/3.16/models/html/lte-user.html#simulation-output

While to control UEs datarate you can use either Token Bank Fair Queue Scheduler or Priority Set Scheduler, more info in the design documentation:
http://www.nsnam.org/docs/release/3.16/models/html/lte-design.html#the-femtoforum-mac-scheduler-interface

Best regards,
marco.




--

許朝評

unread,
May 27, 2014, 11:06:27 AM5/27/14
to ns-3-...@googlegroups.com
Thanks a lot Marco! It's very useful !

I have one more question! I confused me ......

I think  TxPower this attribute in ns3::LteEnbPhy as Pout of Enb, but I need  Pin .Than I can control the power supply of Enb, that's why I need to know the allocation of resource blocks.

The other way is that I know there are some energy model in NS-3 ,but I don't know  it can be use in LTE simulation or not....

So is it possible to use energy model to get the Pin in Enb straightly? 
 
If I want to know the Pin(power input) in Enb , which way is much efficient ?



許朝評於 2014年5月26日星期一UTC+8下午3時37分46秒寫道:

Yuxiang Shen

unread,
Aug 13, 2014, 1:18:01 PM8/13/14
to ns-3-...@googlegroups.com
Hello,
i meet exactly the same problem with you.. I'd like to find how many resource blocks are used for each Basestation to support the data rate of connected Users and i don't know hot to set the data rate of users.. Could you please give me some idea? Many thanks.

Di Zhu

unread,
Oct 24, 2015, 2:26:59 AM10/24/15
to ns-3-users
Hi,

Have you found the way to check resource allocation? In the MAC KPI, there is a MCS of TBs, but it is transport blocks, does it have sth to do with resource allocation? I want to check how many resources have been allocated and how many spare resources available!

Thank you!
Message has been deleted

Jianwei Liu

unread,
Mar 30, 2017, 9:27:37 PM3/30/17
to ns-3-users
Hi Everyone, 

   Did yall get answers to your questions? I have similar questions. It will be very helpful if you can share your experience and insights. 
 The first thing is the document does not show what is the unit of the size of TB in the trace files. Is it byte? Hope someone can clarify that. 
  And, it seems NS3 is using a burst of packets to simulate the table 7.1.7.2.1-1 in 3gpp 36.213. 

The model of the MAC Transport Blocks (TBs) provided by the simulator is simplified with respect to the 3GPP specifications. In particular, a simulator-specific class (PacketBurst) is used to aggregate MAC SDUs in order to achieve the simulator’s equivalent of a TB, without the corresponding implementation complexity. The multiplexing of different logical channels to and from the RLC layer is performed using a dedicated packet tag (LteRadioBearerTag), which performs a functionality which is partially equivalent to that of the MAC headers specified by 3GPP.

(what is SDU size and the number SDUs? is the TB size in the trace actually SDU size? asking this because I found the TB size in the trace is too small comparing the goodput results)

However, it seems the tbSize in the program and trace mean a different thing as in the 3gpp 36.213? We need to time the value of TB size in the trace file (2196 for one user really close to enb) with the number of packets? Based on this one post, we need to time it by 4?


  Will this factor change based on different scenarios? 

Best,
Jayway


Jianwei Liu

unread,
Mar 30, 2017, 10:36:31 PM3/30/17
to ns-3-users
not sure why my post was deleted?

Jianwei Liu

unread,
Mar 30, 2017, 10:39:32 PM3/30/17
to ns-3-users
or is it true that

 $(value of tb size in NS3 trace) * 8 *2 = the TB size in  table 7.1.7.2.1-1 in 3gpp 36.213

?

On Thursday, March 30, 2017 at 9:27:37 PM UTC-4, Jianwei Liu wrote:

Jayway Liu

unread,
Mar 30, 2017, 10:55:45 PM3/30/17
to ns-3-users
If this was true, then the question will be, 

why NS3 LTE implementation only uses about 47 PRBs out of 100 PRBs? The rest is all overhead. 

I heard the overhead will no 

Jayway Liu

unread,
Mar 31, 2017, 7:53:13 AM3/31/17
to ns-3-users
I meant the control messages will take no more than 3/14 of all the RBs, right?
Message has been deleted

Marshal Basnet

unread,
Jan 11, 2024, 10:04:08 PM1/11/24
to ns-3-users
Hi, i also want to print RB allocated by eNB to each UE for optimization purpose..any idea? i have read many docs but cannot print allocated resource. Please help
Reply all
Reply to author
Forward
0 new messages