Discuss EVDO PC Cards, ExpressCards, EVDO USB, PDAs, Phones, Coverage and Mobile Broadband Cards.
Discuss Verizon and Sprint Coverage. CradlePoint CTR350 / PHS300/ MBR1000 & Kyocera KR1 / KR2 & LinkSys WRT54G3G-ST Forums!
|
EVDOforums.com Discussion forum for EVDO users
|
Our sites Include:
EVDO Info :: EVDO Forums :: EVDO Maps :: EVDO Blog :: 3Gstore.com
To purchase your EVDO Card / Antenna / Amplifier / Router from the EVDO Experts, just contact us!
| View previous topic :: View next topic |
| Author |
Message |
nick EVDO Newbie
Joined: 21 Mar 2006 Posts: 8
|
Posted: Mon Mar 27, 2006 9:41 pm Post subject: Patched 2.6.10 but still slow with 5740. Help? |
|
|
Hi
After reading with interest the instructions at
http://kenkinder.com/evdo-pc5740/
and
http://www.evdoforums.com/viewtopic.php?p=6180#6180
I patched my kernel and reloaded and while I can still connect, I am running at about 110kbps under Linux while running at 300 kbps under WinXP.
I'm loading:
sudo modprobe ohci_hcd
sudo modprobe usbserial vendor=0x106c product=0x3701 maxSize=16384
sudo modprobe cdc_acm maxszr=16384 maxszw=2048
File: /etc/ppp/peers/1xevdo:
ttyACM0
#115200
9600
noauth
defaultroute
usepeerdns
connect "/usr/sbin/chat -v -f /etc/chatscripts/1xevdo"
user "xxxxxxxxxx@vzw3g.com"
show-password
lock
lcp-echo-failure 4
lcp-echo-interval 65535
connect '/usr/sbin/chat -v -t3 -f /etc/ppp/peers/1xevdo_chat'
File: /etc/ppp/peers/1xevdo_chat
ABORT 'NO CARRIER'
ABORT 'ERROR'
ABORT 'NO DIALTONE'
ABORT 'BUSY'
ABORT 'NO ANSWER'
'' ATZ
OK-AT-OK ATDT#777
TIMEOUT 45
CONNECT \d\c
Can anyone suggest any thing I can change?
Thanks in advance,
nick |
|
| Back to top |
|
 |
tz1 EVDO Junkie
Joined: 29 Sep 2005 Posts: 427 Location: http://kr1gps.dyndns.org:8888/
|
Posted: Tue Mar 28, 2006 7:08 am Post subject: |
|
|
http://www-128.ibm.com/developerworks/linux/library/l-hisock.html
There can also be an MTU/MRU mismatch slowing things, as well as your system as a whole - which browser (if you use a text browser like lynx it might be faster), if you have firewalling or a proxy which has to examine the packets first...
And how are you determining speeds? |
|
| Back to top |
|
 |
nick EVDO Newbie
Joined: 21 Mar 2006 Posts: 8
|
Posted: Tue Mar 28, 2006 8:34 am Post subject: |
|
|
Thanks for the helpful reply!
> http://www-128.ibm.com/developerworks/linux/library/l-hisock.html
Thanks. Interesting and raises another question, below, but first let me answer the basic questions which I should have stated in the first post:
>There can also be an MTU/MRU mismatch slowing things
Sorry, I don';t know how I would tell if this were the case, can you help me a bit further?
>as well as your system as a whole - which browser (if you use a text browser like lynx it might be faster),
I tested using Firefox 1.5 and the method I used was utterly unscientific: first using FF1.5 under Windows XP and the same card then under Linux, neither using host based firewalls nor proxies. To determine speed I used two commercial testing sites, Cnet's Broadband testing http://reviews.cnet.com/7004-7254_7-0.html and BBR http://www.dslreports.com/stest?loc=1.
Now. In the document you sent it refers to the Sockets API and my ability to adhust the socket receive rate from the default linux setting of 110KB to the more appropriate 625KB which sure sounds right on to me. However the fix is beyond my understanding:
| Code: | The Sockets API provides several socket options, two of which exist to change the socket send and receive buffer sizes. Listing 2 shows how to adjust the size of the socket send and receive buffers with the SO_SNDBUF and SO_RCVBUF options.
Listing 2. Manually setting the send and receive socket buffer sizes
int ret, sock, sock_buf_size;
sock = socket( AF_INET, SOCK_STREAM, 0 );
sock_buf_size = BDP;
ret = setsockopt( sock, SOL_SOCKET, SO_SNDBUF,
(char *)&sock_buf_size, sizeof(sock_buf_size) );
ret = setsockopt( sock, SOL_SOCKET, SO_RCVBUF,
(char *)&sock_buf_size, sizeof(sock_buf_size) );
|
That is great, but, uh, where do I do this? In the 1xevdo or 1xevdo_chat script? Or somewhere else?
Thanks in advance!
Nick |
|
| Back to top |
|
 |
nick EVDO Newbie
Joined: 21 Mar 2006 Posts: 8
|
Posted: Tue Mar 28, 2006 5:48 pm Post subject: |
|
|
In researching further I see a couple of articles such as the one here and here saying basically the same thing:
| Code: | The default Linux tcp window sizing parameters sucks.
The short fix [wirespeed for gigE within 5 ms RTT and fastE within 50 ms RTT]:
in /etc/sysctl.conf
net/core/rmem_max = 8738000
net/core/wmem_max = 6553600
net/ipv4/tcp_rmem = 8192 873800 8738000
net/ipv4/tcp_wmem = 4096 655360 6553600
It might also be a good idea to increase vm/min_free_kbytes, especially
if you have e1000 with NAPI or similar. A sensible value is 16M or 64M:
vm/min_free_kbytes = 65536 |
Sadly though after doing this and then running sysctl -p my speed has only increased by ... Well, it's exactly the same.
Were the comments in the other post, above, intended to be added and compiled into the kernel>? I'm happy to recompile a kernel to fix the problem but wonder whether this is the right way to go?
Thanks again in advance,
Nick |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
 Sprint Rev A USB: Compass 597
 Sprint Rev A ExpressCard: Merlin EX720
 Purchase an V740 Rev A ExpressCard
 Sprint U727
 CTR350 Router
 CradlePoint PHS300
 Purchase a MBR1000
 Purchase an EVDO Booster Antenna
 Purchase a LinkSys 3G Router
 Purchase an EVDO Amplifier
 Your Mac EVDO Experts
|
|