LinuxQuestions.org
Review your favorite Linux distribution.
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-13-2004, 05:03 PM   #1
tine
LQ Newbie
 
Registered: Sep 2004
Posts: 10

Rep: Reputation: 0
Question hdd-related download problem(upload 4-5MB/s, download ~1MB/s)


I have redhat 9.0 as gateway to my w2k. I also have 100Mbit internet connection, so ofcourse i have in redhat two 100Mbit cards and in w2k one.
And network should be working in 100Mbit, because:

[root@separi root]# mii-tool
eth0: negotiated 100baseTx-FD, link ok
eth1: negotiated 100baseTx-FD, link ok


I had one slow hdd (Seagate ST52520A Medalist Pro) in my pentium 200Mhz when i installed redhat 9.0. I was able to dl/ul with that hdd ~1MB/s.
Then i added new little better hdd (IBM Deskstar 16GP 16.8GB (DTTA-351680). I'm quite new to linux so i didn't know, that it's good to edit /etc/fstab after adding new hdd, so at first time i mounted partitions manually and like a miracle i was able to download and upload 4-5MB/s via redhat. THEN i edited /etc/fstab to include these two lines:

LABEL=/home /home ext3 defaults 1 2
LABEL=/work /work ext3 defaults 1 2

those are the new 2 partitions i created. And the hdd works fine. Both hdd's are using mdma2, because the mobo doesn't support udma.

And after i rebooted redhat to check if i had done that editing properly, things got fu***d up.

So now i can upload via redhat from my w2k machine to others in our 100Mbit LAN that 4-5MB/s, but download speed is only ~1MB/s.
So it worked for a while, but not anymore!
And when i plug my w2k straight to internet and not using redhat as gateway i can dl/ul ~8-10MB/s, so the fault is not in windows.

So it seems like when i upload, redhat uses my new&faster hdd and when i download it uses the old&slow hdd or something... So what have i done wrong?
Or how do i fix it?

If ya need more info, please tell
 
Old 09-13-2004, 05:28 PM   #2
Electro
Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
As root or su, type "hdparm -v /dev/hd[a-z]" and post the output. If you do not have hdparm you will have to find it and install. In your fstab try not using labels because it will get confusing if you are going to use Knoppix. You can get a new IDE controller if you want input and output speeds be around 20 - 30 megabytes per second.
 
Old 09-14-2004, 03:48 AM   #3
tine
LQ Newbie
 
Registered: Sep 2004
Posts: 10

Original Poster
Rep: Reputation: 0
Okey, here's the outputs hda is the slow hdd and hdc is the faster one.

[root@separi root]# hdparm -v /dev/hda

/dev/hda:
multcount = 16 (on)
IO_support = 0 (default 16-bit)
unmaskirq = 0 (off)
using_dma = 1 (on)
keepsettings = 0 (off)
readonly = 0 (off)
readahead = 8 (on)
geometry = 621/128/63, sectors = 5009760, start = 0


[root@separi root]# hdparm -v /dev/hdc

/dev/hdc:
multcount = 16 (on)
IO_support = 0 (default 16-bit)
unmaskirq = 0 (off)
using_dma = 1 (on)
keepsettings = 0 (off)
readonly = 0 (off)
readahead = 8 (on)
geometry = 2055/255/63, sectors = 33022080, start = 0
 
Old 09-14-2004, 04:07 AM   #4
tine
LQ Newbie
 
Registered: Sep 2004
Posts: 10

Original Poster
Rep: Reputation: 0
And i think, i'm not able to get new IDE controller for my mobo, because the motherboard in p200 is so extraordinary
I can't post urls yet, but first link in google with searchterm: 5I-VX1B
 
Old 09-15-2004, 03:06 PM   #5
Electro
Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
You can try to enable 32-bit I/O and unmaskirq with hdparm, but do it one setting and one hard drive at a time. You do not want your computer to freeze like Windows 2000.

32-bit I/O:
hdparm -c 1 /dev/hda
hdparm -c 1 /dev/hdc

Then to see the estimate speeds do:
hdparm -Tt /dev/hda
hdparm -Tt /dev/hdc

unmaskirq:
hdparm -u 1 /dev/hda
hdparm -u 1 /dev/hda

Then to see the estimate speeds do:
hdparm -Tt /dev/hda
hdparm -Tt /dev/hdc


You can get an additional IDE controller, but you need to make sure you have an opened PCI slot. You can try to find an ISA NIC card if your NIC is taking up a PCI slot. ISA has a throughput of about 10 megabytes per second. The NIC will be fine on a ISA slot.

I suggest searching the internet to optimize the kernel to work more efficiently for LAN.
 
  


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
Can't upload 5mb file. Need help. newlinuxnewbie Linux - General 2 11-05-2005 06:39 PM
download/upload limiter TranceDude Linux - Software 7 10-09-2005 11:16 AM
Measure how much I upload and Download barryw Linux - Networking 1 06-02-2005 03:21 AM
upload 4-5MB/s, download ~1MB/s, redhat 9.0 2.4.20-8 (maybe hdd-related problem) tine Linux - Networking 0 09-13-2004 07:44 AM
VSFTPD - can download but cant upload. Dirt Linux - Software 1 09-06-2003 08:42 PM


All times are GMT -5. The time now is 11:13 PM.

Main Menu
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