LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-05-2013, 12:23 AM   #1
Aquarius_Girl
Senior Member
 
Registered: Dec 2008
Posts: 4,731
Blog Entries: 29

Rep: Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940
Red face IT people in our company say that internet runs slower on Linux as compared to Windows!


Firstly, I am NOT any system/networking administrator, nor I even
intend to become one.

Three times till date the internet in our company has slowed down -
to the level that on my Linux machine I simply cannot get to the
login page of Gmail, but when I try to access Gmail from any of the
Windows machine in our company - there isn't any speed problem.

Now, when I complained to the IT people here, they told me that
internet runs faster on Windows as compared to Linux so they it is
not their fault!!

What information should I present here for you to help/enlighten
them/me?

Last edited by Aquarius_Girl; 01-05-2013 at 01:03 AM.
 
Old 01-05-2013, 12:33 AM   #2
shivaa
Senior Member
 
Registered: Jul 2012
Location: Grenoble, Fr.
Distribution: Sun Solaris, RHEL, Ubuntu, Debian 6.0
Posts: 1,800
Blog Entries: 4

Rep: Reputation: 286Reputation: 286Reputation: 286
Did you check the same from any other linux machine? Have you been facing it for a long time or just for hours/days?

I have Linux installed on a VM on Windows 7 host, but my personal internet runs much better in Linux compare to host Windows 7.

So this could be a problem with your PC only. Once check gmail and internet speed using any other Linux machine.

BTW, You can use tool like "http://www.speedtest.net/" to check internet speed on both OS, but make sure that it's allowed in your company.

Last edited by shivaa; 01-05-2013 at 12:37 AM.
 
Old 01-05-2013, 12:35 AM   #3
Aquarius_Girl
Senior Member
 
Registered: Dec 2008
Posts: 4,731

Original Poster
Blog Entries: 29

Rep: Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940
Quote:
Originally Posted by shivaa View Post
So this could be a problem with your PC only.
What kind of problem?
Currently there isn't any other Linux machine around me to access.
 
Old 01-05-2013, 12:38 AM   #4
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 3,339

Rep: Reputation: Disabled
What error message, if any, do you get?

Is your system configured to fetch an IP address via DHCP, or it it configured manually?

Are you using the same DNS server as the Windows PCs?

Are either your system or the Windows PCs accessing the Internet through a proxy server?

Is IPv6 enabled on your Linux system?

The claim that "the Internet works slower" on Linux systems is, as you've probably guessed, nonsense. If all Linux systems are slower than the Windows systems in the same network, there must be configuration or network issues somewhere.
 
2 members found this post helpful.
Old 01-05-2013, 12:47 AM   #5
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
That's silly -- it sounds to me like your IT people are just trying to avoid having to do work to figure out what is wrong.

That being said, your Ethernet card could be dodgy or its driver could be buggy. Do you see lots of packet errors if you do "ifconfig"? What model NIC are you using and what is your interface speed? Can you ping both an internal computer and e.g. www.google.com to see if the problem is local to your network or beyond it?
 
2 members found this post helpful.
Old 01-05-2013, 12:49 AM   #6
shivaa
Senior Member
 
Registered: Jul 2012
Location: Grenoble, Fr.
Distribution: Sun Solaris, RHEL, Ubuntu, Debian 6.0
Posts: 1,800
Blog Entries: 4

Rep: Reputation: 286Reputation: 286Reputation: 286
Problem could be with your browser or system itself. I guess you're using mozila web browser. So for basic troubleshooting, clear histroy, cookies, form data etc. from it (use Tools > 'Clear recent history' option > Choose 'everything' option > OK) and restart the browser, and check the speed again.
 
1 members found this post helpful.
Old 01-05-2013, 01:10 AM   #7
AnanthaP
Member
 
Registered: Jul 2004
Location: Chennai, India
Posts: 952

Rep: Reputation: 217Reputation: 217Reputation: 217
In addition to what shivaa said, I would also check how the browser caches pages. Login page could be cached on a win system and not so on a linux system.

OK
 
1 members found this post helpful.
Old 01-05-2013, 05:07 AM   #8
larvel
LQ Newbie
 
Registered: Jun 2012
Posts: 29

Rep: Reputation: Disabled
If connected to the same network with both wireless and cable we have found that sone distros try to bridge the connections.At the same time we had trouble with our wireless making linuxmachienes browsing very slowly.
 
Old 01-05-2013, 07:34 AM   #9
johnsfine
LQ Guru
 
Registered: Dec 2007
Distribution: Centos
Posts: 5,286

Rep: Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197
Quote:
Originally Posted by Ser Olmy View Post
Are you using the same DNS server as the Windows PCs?
I wanted to highlight that suggestion so it isn't lost in the noise of the other suggestions.

Obviously I can't be sure, but based on the described symptoms I think the chances are greater that the cause is a slow DNS server than all other possibilities combined.

On a windows system, use the command
ipconfig /all

On your Linux system, some of the corresponding info is available from the command
/sbin/ifconfig -a
other info from
cat /etc/resolv.conf

Try comparing the Windows info to the Linux info and see if any differences appear significant.

I just tried that on a Windows and Linux system at work, just with the intent of making sure I was giving you the right commands. The two DNS servers listed for Windows here are completely disjoint from the three listed for Linux. I will ask our IT about that on Monday. I don't think the difference was intentional. Another possibility is the info in my /etc/resolv.conf is obsolete and the Linux system actually gets its DNS info elsewhere. Some of that is pretty strange on the network here. Maybe some actual expert should comment on whether my suggestion that you look in /etc/resolv.conf is a good suggestion.

Edit, another command to try:
host -v gmail.com
Look at the bottom line where it tells you which DNS server gave the answer and how fast.

Edit: I really need to ask my IT guy about this on Monday. I tried a few of those (replacing gmail.com with various popular sites) half the time adding the server override for one of the two DNS servers my Windows system uses
host -v gmail.com 10.52.0.128
(That number is local and won't have the same meaning for you).
Each of the two servers my desktop Windows system uses is consistently ten or more times slower than the one the shared Linux system uses (170 to 270 ms vs 15 to 21 ms). Repeating the same request didn't make it faster, so it was already cached at the closest level at which it might be cached.

Last edited by johnsfine; 01-05-2013 at 08:05 AM.
 
3 members found this post helpful.
Old 01-05-2013, 10:11 AM   #10
baldy3105
Member
 
Registered: Jan 2003
Location: Cambridgeshire, UK
Distribution: Mint (Desktop), Debian (Server)
Posts: 891

Rep: Reputation: 184Reputation: 184
"it sounds to me like your IT people are just trying to avoid having to do work to figure out what is wrong."

Surely not?!
 
Old 01-05-2013, 10:25 AM   #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
Is it just the internet that's slow, or the entire network interface that's slow? In other words, when the internet is behaving poorly on the Linux system, is the rest of the local network doing the same or can you still access machines on your local network quickly? If the entire network is slowing down, I would look at your NIC, drivers, etc. If it's just the internet that's slowing down, I would look at your DNS configuration. Also, is it ALL sites that slow down, or just certain ones? If it's just certain ones it could be a bad TCP setting (window scaling, etc) on your system that's causing conflicts with that particular server.

I've noticed time and time again that, in general, Linux is noticeably faster than Windows for local network access, while internet access is a wash (the bottleneck is the connection to the ISP, not the OS or the NIC itself).

Last edited by suicidaleggroll; 01-05-2013 at 10:28 AM.
 
2 members found this post helpful.
Old 01-06-2013, 12:50 AM   #12
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora/Pop!_OS
Posts: 2,983

Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
Quote:
Originally Posted by johnsfine View Post
I
Edit, another command to try:
host -v gmail.com
Look at the bottom line where it tells you which DNS server gave the answer and how fast.

Edit: I really need to ask my IT guy about this on Monday. I tried a few of those (replacing gmail.com with various popular sites) half the time adding the server override for one of the two DNS servers my Windows system uses
host -v gmail.com 10.52.0.128
(That number is local and won't have the same meaning for you).
Each of the two servers my desktop Windows system uses is consistently ten or more times slower than the one the shared Linux system uses (170 to 270 ms vs 15 to 21 ms). Repeating the same request didn't make it faster, so it was already cached at the closest level at which it might be cached.
Just fyi here for trying this host -v command, thank you btw i like this tool, my response times to both google.com and gmail.com are in the same range as you have (136 google, 150 gmail) yet when i run that command to my personal web server located out of town the response was a mear 46.

This might not be the best test for the response time for google or gmail for that matter, but a very powerful tool it is.

you might want to look into running mtr to google.com to see what you can find as well. could be a bad router in your LAN, or something outside of your LAN that would be out of the control of your IT.

Odds still are highest on a bad DNS or NIC setting/driver/hardware. On the same hardware win7/Fedora 18 beta (heck Fedora 14-18) my Fedora side is almost always faster unless i am visiting a site that has bad code and only works well with IE. I try to avoid those sites.
 
Old 01-06-2013, 04:06 PM   #13
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,912

Rep: Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513
Also remember - every windows system beloging to an AD server uses the AD server for name services (and that can add up to a lot of name servers). The Linux system may only use a few fixed servers - and those may get overloaded if they are internal.

You might consider testing some external name servers (try the google ones - use the IP addresses 8.8.8.8 and 8.8.4.4).

Now this doesn't work if you have to connect to private names (as in internal web servers).
 
1 members found this post helpful.
Old 01-06-2013, 08:31 PM   #14
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,980

Rep: Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624
If the company has a proxy or uses things like proxy pac files or uses active directory to authenticate proxy then you could be limited by linux. My company limits all un-authenticated systems even older ones like NT to very slow speeds.

For most people, there is no difference between windows and linux. The rules of tcp/ip do not change between the OS's.

You can use opendns to see if a new dns server may help. It would easier to try a few host file edits to see if that fixes it. In fact, most people could speed up their system with the 20 or so most common web pages they visit in some cases.
 
Old 01-07-2013, 01:20 AM   #15
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,794

Rep: Reputation: 282Reputation: 282Reputation: 282
One issue that I'm aware of is with Firefox in Ubuntu. Ubuntu 10.04 plus its Firefox works normal, Ubuntu 12.04 plus its Firefox is slow.

I found a solution somewhere on the web and if I recall correctly it's the proxy setting in Firefox; if you're behind a proxy, configure it manually instead of using automatic detection. I did not apply this myself as I switched back to 10.04 on that system before the solution was found.

This might apply to your browser as well; worth a try.

PS
I'm aware that you're not using Ubuntu (by the looks of the logo)

Last edited by Wim Sturkenboom; 01-07-2013 at 01:21 AM.
 
1 members found this post helpful.
  


Reply



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
Why Firefox runs much slower in Linux than in Windows ? electrogap Linux - Software 9 01-16-2007 12:05 PM
Internet Slower in Linux than Windows njbrain Linux - Networking 18 04-29-2004 01:12 PM
Why is internet so much slower in Linux than windows? sh1ft Linux - Networking 1 03-21-2004 10:54 PM
Internet 10 times slower in linux than in windows samx123 Linux - Wireless Networking 5 03-08-2004 04:08 AM
Why my linux is slower than Windows in surfing internet futurist Linux - General 21 02-13-2004 12:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:44 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