[srslte-users] srsenb&ue running on ubuntu vs centos
alexander.serkin at gmail.com
alexander.serkin at gmail.com
Thu Mar 25 18:08:42 UTC 2021
Sorry, Andre
But if you wonder about the results you have to explain this, cause I'm
afraid I do not completely understand what means "change to std::mt19937". I
should probably change srand call here in rrc.cc:
rrc_log->info("using srand seed of %ld\n", tv.tv_usec);
// set seed (used in CHAP auth and attach)
srand(tv.tv_usec);
to something with mt19937 ?
I'm not a "real welder" as they say....) Just do my specific tests in the
lab.
Cheers,
Alex
-----Original Message-----
From: Andre Puschmann <andre.puschmann at softwareradiosystems.com>
Sent: Thursday, March 25, 2021 6:19 PM
To: alexander.serkin at gmail.com; srslte-users at lists.softwareradiosystems.com
Subject: Re: [srslte-users] srsenb&ue running on ubuntu vs centos
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 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
>
More information about the srsran-users
mailing list