10/100 NIC streams like crap, 10mbit streams like a god...need help

Valinos

Banned
Jun 6, 2001
784
0
0
I just recently set up a file server running Red Hat Linux 7.3 on a Celeron 300 w/ 192MB of RAM and an 80 GB WD 800BB. I'm a major Linux newbie, but I got Samba up and running and I am able to share and stream my files. I had a Dlink 10mbit NIC in the machine originally, but trying to transfer over 40 GB of data was extremely painful and was taking hours. I ended up reinstalling Linux because I wanted to change the file system and do a couple other things and before I reinstalled I bought a Linksys 10/100 NIC to put in to help transfer files better and hopefully be able to stream even better to more computers at once. Mostly just MP3's and the occasional video. Well, I get everything set up and start transferring files with a 10x increase in speed. It went from 30 minutes for 500 MB to 3 minutes. Then I start playing an mp3 over the network to see how it streams.

With the 10/100 NIC it was a constant lag and skipping of mp3's and video. I couldn't handle it so after I transferred all my files over, I switched back to the 10mbit just to see if it would work better, since it streamed perfectly on the last install. Lo and behold it streamed great and I had no problems at all, with instant load times as if it was on my local hard drive. I just had to put up with extremely slow transfers, still I was wondering why in hell would a 10mbit stream slower than a 100 mbit?

This is my network setup

Linksys 4 port router/switch
Two PC's both with the same Linksys 10/100 NIC
Linux fileserver

Now, I'm wondering...why does the Dlink 10mbit perform so much better than the 10/100? What can I do to fix this? The only solution I can think of is to put both NICs in the server and set Samba up to take uploads through the Linksys cards and streams through the Dlink card. The only thing I can think of being the problem is that maybe Samba detects the huge amount of bandwidth with the Linksys card and is trying to fill up the "buffer". I haven't tested it to see if I could stream mutliple files at once and still get the slow down though.

What might be the problem and what can I do aside from putting both NICs in?
 

sml

Member
Dec 26, 2001
193
0
0
Try a good NIC 3Com or Intel never fail. Also, are you forcing full duplex via ifconfig arguments? ifconfig eth0 media full-duplex? That's the BSD way, man 8 ifconfig YMMV.
 

ScottMac

Moderator<br>Networking<br>Elite member
Mar 19, 2001
5,471
2
0
Good performance at 10 Mbps with crappy performance at 100Mbps is (99% of the time) an indication that your cabling is AFU. Either it was made by someone that didn't follow the correct pair-ordering (or is poorly terminated), or, if it's store-bought, has sufferered in some way that takes it out of spec (crushed, twisted, kinked, stretched, failed strain relief, etc).

Try another (new, store-bought, known-good) cable.

Good Luck

Scott
 

Valinos

Banned
Jun 6, 2001
784
0
0
Originally posted by: sml
Try a good NIC 3Com or Intel never fail. Also, are you forcing full duplex via ifconfig arguments? ifconfig eth0 media full-duplex? That's the BSD way, man 8 ifconfig YMMV.

No luck with forcing full-duplex...

i tried ifconfig eth0 media full-duplex and it just came back saying no device found *shrug*

I'm going to go up to a friend's and test his cables tomorrow. That could definately be a problem, but I have WAY too many cables to sort through to find out. All different brands with some being home made.. Having to make sure the cables to both the server and my computer are working would be a major pain. I'll just use a friend's network that I know has some good cabling.
 

sml

Member
Dec 26, 2001
193
0
0
FWIW, the correct syntax with linux ifconfig(8) is:

ifconfig [device0] media type auto
OR
ifconfig [device0] media type 100baseTX full-duplex
 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |