You are on page 1of 6

5G TESTING AND FIELD TRIALS

Performance Assessment of
Open Software Platforms for 5G Prototyping
Francesco Gringoli, Paul Patras, Carlos Donato, Pablo Serrano, and Yan Grunenberger

Abstract the implementation of novel communications para-


digms and medium access schemes (e.g., full-duplex
Given the urgency of standardizing the fifth gen- WiFi [3], cognitive radio transceivers [4], and white
eration (5G) mobile systems to meet the ever more spaces networking [5]), but the complexity of the
stringent demands of new applications, the impor- “higher layers” of the cellular protocol stack has pre-
tance of field trials and experimentation cannot be cluded the development of complete systems by the
overstated. Practical experimentation with cellular academic community. However, multiple affordable
networks has been historically reserved exclusively “open” comprehensive software platforms have
to operators, primarily due to equipment costs and emerged over the past years [6, 7]. These have put
licensing constraints. The state of play is changing academics almost on par with their industry counter-
with the advent of open source cellular stacks based parts, as they are now able to rapidly implement full
on increasingly more affordable software defined protocol stacks and evaluate new cellular technolo-
radio (SDR) systems. However, comprehensive gies such as unlicensed LTE [7, 8]. By joining forces
understanding of the performance, limitations, and in practical experimentation efforts, potential exists
interoperability of these tools is lacking. In this article to accelerate progress toward 5G standardization
we fill this gap by assessing, by means of controlled and keep up with end-user demands.
experiments, the performance of today’s most popu- In this article, we interconnect different platforms
lar open software eNB solutions in combination with (including open software solutions and consum-
different commodity UE and an SDR alternative, er-grade user equipment) to build end-to-end LTE
over a range of practical settings. Although these systems, and assess their performance and adequa-
cannot underpin complete 5G systems yet, their cy toward 5G experimentation. We focus on two
development is progressing rapidly, and researchers popular solutions that provide a complete version
have employed them for 5G-specific applications of the protocol stack, namely, OpenAirInterface
including LTE unlicensed and network slicing. We (OAI) [6] and srsLTE [7].1 OAI is licensed under
further shed light on the perils of open tools and the OAI Public License (http://www.openairinter-
give configuration guidelines that can be used to face.org/?pageid=698) and implements a subset of
deploy these solutions effectively. Our results quan- the LTE Release 10 specification, including key ele-
tify the throughput attainable with each stack, their ments such as user equipment (UE), evolved NodeB
resource consumption footprint, and their reliability (eNB), mobility management entity (MME), home
and bootstrap times in view of automating exper- subscriber server (HSS), serving gateway (SGW),
imentation. Lastly, we qualitatively evaluate the and packet data network gateway (PGW), thus sup-
extensibility of the solutions considered. porting a complete solution. OAI runs over com-
modity Linux-based computing equipment (Intel x86
Introduction PC architectures) and can be used with popular RF
The Third Generation Partnership Project (3GPP) front-end equipment (e.g., National Instruments PXIe
has recently completed the specification of the and Ettus USRP). srsLTE is licensed under the GNU
fifth generation (5G) mobile systems architecture Affero General Public License (https://github.com/
[1], and industry stakeholders are now focus- srsLTE/srsLTE/blob/master/LICENSE) and also runs
ing on finalizing the Release 16 documentation. over a similar set of commodity equipment, pro-
Given the exceptional key performance indica- viding implementations of the UE and eNB that are
tors that 5G systems are expected to support, the compliant with LTE Release 8. In addition to being
1 We do not include openLTE need for field trials and experimentation driven by compatible with commercial core network (CN)
(http://openlte.sourceforge.
net/) in our analysis due to its
verticals is unprecedented. software solutions such as Amarisoft (https://www.
limited functionality (e.g., lack Until recently, practical experimentation with amarisoft.com/) or open source alternatives includ-
of user equipment software) cellular systems has been confined to the mobile ing the OpenAir-CN, as we demonstrate in this arti-
and poor robustness, as operators community, primarily due to equipment cle, it has also recently released an implementation
compared to the other two
solutions considered.
costs and radio frequency licensing requirements of the same CN elements.2 Despite not constituting
imposed by regulators. In contrast, academics have complete 5G systems, these platforms have been
2 We were not able to assess gained vast experience by experimenting with tech- employed successfully for the development of sever-
the performance with these nology that operates in unlicensed bands [2], such al 5G technologies, including LTE unlicensed [7, 8],
elements, though, as they
were not available at the time
as IEEE 802.11 WiFi and IEEE 802.15.4 ZigBee. Soft- network slicing [9], neutral host deployments, and
we ran our experiments. ware defined radios (SDRs) have further facilitated radio access network (RAN) sharing [10].

Digital Object Identifier: Francesco Gringoli is with the University of Brescia/CNIT; Paul Patras is with the University of Edinburgh; Carlos Donato is with the
10.1109/MWC.2018.1800049 University of Antwerpen — imec; Pablo Serrano is with University Carlos III of Madrid; Yan Grunenberger is with Telefonica I+D.

10 1536-1284/18/$25.00 © 2018 IEEE IEEE Wireless Communications • October 2018


While there is certain unwritten consensus about puter providing eNB functionality through the differ- For each combination
the features of each of these platforms, namely, OAI ent solutions considered is connect to the CN using a of equipment and
being more computationally efficient than srsLTE, Gigabit Ethernet link. Although we could virtually run software we first devise
with srsLTE’s code base being more modular and both the RAN and CN stacks on the same physical a procedure for deter-
easier to customize than OAI’s, there have been equipment in order to reduce deployment costs, the
limited previous efforts to formally analyze their per- configuration we adopt ensures that the performance mining the optimal
formance or their interoperability. Existing work in of the eNB will not be affected by the computing configuration of the
this space only profiles the OAI components and load placed by the processes specific to the CN. TX and RX gains at the
measures its emulation execution time [11], or char- In terms of UEs, we experiment with three dif- eNB. This turned out to
acterizes OAI’s baseband processing times under a ferent solutions: two of these are commercial off- be required to ensure
range of conditions [12]. In this article, we set the the-shelf (COTS) equipment, and the third one is an
record straight and carry out an extensive measure- SDR platform with open source software commonly the resolution of the
ment campaign to characterize the performance of used for cellular testing purposes. Precisely, we work ADC/DAC is not com-
each platform under a variety of settings (including with an LG Nexus 5 smartphone (denoted Nexus promised or the receiv-
different UEs, channel bandwidths, and propagation throughout our experiments), a Huawei e3272-153 er does not saturate.
conditions). We also analyze their interoperability, USB dongle (denoted Huawei), and the Ettus USRP
and discuss the degree of customization and exten- B210 board running the srsUE stack version 2.0-
sibility they allow. We believe our results provide 17.09 (denoted srsUE).5 To control the Nexus 5, we
valuable insights and best practices to researchers connect it through its USB interface to a PC-Engines
and practitioners faced with deciding which plat- APU embedded computer (http://www.pcengines.
form(s) to consider for their experimental work. ch/apu.htm), which runs the Android Debug Bridge
The rest of this article is organized as follows. software (https://developer.android.com/studio/
In the next section we describe our testbed, best command-line/adb.html) to access the internal com-
practices for configuring the software, and the val- mand console of the smartphone. We use the same
idation of our setup. Subsequently, we perform a APU device with the Huawei dongle, which we sup-
quantitative comparison of the platforms in terms ply with external power through a USB hub, to pre-
of throughput, CPU usage, network bootstrap vent power-related instability issues. To be able to
time, and reliability. Finally, we discuss challenges test with the commercial equipment considered, we
facing platform extensions with custom features fit the smartphone and USB dongle with Sysmocom
and give concluding remarks. programmable SIM cards (http://shop.sysmocom.
de/products/sysmousim-sjs1.
Testbed Deployment, During each experiment, only one UE is con-
nected to the eNB. Furthermore, to avoid external
Configuration, and Validation interference on our experiments, as well as our
We first describe the hardware and software used experiments interfering with external networks,
in our testbed. Then we detail the methodology we placed our network setup within an RF shield-
we designed to set up the experiments. Lastly, ing tent that is easy to set up and provides atten-
we experimentally confirm that the performance uation in the –50 to –60 dB range (http://www.
observed in wireless scenarios is practically the globalemc.co.uk/shielded-tents.php). Finally, to
same as when coaxial cables are employed, which generate and receive traffic, we install iperf-com-
enables us to discard with confidence the impact patible software on the Nexus 5, the APU device
of the transmission medium on the results.3 hosting the Huawei dongle, and the computer run-
ning as SDR UE. During our experiments, we trans-
Testbed and Tools mit UDP traffic in the uplink or downlink directions,
We conduct all the experiments reported using an and collect statistics at the receiver by sampling
eNB built with the Ettus USRP-B210 radio front-end iperf’s output every second. We also measure 3 We note that we faced
boards connected using USB 3.0 to a Linux-based the total CPU usage of the SDR process at the a number of performance
host computer that runs the different software eNB by executing the ps command and querying issues (e.g., configuration-de-
suites considered. The front-end’s uplink (UL) and the corresponding process ID. pendent incompatibilities,
out-of-memory crashes)
downlink (DL) interfaces are multiplexed on a sin- during our experiments,
gle 2 dB dipole antenna through an RF diplexer Experiments’ Setup and Repeatability which was somehow expect-
compatible with LTE band 7. The host PC runs For each combination of equipment and software, ed as both open projects are
Ubuntu 16.04 and is equipped with an Intel Core we first devise a procedure for determining the opti- actively evolving. We report
the most relevant ones for the
i7-7700K CPU with four cores clocked at 4.2 GHz, mal configuration of the TX and RX gains at the eNB. software versions available at
which is powered by an ASUS Z270-A mother- This turned out to be required to ensure that the the time of testing.
board and 16 GB of DDR4 memory. We remark resolution of the analog-to-digital/digital-to-analog
that a configuration with such high computing conversion (ADC/DAC) is not compromised or that 4 The srsLTE software suite
power is required to be able to run the different the receiver is not saturated. This is because both comprises an eNB stack
(srsENB) and a UE stack
software solutions that we use effortlessly, since implementations do not adjust the output power (srsUE). Hereafter, whenever
baseband processing is particularly CPU expensive. level of the boards, but rather adjust signal sample there is no scope for confu-
Using the configuration described above, we amplitudes by scaling. The procedure consists of sion, we use SRS and srsENB
conduct experiments with two types of eNB soft- running very short experiments (e.g., UDP traffic interchangeably to refer to
the eNB software.
ware, namely: sessions up to 5 s) and measuring the throughput
• OAI — version 0.6.1 obtained for each combination of gain. With these 5 Although an OAI UE imple-
• SRS — version 2.0-17.09 of the srsENB applica- measurements we fill throughput matrices for the mentation exists, we found
tion4 UL and DL directions, as shown in Fig. 1, which that this was incompatible
We use an additional computer to host the CN illustrates the case when the eNB runs srsENB over with the SRS eNB software.
Therefore, for a fair compari-
functionality. It runs the OpenAir-CN stack, which 10 MHz channels, and the UE is the Huawei USB son of the eNB stacks, we do
implements an open source Evolved Packet Core dongle connected with coaxial cables to the eNB. not report the performance
(EPC): MME, HSS, and P/S-GW modules. The com- Subsequently, we employ the gain pair that yields of an OAI (eNB, UE) pair.

IEEE Wireless Communications • October 2018 11


UL throughput [Mb/s] DL throughput [Mb/s] • Starting the UE, waiting until this finds the cell,
33 and initiating the attachment process
60 11.1 10.4 10.3 10.2 10.1 1.6 1.6 60 32.7 30.7 30.5 33 32.7 32.8 30.8
16
32.5
• Waiting until the UE obtains an IP address and
65 16.2 11.1 10.4 10.3 10.3 10.2 10.2 14 65 33 32.9 32.6 29.9 30.4 32.9 30.1 receives an ICMP echo reply from the traffic
generator running at the CN
TX gain [dB]

32
70 17.8 16.8 11.2 10.4 10.4 1.6 10.4 12 70 30.3 32.9 30 33 33.1 32.9 29.9
31.5 • Measuring the achievable throughput by running
75 17.8 17.8 16.7 11.1 10.9 10.9 10.9 10 75 32.7 32.8 33 29.2 33 32.9 33.1
31
five consecutive transmissions, each of 5 s duration
80 1.6 1.6 1.6 1.6 1.6 1.6 13.5
8
80 31.5 30.6 33.1 32.8 30.4 33.1 33.1
After the network has been set up successfully,
6
30.5
we run 30 s long transmission experiments, setting
85 1.6 1.6 17.8 1.6 1.6 1.6 1.6 85 32.8 32.9 33.1 33 32.9 32.9 32.3 30 the offered close to the the maximum throughput
4
90 1.6 1.6 1.6 1.6 1.6 1.6 1.6 90 33 32.8 32.8 33 32.7 33.1 32.8 29.5 measured at the last step of the bootstrap procedure.
2
60 65 70 75
RX gain [dB]
80 85 90 60 65 70 75 80
RX gain[dB]
85 90
Validation
To confirm that the proposed evaluation method-
FIGURE 1. Impact of eNB RX/TX gain on the throughput achievable in the ology is reliable and not susceptible to inaccuracies
uplink (left) and downlink (right) directions. The eNB employs the srsENB induced by practical signal attenuation and mul-
stack over a 10 MHz channel, the UE is a Huawei USB dongle, and the tipath propagation, we first compare the through-
propagation medium is coaxial cable. put attainable in both directions (UL and DL) over
5 and 10 MHz channels with all the possible soft-
ware/hardware configurations when the eNB and
eNB/UE combination OAI/Huawei OAI/srsUE SRS/Huawei SRS/srsUE UE communicate over a wireless channel (air) and
over coaxial cables using SMC connectors (cable),
respectively. Note that our validation does not
include experiments with the Nexus smartphone,
30 as instrumenting wired connections would have
voided the device’s warranty. We illustrate the
DL, 5MHz
results of these preliminary experiments in Fig. 2.
Throughput (air) [Mb/s]

In this figure, we plot the throughput perfor-


mance over the air vs. that obtained over the
wired link. We investigate this for each direction,
20 bandwidth, and eNB/UE configuration considered.
DL, 10MHz
Observe that for each combination the results are
UL, 5MHz highly correlated, with a Pearson correlation coef-
ficient of r = 0.993, which proves that the com-
munication medium has practically no impact on
the achievable performance. Therefore, we are
10
confident that the performance differences, which
we report in the next section for all the possible
UL, 10MHz configurations, have another root.
10 20
Throughput (cable) [Mb/s]
30
Performance Evaluation
In this section, we compare the performance
FIGURE 2. Methodology validation: throughput performance over wireless vs. in terms of throughput, CPU consumption, and
wired medium for different eNB/UE combinations, channel bandwidths, bootstrap time achievable with different eNB
and transmission directions. stacks (OAI vs. srsENB), UEs (Nexus smartphone,
Huawei USB dongle, and srsUE with USRP SDR),
transmission directions (UL/DL), and bandwidth
the highest throughput. Depending on the direction (5 and 10 MHz) configurations.
of each experiment run, we may set different gain
pairs. We note that the implementation of the OAI Throughput Performance
stack is more accurate, since in most cases setting We start our analysis by assessing the throughput
these hardware gains to the maximum value led to performance when sending unidirectional UDP
highest throughput performance. traffic at the maximum rate achievable in the UL
Before each repetition of a conducted test, we (from the UE) and DL (from the eNB) directions.
completely restart the network and measure the To this end, we use iperf to generate 1500 B
time required to establish a working client connec- frames from the corresponding side (the UE in the
tion, that is, until the UE has Layer 3 connectivity former case and the computer hosting the CN stack
with the CN, as verified with ICMP echo request/ in the latter), and measure the average throughput
reply. On one hand, this enables us to build statis- obtained every second during 30 s trials. We plot
tical significance for the performance metrics of in Fig. 3 the average and 95 percent confidence
interest. On the other hand, we also collect data intervals obtained following 20 repetitions of each
about the bootstrap instances that did not conclude test. In this figure each direction is represented with
successfully in order to report on the reliability of a different color, and each subplot corresponds to a
specific configurations (this will be done later). As different configuration of the eNB (OAI or SRS) and
such, we bootstrap experiments through a set of bandwidth used (5 MHz or 10 MHz). To add per-
Bash scripts that involve the following steps: spective, we show with dashed lines the theoretical
• Starting the CN and verifying that all processes maximum throughput achievable in each case.
are working and remain alive There are two key results worth noting in the fig-
• Starting the eNB and waiting for connection to ure, apart from the obvious performance asymmetry
the HSS in terms of the UL/DL rates, which is due to the fact

12 IEEE Wireless Communications • October 2018


that the DL operates with 64-quadrature amplitude
Direction (location): DL (1) DL (2) UL (1) UL (2)
modulation (QAM) and by default the UE trans-
mits using 16-QAM. First, the type of UE used has eNB: OAI eNB: SRS
practically no impact on the performance attainable
with a given eNB, since in all cases the obtained 30
throughput is almost “flat.” We only note minor dif-

BW = 10MHz
ferences between the commercial equipment’s per- 20
formance (i.e., Nexus and Huawei) and that of the
experimental platform (srsUE). In particular, for the 10

Throughput [Mb/s]
case of {DL, 10 MHz} (top left subplot) we note a
0
slight drop in performance when srsUE is employed
with OAI. We also note that initially the throughput
attained with the (SRS, Nexus) combination was 30
lower. Our intuition is that the signal processing per-

BW = 5MHz
formed by the SRS stack (in both the eNodeB and 20

UE implementations, which are built on the same


10
library) is different from that of OAI. Specifically, in
some scenarios an SRS receiver may underestimate
0
the channel quality, or produce a stream of samples Nexus Huawei srsUE Nexus Huawei srsUE
that cannot be correctly decoded by a commercial UE
receiver. To confirm this, we repeated these tests
FIGURE 3. Throughput performance obtained with different eNB/UE configu-
with the UE placed at a second location, where the
rations, UL/DL directions, and 5/10 MHz bandwidths. Experiments repeat-
performance of SRS was at the same level with that
ed at a second location (2) with SRS, to illustrate the sensitivity of this stack
of OAI — note the lighter bars labeled (2) in the fig-
to PHY conditions. Shown with dashed line is the theoretical maximum
ure. As the eNB and UE use the same PHY stack as
throughput in each case.
SRS, mismatch is less likely to occur.
Second, we note that the UL rates are slightly
smaller when the eNB runs the SRS stack instead mate that OAI may consume on average 2.5 percent
of OAI, something that is particularly noticeable CPU time for every additional MHz of bandwidth,
for the 10 MHz configuration. As we analyze next, while exhibiting an “idling” cost of 9.1 percent CPU
this can be related to the CPU demanded by the usage. Interestingly, SRS only appears to add some
srsENB solution when decoding traffic, particularly 1.4 percent CPU consumption for every additional
in the UL direction. Despite these small variations, megahertz of bandwidth, but the stack may demand
it is also worth remarking that SRS and OAI pro- 116.8 percent CPU time even when the channel
vide a similar throughput performance, with the bandwidth would be virtually zero.
difference over all cases being on average smaller
than 7 percent. Multiple UEs
We also investigate whether the number of UEs
CPU Usage attached to the eNB stacks considered might
Next, we analyze the CPU usage of the cellu- have an impact on the total throughput perfor-
lar software stack running at the eNB, aiming to mance and CPU usage due to additional process-
quantify the differences in terms of resources con- ing that may be required. At the same time, we
sumed by the OAI and SRS solutions. For this pur- wish to understand if the schedulers implemented
pose, we repeat the same experiments performed ensure that the available resources are shared fair-
above, identifying the process ID corresponding ly among the UEs. Therefore, we deploy two UEs
to the stack of interest running at the eNB, then that implement the srsUE stack and measure the
invoking the ps command every second to esti- metrics of interest with both eNBs. The obtained
mate the CPU load. We illustrate the average and results confirm that adding more clients does not
95 percent confidence intervals of the CPU con- impact the total network throughput or the CPU
sumption for all combinations considered in Fig. usage of either of the eNB stacks. In addition,
4, where the subplots are arranged as in the case both UEs obtain equal throughput, which con-
of the previous experiments. firms the accuracy of the schedulers.
The figure confirms that the choice of UE has As a final note, following code inspection we
little impact on resource consumption, as all results find that OAI implements a proportional fair sched-
are very similar for a given configuration of eNB uler, while srsENB employs round-robin scheduling.
and bandwidth. It also confirms that there is a
notable difference in terms of CPU usage between Network Bootstrap and Reliability
the SRS and OAI stacks, the former consuming Next, we take a closer look at the time required
more than four times more CPU cycles than the to successfully bootstrap the network setup and
latter. These results suggest that OAI is more suit- how often this process may fail on average. We
able for future 5G scenarios, where computation- argue that this is particularly important to under-
al efficiency is of paramount importance, such as stand the degree of experiment automation and
Cloud RAN. For all configurations, the UL direction repeatability achievable with these platforms. To
is slightly more CPU demanding than the the DL this end, based on the data collected prior to exe-
(9.7 percent on average), which we conjecture is cuting the previous experiments, we summarize in
caused by the decoding operations [13]. Fig. 5 the distributions of the time elapsed until the
Finally, it is also worth observing the relative UE has obtained an IP address and thus has a Layer
impact of the bandwidth configured on the CPU con- 3 connection (steps 2–4 described earlier) for the
sumption. Using a simple linear regression model, different eNB/UE combinations over a wireless
admittedly built with limited data, we can roughly esti- channel. We resort to box and whisker plots for

IEEE Wireless Communications • October 2018 13


earlier). In contrast, in the case of using the Nexus as
Direction DL UL
UE, we observed a 7 percent failure rate with OAI, as
eNB: OAI eNB: SRS the network did not bootstrap altogether, and a 2.5
percent failure rate with SRS due to network break-
down during experiments.
100

BW = 10MHz
Extensibility and Pitfalls
50
Customization and Extensibility
We next comment on the ability to customize and
extend the functionality of the platforms consid-
CPU [%]

0
ered. To this end, we focus on particular issues
related to scheduling and modulation and cod-
100 ing scheme (MCS) assignment. To ensure that

BW = 5MHz
the two solutions studied are evaluated under
the same conditions and all comparisons are
50 fair, we decided to focus on the following cus-
tomization: introduce the ability to fix, during
experiments, the MCS assignments that the eNB
0
Nexus Huawei srsUE Nexus Huawei srsUE
MAC scheduler enforces on UEs.6 Achieving this
UE turned out to be fairly intuitive with srsLTE, as we
found the function responsible with scheduling
FIGURE 4. CPU usage at the eNB for different eNB stacks, UEs, bandwidths, and MCS assignment in srsLTE/srsenb/src/
and transmission directions. mac/scheduler_ue.cc, conveniently named
sched_ue, and the code was easy to modify.
this purpose, the central lines marking the medians, On the other hand, this task turned out to be
the boxes’ lower and upper margins the 25th and less straightforward with OAI. The source code
75th percentiles, respectively, and the whiskers the that implements the MCS assignment operation is
minimum and maximum values, excluding outliers, located within the folder openairinterface5g/
which we plot separately (crosses). openair2/LAYER2/MAC/, where files related to
Observe that the SRS stack displays the most MAC scheduling and MCS index assignation are
deterministic behavior, especially with the Huawei located. After thorough code inspection, we found
dongle and the SDR running srsUE. Indeed, if we that all the files therein contain code that chang-
exclude outliers, the bootstrap time is constant and es the MCS settings, and unfortunately, the MCS
less than 22 s. With the same UE types, the OAI index is also often hard coded in places. Following
stack performs substantially differently. In particular, debugging, we inferred that the files eNB_sched-
while the bootstrap time is fairly constant and close uler_ulsch.c and eNB_scheduler_dlsch.c
in magnitude to that observed when the eNB runs contain the functions schedule_ulsch_rnti
the SRS stack (approximately 25 s median value) and schedule_dlsch_rnti, which assign the
and the srsUE is used, the range of bootstrap times MCS in the UL and DL directions. We developed
is very large when the UE used is the USB dongle a patch to enable dynamic MCS index assignment,
(Huawei). In this case, the median is also higher although after applying our patch we discovered
than that measured in all the other setups, and the that the MCS will be later computed and altered
75th percentile is more than 70 s. This is particularly by other functions. Therefore, we were unable to
inconvenient since when experimenting for perfor- achieve the desired behavior.
mance assessment purposes, setting up the network We believe the major differences between the
takes more time than running the actual traffic. If the OAI and srsLTE solutions in terms of extensibility are
Nexus smartphone is used as UE, both eNB types because they follow different software designs. In
exhibit similar statistics, that is, the median of the particular, OAI was developed for mock LTE network
bootstrap time is approximately 28 s, and the varia- deployment with a built-in emulator, while srsLTE was
tions are relatively small (less than 2 s between the designed from scratch as a framework to support
1st and 3rd quartiles). We leave an analysis of the building LTE applications on top, providing a set of
reasons behind these differences for future work. common libraries, tools, and examples for PHY layer
We also count the number of times we detected implementation and experimentation. As a result, UE
a failure of the bootstrap procedure or during exper- and eNB apps were implemented on top of these
iment runtime for each of the eNB/UE combinations libraries. From a software design perspective, srsLTE
considered, in the process of conducting a total of offers a modular framework that re-factors the code
80 successful experiments in each case, which we of common LTE functions for any application, while
reported earlier (20 repetitions for each direction OAI is designed to offer a standalone eNB solution.
and bandwidth setting). Interestingly, we find that
the most reliable UE type is the srsUE, as we never Software Stack Pitfalls
encountered any failures when connecting this to Working with open source cellular stacks has
either of the eNB types used, and the network never important benefits, including speed of deploy-
failed during the experiments. We observed a similar ment, availability of documentation, affordable
6 In the case of srsENB, the behavior with the USB dongle only when connecting cost, and ability to extend functionality. Unfortu-
software includes code to
fix the MCS index at startup to the OAI eNB stack, while with SRS we measured a nately, such solutions come with their own set of
through a configuration file, 5.9 percent failure rate. Here, failures always occurred issues, some of which are more difficult to spot
but our aim is to dynamically after the network was formed successfully, during the and can hinder the reproducibility of results. Here
change the MCS externally initial short tests that we run to assess the sustainable we highlight the main pitfalls we identified while
during execution time.
throughput (step 5 of the setup procedure described experimenting with the OAI and SRS tools.

14 IEEE Wireless Communications • October 2018


Bandwidth Incompatibilities: While SRS sup-
ports operation with all the bandwidth settings spec- 80
ified by 3GPP (i.e., 1.4, 3, 5, 10, 15, and 20 MHz),
OAI does not work with the 1.4, 3, and 15 MHz 70
configurations. In addition, we find that the srsENB
implementation (at least the September 2017 ver- 60
sion that we tested) does not work reliably with 20
MHz channels. Therefore, interoperability between
eNBs and UEs running different stacks is limited to 50

Time [s]
only two bandwidth settings, 5 and 10 MHz.
Interconnection with CN: The srsENB implemen- 40
tation employs the same subnetwork for both user
plane (S1-U interface) and control plane (S1-C inter- 30
face). On the other hand, the OpenAir-CN can be
configured to use two different subnetworks in order
to distinguish between the two planes; if such config- 20
uration is enabled, the srsENB stack will not work.
Problematic Queue Management: We note 10
that sending traffic in the DL direction at a rate OAI/Huawei SRS/Huawei OAI/srsUE SRS/srsUE OAI/Nexus SRS/Nexus
which exceeds the maximum throughput support- eNB/UE combination
ed on the channel makes OAI crash. Following
FIGURE 5. Distribution of the network bootstrap times (until the UE can ping
code inspection, we find that the different threads
the CN over the air) with the different eNB/UE combinations considered.
composing the software do not implement any
packing dropping strategy at the queues/lists used
for communication, which leads to out-of-memory [9] X. Foukas, M. K. Marina, and K. Kontovasilis, “Orion: RAN Slic-
ing for a Flexible and Cost-Effective Multi-Service Mobile Net-
issues. We have fixed this bug and are proposing a work Architecture,” Proc. ACM MobiCom, 2017, pp. 127–40.
patch to the OAI developers community. [10] X. Foukas et al., “FlexRAN: A Flexible and Programmable
Platform for Software-Defined Radio Access Networks,”
Summary Proc. ACM CoNEXT, 2016.
[11] A. Virdis et al., “Performance Analysis of OpenAirInterface
This article reports a performance assessment of System Emulation,” Proc. PMECT, Rome, Italy, Aug. 2015.
the two most prevalent open software solutions [12] N. Nikaein, “Processing Radio Access Network Functions
for mobile network prototyping, namely, srsLTE in the Cloud: Critical Issues and Modeling,” Proc. Int’l. Wksp.
and OAI. We designed a methodology to charac- Mobile Cloud Computing and Services 2015, pp. 36–43.
[13] S. Bhaumik et al., “CloudIQ: A Framework for Processing
terize the performance of these stacks, quantifying Base Stations in a Data Center,” Proc. ACM MobiCom, 2012.
their differences in throughput and resource con-
sumption over a range of practical settings. Our Biographies
findings formalize “word of mouth” knowledge Francesco Gringoli [M’04, SM’17] received his Laurea degree
in telecommunications engineering in 1998 and his Ph.D.
among practitioners, and provide useful guidelines degree in information engineering in 2002. He is an associate
for deploying 5G testbeds with these tools. professor of telecommunications in the Department of Informa-
tion Engineering at the University of Brescia, Italy. His research
Acknowledgments interests span the fields of wireless networking, including securi-
ty, medium access control, and the physical layer.
The authors are grateful to the anonymous referees
for their valuable comments, which helped in improv- Paul Patras [M’11, SM’18] received M.Sc. (2008) and Ph.D. (2011)
ing the article. We also thank Iñaki Úcar for his help degrees from Universidad Carlos III de Madrid (UC3M). He is a lec-
setting up the testbed. The work of P. Serrano was turer and Chancellor’s Fellow in the School of Informatics at the Uni-
versity of Edinburgh, where he leads the Internet of Things Research
partially supported by the European Commission in Programme. Previously, he was a research fellow at the Hamilton Insti-
the framework of the H2020 5G-PPP 5G-MoNArch tute of the National University of Ireland Maynooth. His research inter-
project (grant agreement no. 761445) and by the ests include performance optimization in wireless networks, mobile
Madrid Regional Government through the TIGRE5- traffic analytics, security and privacy, prototyping, and testbeds.
CM program (S2013/ICE-2919). Carlos Donato received his B.Sc in telecommunications engi-
neering (2013) and M.Sc in telematics engineering (2015) from
References UC3M. Currently, he holds a research position at IDLab — imec,
[1] 3GPP, “TS 23.501 — System Architecture for the 5G System; Antwerp, Belgium. His research interests lie in wireless com-
Stage 2,” Dec. 2017. munications (LTE and IEEE 802.11), energy efficiency, software
[2] P. Serrano et al., “Experimenting with Commodity 802.11 defined networking, and Cloud-RAN.
Hardware: Overview and Future Directions,” IEEE Commun.
Surveys & Tutorials, vol. 17, no. 2, 2015, pp. 671–99. Pablo Serrano [M’09, SM’16] received his degree in telecommu-
[3] M. Duarte et al., “Design and Characterization of a Full-Du- nication engineering and his Ph.D. from UC3M in 2002 and 2006,
plex Multiantenna System for WiFi Networks,” IEEE Trans. respectively. He has been with the Telematics Department of UC3M
Vehic. Tech., vol. 63, no. 3, Mar. 2014, pp. 1160–77. since 2002, where he currently holds the position of associate profes-
[4] P. D. Sutton, K. E. Nolan, and L. E. Doyle, “Cyclostationary sor. He has over 80 scientific papers in peer-reviewed international
Signatures in Practical Cognitive Radio Applications,” IEEE journal and conferences. He has served as a Guest Editor for Com-
JSAC, vol. 26, no. 1, Jan. 2008, pp. 13–24. puter Networks and on the TPC of a number of conferences and
[5] P. Bahl et al., “White Space Networking with Wi-Fi Like Con- workshops including IEEE INFOCOM and IEEE WoWMoM.
nectivity,” Proc. ACM SIGCOMM, 2009, pp. 27–38.
[6] N. Nikaein et al., “OpenAirInterface: A Flexible Platform for Yan Grunenberger received his Engineer and Ph.D. degrees
5G Research,” SIGCOMM Comp. Commun. Rev., vol. 44, from Grenoble University, France. He worked on iPhone mobile
no. 5, Oct. 2014, pp. 33–38. apps before doing research activities in various research institu-
[7] I. Gomez-Miguelez et al., “SRSLTE: An Open-Source Plat- tions (CTTC, 2010, and Telefonica Research, 2011, in Barcelo-
form for LTE Evolution and Experimentation,” Proc. ACM na, Spain). After doing product security at Qualcomm (2014),
WiNTECH, 2016. he again joined Telefonica (2015) to help create and run Tele-
[8] C. Capretti et al., “LTE/Wi-Fi Coexistence under Scrutiny: An fonica’s own end-to-end customer-centric lab where he is testing
Empirical Study,” Proc. ACM WiNTECH, Oct. 2016. and building PoCs around edge computing.

IEEE Wireless Communications • October 2018 15

You might also like