LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 09-17-2007, 04:47 AM   #1
Dee-ehn
Member
 
Registered: Apr 2004
Distribution: Suse 9 pro
Posts: 52

Rep: Reputation: 15
Network or Samba slow, except when running iftop?


Hi there,

I'm running Ubuntu 6.06 LTS (AMD64) on one of my servers (other servers run Ubuntu too btw). This server is equipped with an onboard NIC based on the Realtek 8169 chip. Using the stock kernel driver, the interface seems to work fine. However, when transferring files from a Windows workstation (using a Samba share)I don't get speeds over 0,5Mb/sec. However, as soon as I start iftop, the speed goes up to about 10MB/sec, which is fairly normal / good for a 100Mbit LAN. Stopping iftop makes the speed go down again.

Any clues why this is happening? When using SCP for file transferring, speeds are just good. Is this a hardware issue? Or a (known) issue with Samba?

All my software is of the latest available versions.

Thanks.
 
Old 09-17-2007, 11:33 PM   #2
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
If I understand you right, you are doing SAMBA --> Windows.

Look up socket options for SAMBA.

If want near 1 Gb speeds (about 133 MB per second), you will need at least four hard drives in RAID-0 (striping). The four hard drives compensates for the minimum speed for IDE or SATA hard drives and filesysmtem overhead. Use XFS or JFS as the filesystem with custom format options.

On my desktop computers, I get around 11 MB per second (SAMBA --> Windows or SAMBA --> SAMBA) with out any help from another program and with out using RAID-0, but just a single hard drive. My notebook computer has a limit of about 4 MB (hardware limitation), so changing my settings on computers using SAMBA will not work for me on that type of computer. My network is 100 Mb and one of my computers uses a NIC that has a Realtek 8169 (32-bit).

The Realtek 8169 NIC chip can not handle real 1 Gb speeds in full duplex mode because it is on a 32-bit bus going at 33 MHz. When it is set in half duplex mode, it could handle 1 Gb speeds.

b = bits
B = bytes
 
Old 09-24-2007, 08:17 PM   #3
meridianns
LQ Newbie
 
Registered: Sep 2007
Posts: 1

Rep: Reputation: 0
Quote:
Originally Posted by Dee-ehn View Post
Hi there,

I'm running Ubuntu 6.06 LTS (AMD64) on one of my servers (other servers run Ubuntu too btw). This server is equipped with an onboard NIC based on the Realtek 8169 chip. Using the stock kernel driver, the interface seems to work fine. However, when transferring files from a Windows workstation (using a Samba share)I don't get speeds over 0,5Mb/sec. However, as soon as I start iftop, the speed goes up to about 10MB/sec, which is fairly normal / good for a 100Mbit LAN. Stopping iftop makes the speed go down again.

Any clues why this is happening? When using SCP for file transferring, speeds are just good. Is this a hardware issue? Or a (known) issue with Samba?

All my software is of the latest available versions.

Thanks.
Wow! What gives, I have the same problem - Ubuntu 6.06 LTS on a P4 ~2.2Ghz, using a Realtek based Gb card. I get the same .5Mb/s transfer over Samba and using an iScsi endpoint. Once iftop starts, receive rate immediately goes to ~20-22MB/s. Maybe some hardware issue with Realtek. I'm going to try to go back to the 100Mb onboard intel chip and see what happens...

One further note - upgrading to the latest Realtek driver made no difference...

Last edited by meridianns; 09-24-2007 at 08:58 PM. Reason: Update after upgrading driver
 
Old 09-24-2007, 11:58 PM   #4
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
You have a software problem.

I have a Realtek 8169 NIC and it is in a Pentium 4 2GHz (Northwood core). The NIC have to go through two PCI bridges because it is on a combo card from Koutech. I get the maximum throughput that my network allows which is 100 Mb. Though I use Gentoo.
 
  


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
network / software running slow neocontrol Linux - Server 0 04-02-2007 04:38 PM
Changed IP scheme on network, Samba browsing really slow z3r0star21 Linux - Networking 5 03-05-2006 01:06 PM
Network running real slow? jedimastermopar Red Hat 2 05-04-2005 10:23 AM
Samba: slow network transfer drkshadow Linux - Networking 3 09-12-2004 10:19 AM
slow network / samba mehesque Linux - Networking 1 01-09-2004 01:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 03:58 PM.

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