Note: When an application is started, the first packet transmission occurs after a delay equal to (packet size/bit rate). Note also, when an application transitions into an off state in between packet transmissions, the remaining time until when the next transmission would have occurred is cached and is used when the application starts up again. Example: packet size = 1000 bits, bit rate = 500 bits/sec. If the application is started at time 3 seconds, the first packet transmission will be scheduled for time 5 seconds (3 + 1000/500) and subsequent transmissions at 2 second intervals. If the above application were instead stopped at time 4 seconds, and restarted at time 5.5 seconds, then the first packet would be sent at time 6.5 seconds, because when it was stopped at 4 seconds, there was only 1 second remaining until the originally scheduled transmission, and this time remaining information is cached and used to schedule the next transmission upon restarting.
onOffApplication
最新推荐文章于 2024-01-03 20:04:35 发布
这篇博客探讨了应用程序启动时首次数据传输的延迟计算,以及应用在暂停和重启时如何利用剩余时间信息来安排后续传输。例如,如果应用程序在3秒时启动,1000比特的数据包以500比特/秒的速率传输,则首次传输将在5秒发生,之后每2秒传输一次。若应用在4秒停止,5.5秒重新启动,第一次传输将延迟到6.5秒,因为系统保存了剩余的1秒传输时间。
摘要由CSDN通过智能技术生成