LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 02-11-2004, 01:25 AM   #1
Shade
Senior Member
 
Registered: Mar 2003
Location: Burke, VA
Distribution: RHEL, Slackware, Ubuntu, Fedora
Posts: 1,418
Blog Entries: 1

Rep: Reputation: 46
Slow transfer from desktop, regardless of protocol


I tried searching around about this, but can't seem to figure it out.

Specs:
Slack 9.1
AMD Athlon 2200XP +
Onboard Via-Rhine NIC
Linksys Wireless G router

Protocols tried:
scp
ftp
http (apache)
Gaim instant messenger file transfer

Problem --

Transfer speed from the desktop seems to max out at 20KB/sec, no matter what protocol, or file size.
Download speeds to the pc are fine, NIC is operating in 100BaseTX Full duplex mode.

When I transfer large files from laptop to desktop over wireless, the speeds can reach 900KB/sec...
Seems that I can't transfer from the desktop any faster than 20K/sec.

Any ideas?

--Shade

root@gobot:/home/mike# mii-tool
eth0: negotiated 100baseTx-FD flow-control, link ok
root@gobot:/home/mike#


Last edited by Shade; 02-11-2004 at 01:26 AM.
 
Old 02-11-2004, 03:46 AM   #2
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
Does the output of ifconfig show anything?
 
Old 02-11-2004, 06:25 PM   #3
Shade
Senior Member
 
Registered: Mar 2003
Location: Burke, VA
Distribution: RHEL, Slackware, Ubuntu, Fedora
Posts: 1,418
Blog Entries: 1

Original Poster
Rep: Reputation: 46
Nothing unusual...

Code:
eth0      Link encap:Ethernet  HWaddr 00:0B:6A:04:F9:99
          inet addr:192.168.1.13  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:71220 errors:0 dropped:0 overruns:0 frame:0
          TX packets:69411 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:37808443 (36.0 Mb)  TX bytes:37631570 (35.8 Mb)
          Interrupt:11 Base address:0xdc00
 
Old 02-11-2004, 06:55 PM   #4
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
Do you have an DSL connection using PPPoE? If so you may try changing the MTU to 1492. If that doesn't work keep lowering it and see if you get an increase in speed. It's a bit of a long shot but it might work.
 
Old 02-11-2004, 07:10 PM   #5
Shade
Senior Member
 
Registered: Mar 2003
Location: Burke, VA
Distribution: RHEL, Slackware, Ubuntu, Fedora
Posts: 1,418
Blog Entries: 1

Original Poster
Rep: Reputation: 46
Nope, no dsl connection.

This is just transferring files over local area network between desktop and laptop... From desktop, to router through cat5. From router to wireless card in laptop.

--Shade
 
Old 02-11-2004, 07:25 PM   #6
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
Oh sorry I got this thread confused with another one. Do you have another OS you can test it on? Like windows or another linux/unix OS?
 
Old 02-12-2004, 12:55 AM   #7
Shade
Senior Member
 
Registered: Mar 2003
Location: Burke, VA
Distribution: RHEL, Slackware, Ubuntu, Fedora
Posts: 1,418
Blog Entries: 1

Original Poster
Rep: Reputation: 46
Nah, I don't.

I could boot up knoppix and try...
 
Old 02-12-2004, 06:44 AM   #8
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
There's an idea. That might solve something but then again maybe not. I take it you're using the via-rhine kernel module? I googled around and it seems there is some known wierdness with it. I didn't really think it could be the case since it's such common hardware but others seem to be having problems as well. Specifically, they mention slow-downs during high speed transfers (~100Mb/s) which may sound familiar. It seems to happen especially on SMP systems and the theory is that a race condition occurs between the card and the other CPU for hard interrupts. I assume you have a uniprocessor but maybe you have an SMP kernel? The threads I came across also seemed to say that specifying the "noapic" kernel option made this problem go away. I'm not sure what it will do for you since (once again I'm guess that) you have a uniprocessor and therefore have no actual hard interrupts doing anything.

Have a google/linux around for "via rhine nic" (whithout the quotes) to see what I saw.

[edit]: Oh and check your /var/log/syslog for any eth0 related errors. Specifically something like "Something wicked happened" or some variant. Many people reported that too.

Last edited by adz; 02-12-2004 at 06:50 AM.
 
  


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
gaim - Slow file transfer rates using msn protocol Throxer Linux - Software 2 07-31-2005 08:40 AM
SMTP Should stand for Stupid Mail Transfer Protocol ivj Linux - Software 0 07-23-2004 09:43 PM
System uncleanly shut down, ran e2fsck, very slow start & slow desktop brakthepoet Linux - Newbie 1 07-02-2004 02:55 PM
Fastest File Transfer Protocol unixvillian Linux - Networking 1 06-09-2004 04:31 PM
very-very slow transfer fineass Linux - Networking 5 05-10-2004 09:50 AM


All times are GMT -5. The time now is 10:52 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration