LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 03-16-2008, 03:39 PM   #1
wastingtime
Member
 
Registered: Sep 2004
Posts: 86

Rep: Reputation: 17
very slow network - but only for one machine while used at a specific location


I run PCLOS minime on 3 machines at two locations: my notebook, a home desktop, and a work desktop.

Both home and work have DSL broadband

At home using the home desktop (wired) and the notebook (wired or wireless) both machines have good network performance: greater than 80kb/sec when both downloading from a remote server over the DSL connection.

At work, the work desktop has similar performance, but the same notebook starts at about 15K/sec and gradually over a few seconds slows down to about 2Kb/sec. This happens both over the wired and wireless connection.

Using the notebook to copy or download from a server at my workplace (e.g. the work desktop machine) it is very fast (up to the the local network bandwidth)

I ruled out:

- The HW (since the notebook works fine at home)
- The OS (since the desktop machine at work running PCLOS works fine)
- The network's physical layer (copying between the machines at work is fine)

So perhaps the firewall/router at work is the culprit? It is a SonicWall 300. But how come it only affects the notebook?

Running wireshark simultaneously both on my notebook and the work desktop , while both download from a remote server (i.e. synaptic server, my home server) the desktop download speed is at 80Kb/sec and my notebook is at 2Kb/sec. I don't see any unusual output in the notebook's wireshark output as compared to the desktop's wireshark output.

This issue has been going like this for months.

I am looking for ideas as to how to instrument, troubleshoot this problem.
 
Old 03-16-2008, 08:20 PM   #2
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
The only things that come to mind quickly are 1-routing problem, 2-dns problem. Are you or do you have access to the admin of the router?
Good luck. ;-)
 
Old 03-16-2008, 09:25 PM   #3
wastingtime
Member
 
Registered: Sep 2004
Posts: 86

Original Poster
Rep: Reputation: 17
Thanks!

Yes I o have access to the router.

DNS should not be a a factor after the initial connection (e.g. when using wget to download)

I thought the router might not like my card so I spoofed the MAC address (using MACADDR in ifcfg-eth0) and also assgined a different static ip address to the notebook. It did not make any difference.
 
Old 03-16-2008, 09:49 PM   #4
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
So the notebook is using static ip's in both locales? Does the same behavior occur if using dhcp? There could be limited connectivity if the route is the problem. I've seen stranger things occur. ;-)
Good luck. ;-)
 
Old 04-18-2008, 06:06 PM   #5
wastingtime
Member
 
Registered: Sep 2004
Posts: 86

Original Poster
Rep: Reputation: 17
found out that if I run firefox on windows xp that is running in qemu on the same machine, download speed is at almost full bandwidth

at the same time if i run firefox directly on the machine linux os, download speed is dismal.

somehow the network performance in winxp running in an emulator is much better than the network performance of the native interface on the same machine.

again, all this happen only at my workplace when connecting to external sites through a Cisco sonicwall

at home both setups perform well.

I am puzzled
 
Old 04-18-2008, 07:19 PM   #6
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
Do you have ipv6 enabled or disabled in firefox? Check about:config look for this option
Code:
network.dns.disableIPv6
That option will be boolean true or false. Just a guess but, if that is false try toggling it to true and see if that makes a difference.

One other question, since you've downloaded from both os's, were you downloading the same things from the same sites?
Good luck. ;-)
 
Old 04-21-2008, 04:32 PM   #7
wastingtime
Member
 
Registered: Sep 2004
Posts: 86

Original Poster
Rep: Reputation: 17
Solved

in /etc/sysctl.conf add

# ocilent1 fix for win_scale issue
net.ipv4.tcp_window_scaling=0

the above works for PcLinuxOS other distros may use

net.ipv4.tcp_default_win_scale = 0
 
  


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
write text to specific location in file mcbenus Linux - Desktop 3 02-28-2008 06:40 AM
Assign a specific drive letter to a network location in crossover office? blo81 Linux - Newbie 2 05-22-2007 08:22 PM
Untar File to a specific location ! Libu Linux - General 3 12-19-2005 07:14 PM
network seems slow just on linux machine thinkweb Linux - Networking 2 03-09-2005 02:07 PM
Mount hardware to specific location with specified device blixel Linux - Hardware 5 10-21-2003 04:21 PM

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

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