Preview

Advanced Engineering Research (Rostov-on-Don)

Advanced search

Analytical Model of the Buffer Memory of an OpenFlow Switch in a Software-Defined Network (SDN)

https://doi.org/10.23947/2687-1653-2026-26-2-2221

EDN: MPFRRV

Contents

Scroll to:

Abstract

Introduction. Reliable identification of the probabilistic and temporal features of switching nodes is required for assessing the quantitative characteristics of software-defined networks. Widely used queuing theory (QT) methods only approximately specify and model the processes in an OpenFlow switch and its buffer memory. This results in understated and unrealistic performance estimates for the designed network equipment, causing switch buffer overloading and packet loss. A different modeling approach can solve this problem. The objective of this paper is to develop and study an analytical model for the buffer memory of an OpenFlow switch in an SDN using advanced techniques.

Materials and Methods. The discrete Laplace-Stieltjes transform was used. Statistical characteristics of packet flows and the throughput of communication channels for a given packet loss probability were taken into account. The OpenFlow switch buffer memory model was based on the mathematical apparatus of the QT. It was constructed under the assumption of recurrence of input data flows with batch arrivals. The model was based on schematic representations of the switch structure, its record set, and a graph description of the transmission of network packets leaving the switch. We started with schematic representations of the switch structure, its record set, and a graph description of the transmission of network packets exiting the switch. Two model assumptions were taken as acceptable:

  • arbitrary distribution of the relationship between the volume of data flows and their service time;
  • discreteness of the distribution of the information flow structure.

Results. The developed model integrated the probability of packet flow loss, their statistical characteristics, the throughput of computing devices, and the multiphase service procedure. When testing the model performance, we assumed that the switch load increased from 0.1 to 0.9, and the loss probability — from 10–3 to 10–6. For these metrics, we determined how the switch load affected the buffer memory size and latency. In the first case, the minimum value (memory capacity) was 0.201, the maximum — 10564. In the second, they were 0 and 470 ms, respectively. For simulation modeling, the minimum time was 0 ms, the maximum — 2300 ms. The simulation and analytical modeling indicators were close at loads below 50% and increased several times at loads above 50%. The indicators increased sharply with loads up to 70%, and then increased exponentially.

Discussion. At low network loads, queues did not overflow, packets were not lost, and linear dependences were maintained. At medium and high loads, packet flow processing was described by nonlinear dependences. The results of analytical and simulation modeling diverged due to the explosive nature of self-similar network traffic and its approximate description by the Pareto distribution. Switch load determined the feasibility of the proposed approach. The model is suitable for designing elements of software-defined networks to analyze their resilience under various information impacts.

Conclusion. The proposed SDN analytical model determined the values and variances of the switch buffer memory size, as well as the memory capacity for constructing address flow tables. The solution performance was tested with switch loads ranging from 0.1 to 0.9. It is planned to create a model that takes into account request flows from both the external network and the server.

For citations:


Slyusarev G.V., Mochalov V.P., Gosteva D.V. Analytical Model of the Buffer Memory of an OpenFlow Switch in a Software-Defined Network (SDN). Advanced Engineering Research (Rostov-on-Don). 2026;26(2):2221. https://doi.org/10.23947/2687-1653-2026-26-2-2221. EDN: MPFRRV

Introduction. Programmable SDN networks and the OpenFlow network device management protocol were created to improve automation of modern computer network management and support the specified quality of cloud services, that is, for tasks solved by dynamically redistributing network resources between users. One of the core elements of software-defined networks is the OpenFlow flow switch, and its most important component is the buffer memory. Using an internal software pipeline, the switch distributes and balances loads between network links. This provides the flexibility of centralized network resource management.

Quantitative performance evaluation of networks involves identifying the probabilistic and temporal characteristics of switching nodes. This is done by widely used queuing theory (QT) methods, which only approximately define and model processes in an OpenFlow switch and its buffer memory. This results in underestimated, unrealistic performance of the designed network devices, overloading the switch buffer memory, and loss of network packets. To address this challenge, a different modeling approach is proposed. This work aims to develop and evaluate an analytical model for OpenFlow switch buffer memory in SDN using advanced queueing theory approaches. For this, the discrete Laplace-Stieltjes transform (DLT) is used, taking into account the statistical characteristics of packet flows and the throughput of communication channels for a given packet loss probability. A similar mathematical model based on the classical QT is described in [1], but it does not eliminate the problems that arise due to the approximate description of network processes.

Scientific literature offers design solutions for improving data network elements, demonstrating the importance and relevance of the scientific and technical problem being solved. OpenFlow models for switches in software-defined networks (SDN) are the subject of works by Raghav S.S., Baskakov A.E., Volkov A.S., Filippov I.A., Nikishin K.I., Gurin E.I., Tikhonenko O.M., Gorbunov A.V., Lebedev A.V., Samouylov K.E.., Shalimov I.A., and others. In [2], a fairly comprehensive review of network solutions based primarily on classical QT is given. Finite-capacity systems with a recurrent input flow, a Markovian service process, and infinite-capacity buffers are studied. The modeling methods are based on replacing recurrent arrival flows with simpler ones. The dependence of the volume of requests on the service time is assumed to be given or neglected. The probability of packet loss is supposed to be negligible. Such models often assume packet loss when the buffer is fully occupied, but this assumption is not always accurate. They also assume an unlimited total memory capacity and a well-defined relationship between message volume and service time. Most publications lack finite expressions for analyzing switch service quality, taking into account the specifics of buffer memory allocation, loss indicators, and load. In these cases, the authors use numerical methods from off-the-shelf software packages.

The scientific novelty of this research lies in the improvement of classical queuing theory methods, which support the analysis of systems with arbitrarily distributed arrival and service requests. The practical significance of the results is confirmed by two factors. First, an analytical model of the buffer memory of an OpenFlow switch in an SDN network is created, allowing for a sufficiently accurate analysis. Second, it opens the possibility of selecting alternative design options at the design stage. The efficiency of the proposed model is assessed under simulation. The resulting performance metrics provide evaluating the efficiency of an OpenFlow switch in an SDN network.

Materials and Methods. The incoming SDN network packet flow enters an OpenFlow switch, which extracts metadata, checks it against entries in address tables, and determines the forwarding direction. The network operating system of the SDN controller distributes the packets into flows configured by the OpenFlow classifier. The OpenFlow switch integrates multiple flow tables managed by the central controller through instructions and packet forwarding. The SDN controller periodically updates its records of the network structure, load, resources used, and reserves. Accordingly, it establishes forwarding rules for all incoming flows, sequentially distributes them to the switch OpenFlow output ports, sets new action parameters, and performs distribution or transmission back into the network. This utilizes the switch software pipeline, which consists of sequential flow tables.

Packets not identified in the flow tables are sent to another switch port or forwarded to the controller for field modification. The SDN controller generates switch output ports, address tables, and data flow classifiers [3].

Much attention is paid to issues of network device management, and ready-made design solutions are available. Despite this, new, efficient methods and protocols for network load management are being developed, and network management protocols are constantly being refined. The short period of operational experience with SDN networks and the lack of systematic testing results for switching equipment on the OpenFlow platform necessitate further research using analytical and simulation models.

Thus, the switch structural diagram can be represented as a queueing system (QS) with limited memory. Its input receives a flow of packets with arbitrary distributions of the number and volume of requests. The operating mode of such a system will be stationary if the average number of requests arriving per unit of time does not exceed the maximum possible service rate. One of the most challenging tasks is determining the mean values and variances of the switch total buffer memory capacity, as well as the memory capacity for constructing flow tables [4]. Assume that there are no packet flow queues at the input of a high-performance central control server. In this case, the switch operation in steady-state mode can be described by the apparatus of queuing systems with Laplace-Stieltjes transforms. Data distribution and processing using a software pipeline is modeled as a multiphase random process [5].

The advanced QT method used in this paper allows for the creation of models of numerous real systems, including switching ones. It can be reasonably assumed that such systems have stationary characteristics, and that the parameters of the input packet flow do not affect the order and time of its processing. We also assume that each flow is characterized by a random number of packets, that is, its volume takes only positive discrete values, and this, with a high degree of probability, reflects the real situation.

A switch forwarding pipeline consists of one or more address tables connected in series. Input network traffic, described by an arbitrary distribution law, enters the conveyor and is sequentially processed by k address tables.

It is assumed that the query processing time for each table is random and exponential. The sum of the times of all processing stages forms the final service time distribution (the Erlang k distribution). It is known that a k-order Erlang flow with parameters (µ, r) can be represented as the sum of r random flows with parameters μi, and the characteristics of the system under consideration can be obtained from the characteristics of its constituent elements [6]. Then, the stationary probabilities p(i1,…, ir) of the system under consideration:

The structure of the switch record set is shown in Figure 1.

Fig. 1. Switch entry set structure

A simplified structure of an OpenFlow switch is shown in Figure 2.

Fig. 2. OpenFlow switch structure

The time intervals between packets are random. The input flow is Markovian, but its service time does not obey an exponential distribution, that is, the analyzed processing of input flows contains a Markovian component. Therefore, this system can be studied using the mathematical apparatus of semi-Markovian processes [7], and the distribution function of the time intervals of the process in state i will be an arbitrarily distributed random variable [8]. The intervals between the end of service and the next arrival of service requests are subject to the same distribution. We also assume that random packet flows, determined by the Erlang distribution function, arrive via m channels with intensities

For M/G/1/n system, the Laplace-Stieltjes transform of the distribution function of the volume of the serviced packet R(x):

Here, gi > 0 — packet reception delay time on the i-th channel, f — distribution parameter, s — complex parameter of the Laplace-Stieltjes transform. In this expression, it functions as a multiplier in the exponent and allows finding the moments of the distribution of a random variable of any degree.

Mean value and variance:

where ρi — input channel loading,

Then the volume of packet flow is DLT:

Mean values and variance:

We consider that the probability of packet flow loss [9]:

where

L(x) = 1 – efx — distribution function (DF) of the packet flow volume;

D(x) = p(δ < x) — DF of the total volume of packet flow δ.

DF moments R(x):

where φ1 = 1/f — mean packet flow volume; δ1, δ2 — moments of the total volume of packet flow.

Finding the explicit form of the DF D(x) does not seem possible. In [10], it is shown that when performing calculations, this function can be approximated quite accurately by the expression:

Here,

 — incomplete gamma function;

p0 — probability of no service requests; Γ(p) = γ(p, ∞) — gamma function; p and g — parameters determined from the condition of equality of the corresponding moments of the switch memory volume:

The numerical values of the DF D(x) are obtained through simulation modeling by standard numerical methods, which allow the solution to be reduced to a finite number of arithmetic operations. The results of the simulation modeling are virtually identical to the results of the analytical modeling described in this article, demonstrating the validity of the developed model.

When forming network flows, the following actions are performed [11].

  1. Identification of the traffic packet flow.
  2. Packet-to-flow classification for the flow being formed.
  3. Formation of network packet flows or transmission of an unidentified packet to the management controller.

The function of allocating the service time for the input packet flow B(t) = p + (1 – p)(1 – ept), and its DLT [12]:

Mean service time:

If the system load ρ = aβ1 = a(1 – p)/p, then the DLT service waiting time:

Then the mean value of the waiting time is:

The image has the form of rational fraction (An(p))/(Bn(p)). P1, P2,…, Pn — roots of multiplicity r1, r2,…, rn, where r1 + r2 + ⋯ + rn = m и

.

This means that the original can be found from formula [13]:

For simple roots of the denominator P1, P2,…, Pn:

The inversion of the DLT function W(q) is determined by the relation:

The distribution function of random variable V has the form:

For the case

,

mean value of stationary waiting time:

Mean value of stationary service time:

These random variables are approximated by the DF

.

Here,

,

Γ(p) = γ(p,∞), p0 — stationary probability of no requests:

Obviously, the phases of transmission of network packets leaving the switch can be described by the graph (Fig. 3) [14].

Fig. 3. QS state and transition graph M/M/m/n

From [15], the probability of system M/M/m/n being in the state pk is known:

Here, ρ = λ/μ — load.

Accordingly, the probability of the state pm+s is:

Then the intensity of the output flow is:

According to [16], taking into account lost packets, the output flow intensity:

Time spent by packets in the system:

Waiting time for packets in the queue:

Service time:

The presented expressions allow deriving the basic characteristics of an OpenFlow switch. In this case, packet flow processing and management, as well as interaction with the central network controller are taken into account. Buffer memory is considered a shared, dynamically allocated resource and is determined by constraints on the percentage of lost packets for a given loss probability. Acceptable model constraints:

  • arbitrary distribution of the relationship between the volume of data flows and their service time;
  • assumed discreteness of the distribution of the structure of information flows.

Research Results. Thus, as part of this study, a model of an OpenFlow switch is developed to calculate and evaluate its buffer memory. Using the mathematical apparatus of semi-Markovian processes and Laplace-Stieltjes transforms, the following parameters are defined:

  • packet flow loss probability;
  • their statistical characteristics;
  • computing device throughput.

Packet flow processing consists of multiple independent sequential phases, and the service time across them is exponentially distributed. Therefore, the proposed model is based on a multiphase servicing procedure, in which the service time is determined by the n-th order Erlang distribution, and the moments of the distribution functions are found using the Laplace-Stieltjes transform.

Tables 1 and 2 show the results of analytical modeling of the switch buffer memory volume and the dependence of the mean service waiting time on the load. In this case, it increases from 0.1 to 0.9. Switch memory capacity is measured by the number of mean input packet flows.

Table 1

Dependence of Buffer Memory Size on Switch Load

Probability of loss, pп

Loading switch buffer memory, ρ

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

0.9

10⁻³

0.201

0.307

0.412

0.478

0.617

37.05

69.07

94.36

178.87

10⁻⁴

0.403

0.481

0.521

0.680

2.15

4.31

21.05

232.7

831.3

10⁻⁵

0.762

0.790

0.840

0.932

3.76

7.83

16.07

476.5

983.2

10⁻⁶

0.937

0.951

1.511

1.79

5.07

16.08

87.13

748.1

10564

Table 2

Dependence of Mean Waiting Time on Switch Load, ms

Probability of loss, pп

Loading switch buffer memory, ρ

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

0.9

10⁻⁴

0.00

0.00

0.00

0.02

0.07

0.17

30

120

470

10⁻⁴

0.00*

0.00*

0.01*

0.04*

0.12*

0.53*

90*

510*

2300*

Note: * Results of switch simulation are marked.

The simulation results were obtained using self-similar network traffic described by a Pareto distribution with a parameter of 1.5. If the system load is less than 50%, the simulation-based characteristics for the P/G/1 system deviate slightly from the mean values obtained in the analytical modeling. At loads exceeding 50%, the values increase several-fold. The indicators increase sharply as the switch load reaches 70% and increase exponentially if this level is exceeded.

Discussion. The results of this scientific work were obtained under the condition that the distribution function of the intensity of the packet flow was independent of the phase that processed them, as well as the constant nature of the volume of the packet flow. Only in this case the result of the Laplace–Stieltjes transformation was valid for the memory size of the switch.

The main drawback of the results is that the obtained estimates are only reliable at the level of partial distributions. The OpenFlow network switch model is built on the assumption of using shared dynamically allocated buffer memory, and the considered phases of request flow processing are assumed to be independent. Therefore, the results of the study can only be used if the time is equal to:

  • input of a packet flow into the switch memory;
  • its output to the communication channel.

Such conditions should be considered acceptable, taking into account the capabilities of modern data processing and transmission tools.

The simulation results presented in Tables 1 and 2 are obtained taking into account the specified loss characteristics and current network load. At low loads, queues do not overflow, packets are not lost, and linear dependences are maintained. At moderate, and specifically high loads, network packet flow processing is described by nonlinear dependences. The discrepancy between the analytical and simulation results is due to the explosive nature of self-similar network traffic and the rather approximate nature of its description by the Pareto distribution.

Obviously, the feasibility of using the proposed model is determined by the current switch load. This model can be used in the design of network elements of software-defined networks to analyze their resilience to various information impacts.

The results of the presented research for a load of up to 50% are practically identical to the results obtained within the framework of classical methods of queuing theory [5]. Critical losses of input packet flows start at a switch load of 50%. A further increase in load is not considered; therefore, neither the behavior nor the stability of the system under higher loads are assessed.

The performance level of the proposed model corresponds to the known results of simulation modeling using self-similar network traffic described by the Pareto distribution.

Conclusion

1. An analytical model of the OpenFlow buffer memory of a software-defined network (SDN) switch was developed to determine:

  • mean values and variance of the switch total buffer memory;
  • memory volumes for constructing address flow tables.

2. Analytical expressions were obtained to determine the following characteristics of the quality of service of a software-defined network switch:

  • output packet flow rate, taking into account losses;
  • packet sojourn time in the system;
  • packet waiting time in the queue;
  • service time;
  • dependence of the buffer memory size and the average service waiting time on the load.

3. The model performance was confirmed by a comparison of the results of analytical and simulation modeling when the switch load varied from 0.1 to 0.9.

4. The model allows testing SDN networks without using physical equipment to justify switch parameters taking into account its environment.

It is expected that the next article, devoted to the development of a model for the functioning of an SDN switch, will take into account the flow of requests both from the external network and from the management controller (server).

References

1. Samouylov KE, Shalimov IA, Buzhin IG, Mironov YuB. Model of Functioning of Telecommunication Equipment for Software-Configurated Networks. Modern Information Technologies and IT-Education. 2018;14(1):13–26. https://doi.org/10.25559/SITITO.14.201801.013-026

2. Ivanova D, Adou Y, Markova E, Gaidamaka Yu, Samouylov K. Mathematical Framework for Mixed Reservation- and Priority-Based Traffic Coexistence in 5G NR Systems. Mathematics. 2023;11(4):1046. https://doi.org/10.3390/math11041046

3. Baskakov AE, Volkov AS. Resources Managing Algorithm for Transport Software-Defined Communication Network Trudy MAI. 2020;(115). https://doi.org/10.34759/trd-2020-115-06

4. Stepanov MS, Stepanov SN, Kanischeva MG, Kroshin FS. Analysis of Procedures to Ensure the Required QoS Indicators in Multiservice Access Nodes. In: Proceedings of the XXVI International Conference. on “Distributed Computer and Communication Networks: Control, Computation, Communications (DCCN)”. Moscow: V.A. Trapeznikov Institute of Control Sciences, Russian Academy of Sciences; 2023. Iss. 1. P. 47–55.

5. Mochalov VP, Linets GI, Bratchenko NY, Govorova SV. An Analytical Model of a Corporate Software-Controlled Network Switch. Scalable Computing: Practice and Experience. 2020;21(2):337–346. https://doi.org/10.12694/scpe.v21i2.1698

6. Malakhov SV, Yakupov DO, Osipova AA, Kopylova DA, Zelenina EA. The Use of a Queuing System to Study the Characteristics of the Communication Channel in IoT Networks. Vestnik NSU. Series: Information Technologies. 2024;22(1):49–61. https://doi.org/10.25205/1818-7900-2024-22-1-49-61

7. Tikhonenko OM. Generalized Erlang Problem for Service Systems with Finite Total Capacity. Communication Network Theory. 2005;41:243–253. https://doi.org/10.1007/s11122-005-0029-z

8. Antonova PV. Principles of Developing a Limited-Queue Mass Service System on the .NET Platform. Software Systems and Computational Methods. 2023;(2):15–28. https://doi.org/10.7256/2454-0714.2023.2.43403

9. Voronova AG. Typification of Projects for the Transition to Cloud Services. Advanced Engineering Research (Rostov-on-Don). 2024;24(3):274–282. https://doi.org/10.23947/2687-1653-2024-24-3-274-282

10. Gorbunova AV, Lebedev АВ. On Estimating the Characteristics of a Fork-Join Queueing System with Poisson Input and Exponential Service Times. Advances in Systems Science and Applications. 2023;23(2):99–114. https://doi.org/10.25728/assa.2023.23.2.1351

11. Mochalov VP, Bratchenko NYu, Moiseenko VA, Gosteva DV. A Simulation Model of Algorithms for the Operation of Nodes of Future Communication Networks. Certificate of Software State Registration no. 2019618220, 2019. (In Russ.) URL: https://new.fips.ru/registers-doc-view/fips_servlet?DB=EVM&DocNumber=2019618220&TypeFile=html (accessed: 09.06.2026.)

12. Topilin IV, Han M, Feofilova AA, Beskopylny NA. Comparative Analysis of Neural Network and Machine Learning Models for Short-Term Traffic Flow Prediction on Shenzhen Expressway. Advanced Engineering Research (Rostov-on-Don). 2025;25(4):350–362. https://doi.org/10.23947/2687-1653-2025-25-4-2215

13. Gorbunova AV. On the Features of Service Speed Control in Fork-Join Systems with Pareto Distribution of Service Time. Proceedings of Voronezh State University. Series: Systems Analysis and Information Technologies. 2025;(4):53–62. https://doi.org/10.17308/sait/1995-5499/2024/4/53-62

14. Dudin SA, Dudin AN, Dudina OS, Chakravarthy SR. Analysis of a Tandem Queuing System with Blocking and Group Service in the Second Node. International Journal of Systems Science: Operations and Logistics. 2023;10(1):2235270. https://doi.org/10.1080/23302674.2023.2235270

15. Samoylenko VV. Concept of a Multilevel Network Infrastructure for Monitoring Agricultural Facilities Based on Wireless Sensor Networks. Advanced Engineering Research (Rostov-on-Don). 2025;25(4):371–382. https://doi.org/10.23947/2687-1653-2025-25-4-2238

16. Gorbunova AV, Lebedev AV. On the Features of Service Rate Control in Fork-Join Queueing System. Automation and Remote Control. 2024;85(12):70–88. https://doi.org/10.31857/S0005231024120048


About the Authors

G. V. Slyusarev
North-Caucasus Federal University
Russian Federation

Gennady V. Slyusarev, Dr.Sci. (Eng.), Leading Researcher of the Department of Science, Professor of the Department of Civil Engineering and Prototyping, Institute of Advanced Engineering

2, Kulakov Pr., Stavropol, 355029

Scopus Author ID: 57205303570

SPIN-code: 7302-8244



V. P. Mochalov
North-Caucasus Federal University
Russian Federation

Valery P. Mochalov, Dr.Sci. (Eng.), Professor of the Department of Digital, Robotic Systems and Electronics, Institute of Advanced Engineering

2, Kulakov Pr., Stavropol, 355029

ResearcherID: DJP-2229-2022

Scopus Author ID: 57202300745

SPIN-code: 8695-1648



D. V. Gosteva
North-Caucasus Federal University
Russian Federation

Dar’ya V. Gosteva, programmer

2, Kulakov Pr., Stavropol, 355029

ResearcherID: NIU-1988-2025

Scopus Author ID: 57217936715

SPIN-code: 6564-6669



A new mathematical model of network switch memory operation has been developed. For the first time, a discrete transformation method for data flows is applied. Aggregated data arrivals and multistage service processes are taken into account. A complex nonlinear relationship between latency under high loads is identified. These calculations are essential for creating reliable communication networks. The results will help assess system stability under extreme conditions.

Review

For citations:


Slyusarev G.V., Mochalov V.P., Gosteva D.V. Analytical Model of the Buffer Memory of an OpenFlow Switch in a Software-Defined Network (SDN). Advanced Engineering Research (Rostov-on-Don). 2026;26(2):2221. https://doi.org/10.23947/2687-1653-2026-26-2-2221. EDN: MPFRRV

Views: 182

JATS XML


Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 License.


ISSN 2687-1653 (Online)