Stanford CS 144 Note 22 - Useful queue properties in Packet Switching

Queue的一些有用的特性

Arrival process在像网络这样的系统中往往是非常复杂的,因此可以把它看作random process

The study of queues with random process is called queuing theory

当在某个interval中间的departure因为在这段时间内没有新的packet进入到queue,称作shadow departure(圈出的虚线箭头)

It's a departure opportunity that we could have sent a packet,but we didn't since the queue is empty

1. Burstiness increases delay(Bursty arrivals)

如果假设 packet follow a periodic arrival (1 packet per second)

Average occupancy of the queue will always be equal or less than 1

如果假设 packet follow a bursty periodic arrival (N packet per N second 但是聚集在一起)

因此即使rate不变,只是改成bursty arrival

Average occupancy of the queue will be much higher,and the variance of Qt will increase 

 

2. Determinism minimize delay

(i.e. random arrival waits longer on average)

3. Little's result

 L - Average number in the queue

lambda - arrival rate

d - average delay

Poisson Process

Why poisson process?

aggregation of many independent random events 

makes the math easier 

几个需要注意的问题

 

Example (M/M/1 Queue)

连续马尔可夫链

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值