Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.