Fix for www.nationwide.co.uk slowness on Linux
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Plusnet Community
- :
- Forum
- :
- Other forums
- :
- Tech Help - Software/Hardware etc
- :
- Re: Fix for www.nationwide.co.uk slowness on Linux
Fix for www.nationwide.co.uk slowness on Linux
22-06-2013 6:49 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
I thought the problem may have gone away on its own last time I checked their website, but just now I saw the 4MB 2013 annual report pdf downloading at an entire 1.76KB/s - dialup speed!
In order to download the 4MB pdf in somewhat less than 37 minutes, I disabled TCP window scaling (as root):
# echo 0 > /proc/sys/net/ipv4/tcp_window_scaling
I turned it back on afterwards:
# echo 1 > /proc/sys/net/ipv4/tcp_window_scaling
Re: Fix for www.nationwide.co.uk slowness on Linux
23-06-2013 8:29 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Re: Fix for www.nationwide.co.uk slowness on Linux
23-06-2013 8:31 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
(not yours, theirs!).
At any given moment in the universe many things happen. Coincidence is a matter of how close these events are in space, time and relationship.
Opinions expressed in forum posts are those of the poster, others may have different views.
Re: Fix for www.nationwide.co.uk slowness on Linux
24-06-2013 11:41 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Just checked the 2 ip's and the 2nd crawled down the screen the 1st was normal.
Have you posted the problem to the webmaster?
Re: Fix for www.nationwide.co.uk slowness on Linux
24-06-2013 11:45 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Always wondered why sometimes it's ok and sometimes it's slow
Quote Further investigation: www.nationwide.co.uk has 2 IP addresses, 155.131.31.10 works fine, 155.131.127.10 is the bad one.
Superusers are not staff, but they do have a direct line of communication into the business in order to raise issues, concerns and feedback from the community.
Re: Fix for www.nationwide.co.uk slowness on Linux
24-06-2013 11:50 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Re: Fix for www.nationwide.co.uk slowness on Linux
24-06-2013 12:01 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Superusers are not staff, but they do have a direct line of communication into the business in order to raise issues, concerns and feedback from the community.
Re: Fix for www.nationwide.co.uk slowness on Linux
24-06-2013 6:47 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
I think this is adequate to disable tcp window scaling for a particular IP:
iptables -t mangle -A OUTPUT -m tcp -p tcp --syn -d 155.131.127.10 -j TCPOPTSTRIP --strip-options wscale
Edit: optimized iptables rule by adding --syn
Re: Fix for www.nationwide.co.uk slowness on Linux
25-08-2013 12:36 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
$ cat /proc/sys/net/ipv4/tcp_window_scaling
1
Must be more to it than that.
Re: Fix for www.nationwide.co.uk slowness on Linux
25-08-2013 1:00 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Plusnet Community
- :
- Forum
- :
- Other forums
- :
- Tech Help - Software/Hardware etc
- :
- Re: Fix for www.nationwide.co.uk slowness on Linux