In all our tests, Snabb was not able to achieve
comparable latency with respect to other solutions;
for example, while all other virtual switches could
maintain their average latency under 40 µs for B = 4,
Snabb’s delay was always greater than 60 µs, even for
very small packet sizes. Since this overall behavior is
repeated in all our tests, regardless of which parame-
ters are applied, Snabb will not be discussed further.
Figures 5a to 5c show that only virtio-based so-
lutions were able to achieve single-digit microsec-
ond round-trip latency on a single host, while SR-
IOV has a higher latency for small packet and burst
sizes. Increasing the burst size over 32 packets, these
roles are reversed, with SR-IOV becoming the most
lightweight solution, although it was never able to
achieve single-digit microsecond latency. From this
we inferred that SR-IOV performance are less influ-
enced by the variation of the burst size with respect to
the other options available and thus it is more suitable
when traffic on a single host is grouped into bigger
bursts.
We then repeated the same evaluations by deploy-
ing the server application on a separate host (L =
remote, Figure 3f). In this new scenario, SR-IOV al-
ways outperforms OVS and VPP, as shown in Fig-
ures 5d to 5f. This can be easily explained, since
when using a virtio-based switch to access the phys-
ical network two levels of forwarding are introduced
with respect to the case using only SR-IOV: the two
software instances, each running in their respective
hosts, introduce additional computations with respect
to the one performed in hardware by the SR-IOV de-
vice.
6 CONCLUSIONS AND FUTURE
WORK
In this work, we presented a novel framework aimed
to evaluate and compare the performance of various
virtual networking solutions based on kernel bypass.
We focused on the interconnection of VNFs deployed
in Linux containers in one or multiple hosts.
We performed a number of performance evalu-
ations on some virtual switches commonly used in
the NFV industrial practice. Test results show that
SR-IOV has superior performance, both in terms of
throughput and scalability, when traffic is limited to a
single host. However, in scenarios that consider inter-
host communications, each solution is mostly con-
strained by the limits imposed by the Ethernet stan-
dard. Finally, from a latency perspective we showed
that both for local and remote communications SR-
IOV can attain smaller round-trip latency with respect
to its competitors when bigger burst sizes are adopted.
In the future, we plan to support additional vir-
tual networking solutions, like NetVM (Hwang et al.,
2015), Netmap (Rizzo, 2012a), and VALE (Rizzo and
Lettieri, 2012). We also plan to extend the functional-
ity of the proposed framework, for example by allow-
ing for customizing the number of CPU cores allo-
cated to the virtual switch during the runs. Finally, we
would like to compare various versions of the consid-
ered virtual switching solutions, as we noticed some
variability in the performance figures after upgrading
some of the components, during the development of
the framework.
REFERENCES
Ara, G., Abeni, L., Cucinotta, T., and Vitucci, C. (2019).
On the use of kernel bypass mechanisms for high-
performance inter-container communications. In High
Performance Computing, pages 1–12. Springer Inter-
national Publishing.
Barach, D., Linguaglossa, L., Marion, D., Pfister, P.,
Pontarelli, S., and Rossi, D. (2018). High-speed
software data plane via vectorized packet processing.
IEEE Communications Magazine, 56(12):97–103.
Barik, R. K., Lenka, R. K., Rao, K. R., and Ghose, D.
(2016). Performance analysis of virtual machines and
containers in cloud computing. In 2016 International
Conference on Computing, Communication and Au-
tomation (ICCCA). IEEE.
Dong, Y., Yang, X., Li, J., Liao, G., Tian, K., and Guan, H.
(2012). High performance network virtualization with
SR-IOV. Journal of Parallel and Distributed Comput-
ing, 72(11):1471–1480.
Felter, W., Ferreira, A., Rajamony, R., and Rubio, J. (2015).
An updated performance comparison of virtual ma-
chines and linux containers. In 2015 IEEE Interna-
tional Symposium on Performance Analysis of Sys-
tems and Software (ISPASS). IEEE.
Gallenmüller, S., Emmerich, P., Wohlfart, F., Raumer,
D., and Carle, G. (2015). Comparison of frame-
works for high-performance packet IO. In 2015
ACM/IEEE Symposium on Architectures for Network-
ing and Communications Systems (ANCS). IEEE.
Géhberger, D., Balla, D., Maliosz, M., and Simon, C.
(2018). Performance evaluation of low latency com-
munication alternatives in a containerized cloud envi-
ronment. In 2018 IEEE 11th International Conference
on Cloud Computing (CLOUD). IEEE.
Hwang, J., Ramakrishnan, K. K., and Wood, T. (2015).
NetVM: High performance and flexible networking
using virtualization on commodity platforms. IEEE
Transactions on Network and Service Management,
12(1):34–47.
Intel (2015). Open vSwitch enables SDN and NFV trans-
formation. White Paper, Intel.
CLOSER 2020 - 10th International Conference on Cloud Computing and Services Science
54