当前位置:网站首页>An optimal buffer management scheme with dynamic thresholds paper summary
An optimal buffer management scheme with dynamic thresholds paper summary
2022-07-29 07:54:00 【Is the most powerful】
In this section , We propose a novel dynamic queue threshold scheme . We assume that the exchange module has K Ports and one B Cell buffer , By the corresponding K Port queues are shared . Make Qk(t) Indicates port queue k In time t The queue length of ,k = 1,2,...,K. Qk(t) Maybe with the port k Incoming traffic load and distribution to ports k The service bandwidth fluctuates with time . If we were to K Port queues are treated equally , To ensure buffer space B Fair sharing of , Each queue should be able to access at least B/K Buffers ( Fair share ). On the other hand , In order to make effective use of buffers , That is, to achieve the maximum diversion and sharing , When other queues do not use such buffers , Overloaded queues must be able to use any available buffer memory .
The above dual goals are achieved by serving all K Dynamically set a public threshold for queues T(t) To achieve . In our plan ,T(t) Dynamically determined by the following algorithm :
When the destination is port k Of cells in time t On arrival ,

among
, Time t Total queue length ,0 < a < 1.Tm, Represents the minimum cache threshold statically set for each queue . By default ,Tm = 0. therefore , If Qk(t) < Tnew(t) And Q(t) < B, In time t Accept arrival port k The cell of the ; otherwise , The cell is blocked . In any case , Common threshold Told The value of will be updated to Tnew(t) Value .
Please note that , stay Eq.(1) in , Parameters a Control the cache to be shared . For complete cache sharing ,a Set to 1, So when the queue is overloaded , Can achieve 100% Buffer utilization of , At the same time, the memory is shared fairly between different queues . In practice , By adjusting the equation (1) Parameters in a and Tm, It can be specially grouped for control and management 、 A small amount of buffer is reserved for the end of the message cell .
stay Eq.(1) in , When Q(t) > a * B when , The formula Tnew(t) = max(Told - 1, Tm) It can be generalized as Tnew(t) = max(Told - c, Tm), among c > 0, Although we choose c = 1. Parameters c The rate of change of the queue threshold is controlled together with the cell arrival rate .
We are Eq.(1) Lieutenant general Q0 = a * B It is defined as the target cache to be used when the queue is overloaded .Eq(1) signify : When the total queue length Q(t) Equal to or higher than the target memory usage Qo when , Dynamic queue threshold T Decrease at a rate equal to the total cell arrival rate ; Whenever the total queue length Q(t) Less than Q0 when , Arriving cells are always accepted into their respective queues , And dynamic threshold T Updated to the new queue length ( for example , Including the arrival of acceptance ) Or its current value threshold , Whichever is greater . therefore , type (1) Or you could write it as

among Qk(t) Indicates the new queue length after receiving the arrival cell .
equation (1) Sum equation (2) The scheme in is equivalent in terms of steady-state queue length threshold . For thresholds T Transient behavior of , The two schemes are equivalent to the mobile traffic model , That is, the cell arrival rate 、 Both service rate and queue length are continuous variables in time . in fact , equation (2) The representation in is more intuitive . However , equation (1) The representation in is easier to implement in the actual system . about DT programme , In steady state , Common threshold is determined by (3) give ,

among ka, 1<= ka <= K, Is the number of overloaded port queues .

In the figure 1 in , We use illustrative examples of discrete-time simulations to show how dynamic threshold schemes work by adapting to changing traffic loads . The simulation system is a 6 x 6 In exchange for , Total cache size B = 120 cell. Time to slot In units of .6 Each of the port queues is determined by ON and OFF Periodic ON/OFF Source feed . be in ON In the state of , Each source generates cells at a rate greater than the port service rate , Overload the queue ; When it is in OFF In the state of , No cells will be generated . We set for each source ON/OFF cycle , So that in different time intervals , The number of overloaded queues ranges from 1 To 6 Unequal . Six source ON/OFF Period is {(on, off)} = ((12000, 6000), (5000, 1000), (4000,3000), (3000,5000), (2000,7000), ( 1000,9000)). first , All sources are in ON state . In this case, we choose a = 1 when , Target cache usage Q0 = 120. Initially all 6 All queues are overloaded , according to (1) Algorithm in , The public dynamic threshold is 20 A cell . Pictured 1 Shown , The length of each individual queue is about 20 A unit . thereafter , Every time 1000 A time slot , until t = 5000, One of the sources enters OFF state , The number of overloaded queues ranges from 6 Reduced to 1.DT The threshold of the scheme in steady state is 24、30、40、60 and 120(cell), Respectively according to the (1) Algorithm in . chart 1 The length of each queue shown in is close to the dynamic threshold . from t = 6000 Start , Each pass 1000 A time slot , until 1 = 10000, One of the sources is open , The number of overloaded queues ranges from 1 Add to 6.DT The threshold of the scheme is 60、40、30、24 and 20, Otherwise , Single queue length also shows a similar behavior . The single queue length behavior is t = 10000 Further display after , There are different number of overloaded port queues . Please note that , stay t = 18000 when , Three sources (#1、#2、#5) open , A source (#4) Turn off . The number of overloaded queues ranges from 2 Jump to the 4.
We can see from this example ,(1) Description of the DT The scheme dynamically adapts to the traffic load in the system . It maximizes buffer usage , That is, the buffer occupancy is always the target value 120 A cell , There are any overloaded queues , At the same time, ensure the fair share of each individual overload queue ( Such as (3) Shown ).
边栏推荐
- Compare three clock circuit schemes of single chip microcomputer
- 关于pip升级损坏导致的问题记录
- 输出1234无重复的三位数
- [paper reading | cryoet] gum net: fast and accurate 3D subtomo image alignment and average unsupervised geometric matching
- Shell script - global variables, local variables, environment variables
- 技术分享| 快对讲综合调度系统
- String class
- 准备esp32环境
- 207. Curriculum
- Credit card shopping points
猜你喜欢

207.课程表
![[paper reading | cryoet] gum net: fast and accurate 3D subtomo image alignment and average unsupervised geometric matching](/img/dc/255bf122d5243f2a08ca0e03b53137.png)
[paper reading | cryoet] gum net: fast and accurate 3D subtomo image alignment and average unsupervised geometric matching

Realize the effect of changing some colors of a paragraph of text

The smallest positive number that a subset of an array cannot accumulate

Measured waveform of boot capacitor short circuit and open circuit of buck circuit

【无标题】格式保存

LANDSCAPE

2022 Shenzhen Cup Title A: get rid of "scream effect" and "echo room effect" and get out of the "information cocoon room"

【深度学习】数据准备-pytorch自定义图像分割类数据集加载

Sqlmap (SQL injection automation tool)
随机推荐
Prepare esp32 environment
In the MySQL connector of flynk CDC, the MySQL field is varbinary, which is officially
Dilworth theorem
JVM garbage collection mechanism (GC)
Access数据库引入datagridview数据后,显示错误
[cryoelectron microscope | paper reading] a feature guided, focused 3D signal permutation method for subtogram averaging
[cryoEM] Introduction to FSC, Fourier shell correlation
How can electronic component trading enterprises solve warehouse management problems with ERP system?
工业互联网行至深水区,落地的路要怎么走?
Analyze the roadmap of 25 major DFI protocols and predict the seven major trends in the future of DFI
My entrepreneurial neighbors
《nlp入门+实战:第五章:使用pytorch中的API实现线性回归》
mysql 使用 DATE_FORMAT(date,'%Y-%m')
Sqlmap (SQL injection automation tool)
@Detailed explanation of requestmapping usage
Measured waveform of boot capacitor short circuit and open circuit of buck circuit
Autojs微信研究:微信自动发送信息机器人最终成品(有效果演示)
Limitations of push down analysis
[experience] relevant configuration of remote connection to intranet server through springboard machine
Some thoughts on growing into an architect