LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 05-24-2005, 02:37 AM   #1
DX2
LQ Newbie
 
Registered: Feb 2004
Posts: 17

Rep: Reputation: 0
Kernel 2.6.12rc4-mm2 - UDMA enabled - but transfer slow


Hi everyone,

I bougth a new mainboard (with Intel chipset i865PE, ICH5) + new ram and installed the new kernel v2.6.12rc4-mm2 with reiserfs4 harddrives. Then I checked up hdparm and changed some options for every HDD (which are all ATA100):

hdparm -c3 -X69 -u1 -d1 /dev/hdX

according to INTEL these settings are correct.

After testing with hdparm -tT -dev-hdX I got speeds of ~50MB/second for every hard drive.

While transfering some data from one drive to another the file transfer suddenly STOPs for 1 or 2 seconds and then continues with a much lower transfer rate of 5 - 10 MB.

What the heck is wrong ?
Is it reiserfs4?
Do I need to disable some general chipset code in kernel configuration?

No problem in win32 though.
I appreciate any help. Thanks!
 
Old 05-24-2005, 07:54 PM   #2
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
The disk utility hdparm just gives you raw benchmarks. Copying from a filesystem is different issue. Depending on the latency of the filesystem, what mount options used, and what formatting options used you will not get the same results as hdparm. You can include atime and notail when mounting them to increase the speed. If you are using LILO, include notail because if you do not it will corrupt Reiser partitions. If you are using grub it does not have this flaw.

I use XFS because it has a much faster throughput ranging from 30 MB per second up to 100 MB per second.

For the pause for a second or two, probably your system is going through dirty buffers. Use sysctl to optimize the kernel for disk performance.
 
Old 05-29-2005, 09:25 AM   #3
DX2
LQ Newbie
 
Registered: Feb 2004
Posts: 17

Original Poster
Rep: Reputation: 0
I leeched Gentoo RR LiveDVD with Reiser4 support. No problem there with udma ide transfers from HDDs I mentioned. I checked up hdparm settings of this livedvd for the hddrives. I haven't changed my own bootup defaults to these settings yet but I am quite sure that this is the problem.

IMHO lilo cannot compete with GRUB - but otherwise I must say I never used lilo for my LFS system - it's been grub in the beginning.

I know about the hdparm tests - raw access - no real transfer from disk to disk - eventually of no use for me here.

Thanks for the tip with dirty buffers and mount options with atime and notail. I will check this for next reboots and testing phase.

Do you think my ICH5 has something to do with it?

My previous mainboard had ICH2.
ICH5 seems to be a lot different because there is no Application Accelerator Software for it.

(ICH = I/O Controller Hub; equal to southbridge; Intel used expression ICH since i810 chipset)

Last edited by DX2; 05-29-2005 at 09:27 AM.
 
Old 05-29-2005, 05:55 PM   #4
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
I get the same with any chipset such as INTEL and VIA. Also I see it more with USB hard drives or USB to IDE converters. If someone can add a patch so Linux is able to switch to BIOS for disk operations. The BIOS knows more about the system than Linux will ever will. Unfortunately, older BIOS do not detect large hard drives.

I use the option sync as well as noatime and notail to increase the performance during video recordings on an AMD Athlon 700 Mhz 'Classic' system. If I did not, frames will be dropped non-stop. The filesystem that I used for video recording is ReiserFS because the AMD Athlon 700 Mhz 'Classic' system used kernel version 2.4.19 which does not have real-time XFS.

You can try to use the third kernel scheduler which will balance the load of all programs. I think this scheduler closely resembles Windows scheduler.
 
Old 05-29-2005, 08:48 PM   #5
DX2
LQ Newbie
 
Registered: Feb 2004
Posts: 17

Original Poster
Rep: Reputation: 0
running top in another virtual console gave me 40-75% CPU usage for process pdflush.

Really..after reading a little bit about it I sould check if it ococurs with other filesystems or if it even has to do with Intel HT SMP

Last edited by DX2; 05-29-2005 at 08:52 PM.
 
Old 06-02-2005, 06:45 AM   #6
DX2
LQ Newbie
 
Registered: Feb 2004
Posts: 17

Original Poster
Rep: Reputation: 0
running smoother with Kernel 2.6.12-rc5-mm2
 
Old 06-08-2005, 08:10 AM   #7
DX2
LQ Newbie
 
Registered: Feb 2004
Posts: 17

Original Poster
Rep: Reputation: 0
I'll have a look at http://ftp.namesys.com/pub/reiser4-for-2.6/

maybe an infinite loop which is fixed here:
http://ftp.namesys.com/pub/reiser4-f...er4-only.patch
 
  


Reply



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
hdparm enabled but still slow copy props666999 Slackware 6 08-08-2005 06:54 PM
Hard drive suddenly VERY slow despite UDMA gundelgauk Linux - Hardware 4 10-03-2004 07:11 AM
Reading audio sectors still slow even with DMA enabled nukkel Linux - Hardware 0 08-19-2004 06:15 AM
winex3 slow in voodoo 3 (dri enabled) jammers Linux - Hardware 0 07-20-2004 08:32 AM
Redhat GNOME runs slow when network is enabled gregpend Red Hat 2 10-08-2003 10:34 AM

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

All times are GMT -5. The time now is 04:30 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