[srslte-users] srsenb&ue running on ubuntu vs centos
Cedric Roux
cedric.roux at eurecom.fr
Fri Mar 26 09:47:49 UTC 2021
On 2021-03-25 16:19, Andre Puschmann wrote:
> Hey Alex,
>
> On 24/3/21 10:10, alexander.serkin at gmail.com wrote:
>> Despite the fact that centos VM has twice more cpus and 8 times more RAM
>> comparing to ubuntu, the srsue starts there >20 seconds while on ubuntu
>> machine it takes 2-3 seconds.
>
> we've actually observed the same on some configuration. Yet, I've not
> come to find the cause. I was suspecting the srand() which we should
maybe there is an access to /dev/random?
Reading data from /dev/random can be slow, based on the activity of
the computer.
You can check with strace maybe.
> probably not use anyhow and instead port to C++ std::mt19937, like we
> already do elsewhere in the code
>
> If you can reliably reproduce that, try to change to std::mt19937 and
> see if that improves the start up time.
>
> Thanks
> Andre
>
>>
>> The delay occurs between two UE log messages. CentOS:
>>
>> 08:55:21.243251 [NAS ] [I] Read security ctxt from file .ctxt. ksi: 6,
>> k_asme:
>> b03a9dc5106b1c09e96b14a11ed34afe128d632bea9509b902fadeae01669ce3,
>> tx_count: 4, rx_count: 3, int_alg: 1, enc_alg: 0
>>
>> 08:55:21.243307 [RRC ] [I] using srand seed of 243303
>>
>> 08:55:40.753622 [MAC ] [I] [ 0] DL retx: 0.00 %, perpkt: 0.00, UL
>> retx: 0.00 % perpkt: 0.00
>>
>> 08:55:40.753726 [RLC ] [I] LCID=0, RX throughput: 0.000000 Mbps. TX
>> throughput: 0.000000 Mbps.
>>
>>
>>
>> Ubuntu:
>>
>> 08:58:46.389003 [NAS ] [I] Read security ctxt from file .ctxt. ksi: 6,
>> k_asme:
>> 0417d4c4d86b4d272a061cc3ae49f177722fe64870e7a7aec63d47033162be6d,
>> tx_count: 14, rx_count: b, int_alg: 1, enc_alg: 0
>>
>> 08:58:46.389025 [RRC ] [I] using srand seed of 389022
>>
>> 08:58:47.075794 [MAC ] [I] [ 0] DL retx: 0.00 %, perpkt: 0.00, UL
>> retx: 0.00 % perpkt: 0.00
>>
>> 08:58:47.075809 [RLC ] [I] LCID=0, RX throughput: 0.000000 Mbps. TX
>> throughput: 0.000000 Mbps.
>>
>>
>>
>> I wonder if there probably exist some simple explanation of this ?
>>
>>
>>
>> Cheers,
>>
>> Alex
>>
>>
>> _______________________________________________
>> srslte-users mailing list
>> srslte-users at lists.softwareradiosystems.com
>> http://www.softwareradiosystems.com/mailman/listinfo/srslte-users
>>
>
> _______________________________________________
> srslte-users mailing list
> srslte-users at lists.softwareradiosystems.com
> http://www.softwareradiosystems.com/mailman/listinfo/srslte-users
>
More information about the srsran-users
mailing list