SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
currently on an ADSL connection using slackware-current, but with some websites the ones i've noted www.ft.com and www.londonstockexchange.com after switching to a different kernel these websites get really sluggish and takes ages to load its pages, however on rebooting the router these websites load as normal until i switch kernels...
I read somewhere that there is a kernel feature that will dynamically change a window the IP protocol uses. This feature should improve performance and is based on an RFC standard. The problem according to a couple posts that I read, is that some Windows based gateways don't handle this properly and throttle way down.
I'm sorry I don't remember which feature this is. Perhaps googling, you would find out. I do remember that the feature can be disabled by echoing a 0 to the appropriate /proc/net/<whatever> special file. So if this is the problem, you can simply add an echo command in a boot script to fix it rather than having to recompile the kernel.
Even if this isn't the answer, you might also zcat the /proc/config.gz file ( e.g. zcat /proc/config.gz > ~/config1) for each of the kernels, and examine both kernel configurations for features in the networking area. This may point to a solution.
Maybe if you use nmap. However, there may be more than one gateway until your source is reached. Perhaps using routemap can provide more clues. I still don't remember which configuration option it was. The easiest solution would be to disable it when booting using an echo 0 > /proc/<target> type command.
I don't think it is a matter of whether your IP options are configured as modules or not. I believe it depends on whether a certain feature is enabled or disabled. I wish I could remember what this was, because I can't find it any more on Google. It may even be a feature that has been dropped, and I'm on a totally wrong track. ---- I did some more Googling. Something about TCP_WINDOW_SCALING sounded familiar. http://forums.suselinuxsupport.de/lo...hp/t11895.html
Quote:
# Turn off the tcp_window_scaling if you have networking # with systems behind broken routers, otherwise keep it on (default) net.ipv4.tcp_window_scaling = 1
----
Ok, this feature isn't present in 2.6 kernels. I don't know which kernel you are using.
If both kernels are 2.6, then I've been climbing up the wrong tree.
did run sysctl -a before and after the reboot of the router to check for differences and the only difference was in ip_conntract_count after a few other checks it is unreliable as it seems to vary on network use.
is there a command that i can run to check the changes in the network related modules, configurations etc before and after rebooting the router as this way i might be able to narrow it down to something and work on it...
I'm not at my computer right now. There is a perl script called Sitar ( I hope I spelt that correctly ) that can gather tons of information on your computer and make a report. I believe that you can fine tune the output to deal only with IP related information.
Also, there are the sysctl -a and sysctl -p commands. ( I'm not at my computer and could be remembering 2.4 stuff ) You can use them to report rather than change options. You can also dump out the running ip_tables setting. The chkconfig program can also report back a lot.
If it's only the /proc/net/... values you are looking for, you could write a script that cats the readable values to a file, then use "diff" after you run it again to spot any differences.
Also, use zcat on each kernel to produce a config file for that kernel, e.g.:
zcat /proc/config.gz >~/config-$(uname -r).
This would be potentially more fruitful to compare values between an effected kernel and a non effected one.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.