SRS periodicity

501 views
Skip to first unread message

nabil torjemen

unread,
Apr 16, 2016, 4:06:21 AM4/16/16
to ns-3-users
Hi for all,
I have seen several topic related to SRS periodicity to resolve the error message below:
msg="too many UEs (41) for current SRS periodicity 40, consider increasing the value of ns3::LteEnbRrc::SrsPeriodicity", file=../src/lte/model/lte-enb-rrc.cc, line=2415

According to these topics, the solution is to increase the SRS periodcity value of the attribute :
    .AddAttribute ("SrsPeriodicity",
                   
"The SRS periodicity in milliseconds",
                   
UintegerValue (40),
                   
MakeUintegerAccessor (&LteEnbRrc::SetSrsPeriodicity,
                                         
&LteEnbRrc::GetSrsPeriodicity),
                   
MakeUintegerChecker<uint32_t> ())

I have find that available SRS periodicity value can be found:
static const uint16_t g_srsPeriodicity[SRS_ENTRIES] = {0, 2, 5, 10, 20, 40,  80, 160, 320};

however, when I change the attribute to 80, i found the following error:
Program received signal SIGSEGV, Segmentation fault.
0xb422f178 in malloc_consolidate (av=0xb435f440) at malloc.c:4298

have you and idea how to fix it ?

Biljana Bojović

unread,
Apr 17, 2016, 2:16:52 PM4/17/16
to ns-3-users
HI Nabil,

could you please provide information how to reproduce this error?

Thanks,
Biljana


nabil torjemen

unread,
Apr 28, 2016, 6:48:00 AM4/28/16
to ns-3-users
Hi,
Thanks for your reply.
However, it is very easy to reproduce error : just set the number of ue in mobile scenario to 80 and then run it.
you will have the following error:
msg="too many UEs (41) for current SRS periodicity 40, consider increasing the value of ns3::LteEnbRrc::SrsPeriodicity", file=../src/lte/model/lte-enb-rrc.cc, line=2415
                                               
terminate called without an active exception                                                                
Command ['/home/nabil/ns-allinone-3.23/ns-3.23/build/scratch/nabil_QoE'] terminated with signal SIGIOT. Run it under a debugger to get more information (./waf --run <program> --command-template="gdb --args %s <args>").

and if you run it over gdb degubber you will find the error :


Program received signal SIGSEGV, Segmentation fault.
0xb422f178 in malloc_consolidate (av=0xb435f440) at malloc.c:4298

have you any suggestion ?
is it wrong to change the value to change the value to one of the following values :

static const uint16_t g_srsPeriodicity[SRS_ENTRIES] = {0, 2, 5, 10, 20, 40,  80, 160, 320};


Best regards.
Reply all
Reply to author
Forward
0 new messages