LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-14-2014, 09:05 AM   #1
Pedroski
Senior Member
 
Registered: Jan 2002
Location: Nanjing, China
Distribution: Ubuntu 22.04
Posts: 2,151

Rep: Reputation: 73
slow internet and Linux


Hi! Here I sit in Nanjing, China. I wanted to buy a flight to Germany. I start Fedora 20. Start Firefox, and look up Lufthansa. The web page is very slow loading after I enter the airport and date details.
My girlfriend said, "Use my computer, it's faster than Linux."
I said, we are using the same internet connection, how can your internet be faster than my internet?"
I sit and wait. She calls me, "Come and look baby, I have the flight details." Linux is still loading. We check out the best times and days, buy the flight on her (Windows) computer. I come back to my laptop. Still no flight details loaded.

Any ideas why Win is so much quicker? I have often complained about slow internet, but then, I never use Win. Chinese Win seems very invasive, pop-ups everywhere. But you don't have to wait 2 hours for a webpage to load.

Is there a (Linux) reason for this difference???
 
Old 05-14-2014, 09:57 AM   #2
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,326

Rep: Reputation: 919Reputation: 919Reputation: 919Reputation: 919Reputation: 919Reputation: 919Reputation: 919Reputation: 919
maybe that particular site has some active-x or asp specific enhancements that only windows can exploit. i would try bench-marking a few other popular sites. i would also try another distro live-usb to see if it is different.

also maybe the great firewall of china is doing something to your browser (maybe set your browsers user-agent to match windows and see if that changes anything.

peculiar...
 
Old 05-14-2014, 10:24 AM   #3
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,914
Blog Entries: 13

Rep: Reputation: 4948Reputation: 4948Reputation: 4948Reputation: 4948Reputation: 4948Reputation: 4948Reputation: 4948Reputation: 4948Reputation: 4948Reputation: 4948Reputation: 4948
Hi Pedroski,

I think there are a lot of variables here to consider. The computer's capabilities as well as workload, their network connections, as well as the browser settings and add-ons.

Computers: Are they identical, or is one more capable than the other one? More capable would be faster CPU, more RAM. Are both systems doing similar things; for instance were they both doing nothing other than running the web browser to book your air travel? Or was one doing other things too, like editing a document, compiling code, playing a movie? That's just stuff to consider; how "loaded" up is a given system?

Network connection: Are one or you wireless or plugged directly in via an Ethernet cable? For instance the wired in Ethernet cable is likely always going to be faster than WIFI. You should also understand the specifics about the network connections for each computer. One may be wired Ethernet at 100 MBps and the other one may be as bad as 802.11 "legacy" which can be as low as 1 MBps.

The browser: Windows is Internet Explorer; however one can install other browsers there. Similarly you can install other browsers in Linux. You can also install ad blockers, pop-up blockers, script controllers, and so forth. Say the browser on Linux has a lot of that stuff configured or installed and as a result it inhibits that page from loading because that particular page does a lot of data mining or runs scripts. In that, the question then becomes; "Did it ever finish loading?" Because maybe it only went so far because you block scripts and it will never fully load until you allow scripts for that page, at least temporarily. All or none of this may apply, I think it really matters how you've configured your browser and what protective add-ons you may have installed.

In summary, I do not believe there is a Linux reason here. Linux and Windows are both operating systems; they have their merits as well as drawbacks. I think the difference her lies in one or all of the properties I'm mentioning above.
 
Old 05-14-2014, 11:33 AM   #4
Pedroski
Senior Member
 
Registered: Jan 2002
Location: Nanjing, China
Distribution: Ubuntu 22.04
Posts: 2,151

Original Poster
Rep: Reputation: 73
The girlfriend uses Win 7 and google chrome, I use Firefox and Ubuntu or Fedora. She was using wireless, I was using cable. Neither of us were doing anything else.

How do I set Firefox to look like IE or Win??
 
Old 05-14-2014, 02:03 PM   #5
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,914
Blog Entries: 13

Rep: Reputation: 4948Reputation: 4948Reputation: 4948Reputation: 4948Reputation: 4948Reputation: 4948Reputation: 4948Reputation: 4948Reputation: 4948Reputation: 4948Reputation: 4948
I did a quick search and there are old answers saying that vbscript and active-x are proprietary Microsoft things. Firstly I can't believe that there haven't been some parallel capabilities incorporated into other browsers to satisfy those technologies. The answers were like 2009, 2005; like I say old answers. In the meantime, I find it unbelievable that a website would rely and require solely Microsoft only capabilities in this day and age; if it were the case that still no other browsers can support active-x or vbscripts.

As far as making firefox be the same as IE? I don't know, sarcastically ... remove all protections and capabilities which are there normally to protect you from intrusion and malware and then that will make it like IE. Maybe a better way is to do what was suggested by schneidz where you profile a couple of websites, and further install the same browser on both computers and try that. Even so, I'm betting that a Linux based Firefox install and a Windows based Firefox install may be subtly different insofar as settings.

And then all I can say is if I have trouble loading a website via Firefox, I allow all scripts to run temporarily for a given page and that typically makes it work for me. The question then becomes whether or not I approve of how much that website is trying to run. I'm betting that an airline wants to shove a ton of advertisements in your face. Meanwhile my bank also does require scripts, but fewer of them and I tend to trust their website needs "intentions" a bit more than a trust some place you go to buy stuff.
 
Old 05-14-2014, 02:11 PM   #6
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,326

Rep: Reputation: 919Reputation: 919Reputation: 919Reputation: 919Reputation: 919Reputation: 919Reputation: 919Reputation: 919
last year orbitz would charge mac users higher airline tickets:
http://abcnews.go.com/Travel/mac-use...ry?id=16650014

so it wouldnt be out-of-the-ordinary for a website that sells stuff to look at your cookies/user-agent and populate results accordingly. maybe the programming in their site doesnt contain a default setting (for the rare linux user) so that it loops continually between:
Code:
if windows
then
 ...
elseif mac
then
 ...
my suspician is that they are using some sort of ad blocker in firefox therefor the site is mad that it cant render ads and eventually times out ?
 
Old 05-14-2014, 05:12 PM   #7
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142
Or it could be as simple as a faulty Ethernet cable, NIC, or router port that your machine is using.

Have you tried running bandwidth tests on both machines? You should narrow the problem down - are ALL websites slower on your Linux box or just THIS website?

If it's not a hardware fault, my guess is it's a plugin on that site that's pissed off at your web browser. It happens all the time, on Linux, Mac, and Windows (though more-so on Linux since developers typically don't test their sites' behavior as well or at all on Linux).

Last edited by suicidaleggroll; 05-14-2014 at 05:14 PM.
 
Old 05-14-2014, 06:32 PM   #8
Pedroski
Senior Member
 
Registered: Jan 2002
Location: Nanjing, China
Distribution: Ubuntu 22.04
Posts: 2,151

Original Poster
Rep: Reputation: 73
Well, the funny thing is, I loaded the exact same lufthansa.com page the day before, to check out the flights and prices. It loaded ok. Yesterday, I could not load bbc.co.uk to read the news. I started my vpn, but still couldn't load it. I contacted Astrill, but they couldn't solve the problem. Today, the bbc loads fine. Now I can't load lufthansa.com! Weird!Also, on the computer at work yesterday, I could read the bbc news and check out the flights on various airline sites.

If my laptop has a hardware problem, why would that be only for certain sites. linuxquestions.org and all the other 20 tabs I always have open load fine! Even gmail loads. The govt here block gmail in a running battle with google. If I ping 8.8.8.8, which is google I believe, the first 2 pings are ok, the rest get "lost"

I will start Ubuntu, see if the problem persists.
 
Old 05-14-2014, 09:35 PM   #9
Pedroski
Senior Member
 
Registered: Jan 2002
Location: Nanjing, China
Distribution: Ubuntu 22.04
Posts: 2,151

Original Poster
Rep: Reputation: 73
Well, I find, if I use Ubuntu, I cannot load the BBC at home. I can on my computer at work using the same Ubuntu. If I start Fedora 20, I can load the BBC, but not lufthansa.com

I have no explanation for this. I will start Windows and see what that does.
 
Old 05-15-2014, 12:17 PM   #10
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,326

Rep: Reputation: 919Reputation: 919Reputation: 919Reputation: 919Reputation: 919Reputation: 919Reputation: 919Reputation: 919
maybe dns issues... maybe you can try with ip-address.
 
Old 05-15-2014, 12:25 PM   #11
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142
I once encountered a similar problem where some distros and some websites would work fine, while others would never load. My problem ended up being caused by a broken TCP window scaling implementation in the router. I ended up turning off TCP window scaling on the computer and everything cleared up.

You could try running
Code:
sysctl -w net.ipv4.tcp_window_scaling=0
to see if that clears up the problem. If so, you can make the change permanent in sysctl.conf.
 
Old 05-15-2014, 06:38 PM   #12
Pedroski
Senior Member
 
Registered: Jan 2002
Location: Nanjing, China
Distribution: Ubuntu 22.04
Posts: 2,151

Original Poster
Rep: Reputation: 73
Thanks for that. Tried it, but it didn't work. I cannot access lufthansa.com from Fed 20, but it works in Ubuntu. The BBC is accessible from Fed 20

In Fed 20 I get this (almost blank)page:

http://202.102.110.207/error/

It says (Chinese) 网站维护中 = website defence hit

Any ideas what that is about
 
Old 05-15-2014, 07:23 PM   #13
Pedroski
Senior Member
 
Registered: Jan 2002
Location: Nanjing, China
Distribution: Ubuntu 22.04
Posts: 2,151

Original Poster
Rep: Reputation: 73
At work, right now, I get redirected to

http://404.union77.com/?city=nj some kind of Chinese search engine, when I enter lufthansa.com
 
Old 05-15-2014, 08:52 PM   #14
ericson007
Member
 
Registered: Sep 2004
Location: Japan
Distribution: RHEL9.4
Posts: 735

Rep: Reputation: 154Reputation: 154
20 open tabs on an older computer will make things slow. My wife also complains internet is slow on an old atom, but she always has 3 firefox browsers open each with a minimum of 15 tabs.

Try reducing tabs and for those funny sites, it is definitely the chinese firewall or dns settings, the last 2 posts would be the former and the last post the later.
 
Old 05-16-2014, 01:20 AM   #15
Pedroski
Senior Member
 
Registered: Jan 2002
Location: Nanjing, China
Distribution: Ubuntu 22.04
Posts: 2,151

Original Poster
Rep: Reputation: 73
Well, I am in my office right now. I closed all other tabs in Firefox. Using Fedora 20 on my Toshiba C600D laptop via our office network, I cannot open lufthansa.com. I removed all cookies, and tried. However, my office computer using Ubuntu loads lufthansa.com immediately. Both computers are connected to the same router. Also, I can load lufthansa.com at home using Ubuntu.

Can anyone explain that? If my hardware is faulty, both systems should throw up the same problem. If this is a dns problem, why does the office computer load the page?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Why is my internet slow in linux? Manish87 Linux - Newbie 12 05-28-2010 05:51 AM
Slow internet with Linux only? auzreal187 Slackware 18 06-09-2008 08:01 AM
New Fedora Internet connection slow slow slow matrim Fedora 9 07-29-2005 02:39 PM
slow internet on linux imtiaz77 Linux - Networking 2 03-07-2005 08:17 PM
Slow Internet- New to Linux saxblue Linux - Networking 14 12-18-2004 12:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration