OpenWrt Forum Archive

Topic: SuperCharged EVDO - Free Performance Tip good for wrt54g3g

The content of this topic has been archived on 6 May 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

in the evdo forum
http://www.evdoforums.com/thread504-0-asc.html

they say that you can make your wireless card faster if you use this tip. Now I did try this when I had the card connected to a laptop and it worked very well. I played around with the variables in cable nut and used this setting until I got a very fast speed.
However now the card is in a wrt54g3g router running white Russian 0.9 I think. It connects but was wondering if there is a place where I could put in settings like this so that it could be tweaked
i would need to make this happen
TCP Receive Window Size = 65536
which is the heart of this tip for these type of cards.
Anyway to get into the guts of white russian and "make it so"?

These settings are in the Linux kernel. The TCP window scaling should be enabled and it tunes the window size within limits set in the /proc/sys/net/core/ files below:

rmem_default , rmem_max   (for reads)

wmem_default , wmem_max  (for writes)

on my Kamikaze and Whiterussian routers these appear to be set to 32767/32767, whereas a Fedora workstation has 111616/131071.

The downside to increasing these values is that individual sockets can take more kernel memory, which could become an issue on your router with its small RAM size if you have many connections open. But you can just echo a larger value into those files e.g. "echo 131071 > /proc/sys/net/core/rmem_max; echo 131071 > /proc/sys/net/core/wmem_max" to try it out.

NOTE: these settings only matter on the endpoint hosts of your TCP connections. If you are trying to get better performance from a computer on your LAN to a server on the Internet, it is your computer and the server which need to enable large TCP windows. There is no need to make any change on the router unless you are opening connections between the router and a remote server.

err, ok, I am kind of a noob at this, do you think the setting would help?

It looks like implementing this would be just above my skill level at the moment but thats never stopped me before.

can you post the same tip in english? jk

Just looking to get a little more wireless performance out of this card. Sometimes the streaming jerks a little bit.

Anyway thanks

(Last edited by timjordan on 13 Feb 2008, 19:28)

err i looked up that file but am not sure what to do with it. Is there anyway to make this any easier? Is it even worth doing?

To make persistent changes to /proc/sys/ values, place the respective entries in /etc/sysctl.conf
for example:

net.core.rmem_max=65536

These will be set on boot by /etc/init.d/sysctl

I am just asking but on a practical level (really s l oooo wwww) could someone explain how to edit this file and put in the 65536 value. I have poked around but I am a lowly old windows user. Linux stuff is brand new to me.

Hey this trick works GREAT!!!!

No more jerky movies comming through on my router.

heres what i did.

I opened my router properties at 192.168.1.1

loggged in with my password

Went to SYSTEM

then FILE EDITOR

Edited this file

/etc/init.d/sysctl

Added this line

net.core.rmem_max=65536

at the end of the file, clicked apply then save,

After I did this I rebooted the router, Suddely the jerkiness and hesitation of the internet went away. I hope I did this right but if this is a dream don't wake me. This is like about three times better than what i had before. All the jerkiness is gone and it was there before the reboot.

try it

signsoftheend.blogspot.com
thingsgodtaughtme.wordpress.com
jesusanswerspreayers.wordpress.com

okay so my ping on speedtest.net is 209 ms for 50 miles and my download is 1302 kb/s and my upload is 419 kb/s
is this any good?

I am using cable nut and using the router settings above and also

http://www.dslreports.com/r0/download/1 … nt.ccs.zip

in my cable nut.

Let me know if this is any good, I have a verizon card evdo and putting though a linksys router, then wired connection to my computer

The discussion might have continued from here.