
嵌入式Internet 中Nagle 算法及其应用研究
Nagle algorithm and its application research in embedded Internet
Wang Baobao、Yu Shiming、Wang Zhenyu
嵌入式Internet 中使用短帧数据包,使得网络带宽的利用率极低,拥塞发生的可能性加大。标准transmission control protocol(TCP)协议中应用Nagle 算法减少短帧数量。通过ARM7 32 位micro control unit(MCU)和上位机personal computer(PC)构建嵌入式Internet 网络,分析Nagle 算法的原理和工作机制。针对嵌入式系统中Nagle 算法和上位机延迟确认策略交互产生的暂时性“死锁”问题,提出了在不修改Nagle算法的基础上,通过提高采样频率或者填充缓冲区的方法来避免暂时性“死锁”。测试表明,该方案是有效可行的。
The existence of small packets in embedded Internet lead to low bandwidth efficiency and even congestion. The Nagle algorithm was applied by standard transmission control protocol(TCP)protocol to reduce the number of small packets. The paper builds embedded Internet network based on ARM7 32 bits micro control unit(MCU)and personal computer(PC), analyses the principle and working mechanism of Nagle,and suggests an approach to resolve the temporary“deadlock”created by the interaction between the Nagle algorithm and the delayed ACK policy without modifying the Nagle algorithm through improving sampling frequency or filling the buffer in embedded system. The experimental results indicate that this approach is effective and reliable.
Nagle算法 / 死锁 / 延迟确认策略 / ARM7 / 嵌入式Internet
Nagle algorithm / deadlock / delayed ACK policy / ARM7 / embedded Internet
/
〈 |
|
〉 |