博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Tuning PPP over 2G GPRS: MRU and MTU
阅读量:2441 次
发布时间:2019-05-10

本文共 2415 字,大约阅读时间需要 8 分钟。

From:

 

MTU & MRU seem to have a drastic effect on usability, but I've not seen this discussed for GPRS.

This is just a quick note to report a drastic improvement in the usability of GPRS on Linux in 2G service areas (GSM not UMTS) by setting small values for PPP's MTU and MRU parameters.

 

I have made a quick post to the PPP board on the Pharscape.org forums, to see whether anyone knows a bit more....


Update Feb 01. 2007: Tests using Linux KPPP with a Vodafone SIM card (APN: 'internet'), both on a 2G GSM phone and in an Option Fusion GT+ datacard, suggest that Vodafone 2G GPRS doesn't need you to tweak the MTU + MRU. So either Vodafone is doing this automatically, or there's something about their UK network that makes this unnecessary.

 

By contrast, TMUK's 2G GPRS network (APN: 'general.t-mobile.uk') doesn't work properly unless you adjust MTU + MRU.

 

I've tried un-commenting 'debug' (and setting 'kdebug' to 1) in /etc/ppp/options in order to see PPP option negotiations in /var/log/debug, but although this shows a lot of stuff, it doesn't show MTU + MRU being negotiated. If I get time I'll try setting 'kdebug' to 5, but I think that will just show data packets as well.

Posted: Mon Jan 29, 2007 1:13 am     Post subject: Tuning KPPP for 2G GPRS Are there any rules of thumb for this? Some quick tests of my own suggest that MRU / MTU really benefit from tweaking! This is with T-Mobile UK using a Novatel Wireless EU740 card in a non-3G service area. With default settings in KPPP: (only parameter set = "novj") ======================================= - pings work OK - but web access is almost unusable - logs show few requests reach the web server - Wireshark shows lots of repeated HTTP GET requests every few secs With mildly optimised settings in KPP: ======================== - Settings: "novj", "mru 296", "mtu 296" (nothing magic about these numbers, but "man pppd" suggests them for very slow links) - Ping times much the same - Now the web is MUCH more usable! Not quick, but fairly predictable. I'm posting this over 2G GPRS. Page fetch requests don't time out, they just take a while. Presumably this setting will reduce the speed in 3G service areas, but I guess it's probably worth it to make this thing usable. I'd be very grateful for your thoughts! And for any more tweaks, Cheers _________________ -- Martin. (Novatel Wireless EU740 on T-Mobile UK, Kubuntu Edgy Eft 2.6.17-10-generic)

转载地址:http://xhbqb.baihongyu.com/

你可能感兴趣的文章
JBuilder Editor中光标不能正确定位问题的解决 (转)
查看>>
XML加ASP实现网页“本地化” (转)
查看>>
Java中的异步网络编程 (转)
查看>>
用于核心模式驱动程序的网络体系结构(1) (转)
查看>>
More Effective C++ 条款20 (转)
查看>>
一个程序员的爱恋 (转)
查看>>
足球战术->边锋之Decorator篇 (转)
查看>>
编写优质无错代码(1) (转)
查看>>
MySQL 4.1.0 中文参考手册 --- 6.3 用于 SELECT 和 WHERE 子句的函数 (1) (转)
查看>>
vs.net beta 2中利用DataGrid分页详解 (转)
查看>>
Process-Display-Process (PDP) pattern (转)
查看>>
基于构件复用的软件方法与COM支持 (转)
查看>>
DELPHI中使用API函数详解 (转)
查看>>
Single Entry Point to EJB Layer (转)
查看>>
InsideJVM(3)--Method area(方法区) (转)
查看>>
中文版Windows XP 的新增功能(转)
查看>>
Web Application 開 發 利 器 - WebSnap(三) (转)
查看>>
跟我学 安装Windows Vista Bata2实录(转)
查看>>
Windows Vista IIS 7.0开启方法(转)
查看>>
Windows Vista六大版本详细介绍(转)
查看>>