LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-22-2005, 07:56 AM   #1
apinta10
Member
 
Registered: Nov 2004
Location: Croatia, Hrvatska
Distribution: Slackware 10.1 + Debian Sarge 3.1 (testing)
Posts: 35

Rep: Reputation: 15
DISK Speed (Transfer LOW) PROBLEM!


/dev/hdb:
Timing cached reads: 1144 MB in 2.00 seconds = 571.52 MB/sec
Timing buffered disk reads: 10 MB in 3.14 seconds = 3.18 MB/sec

/dev/hda:
Timing cached reads: 1164 MB in 2.00 seconds = 582.09 MB/sec
Timing buffered disk reads: 8 MB in 3.95 seconds = 2.03 MB/sec

/dev/hdb:
setting using_dma to 1 (on)
HDIO_SET_DMA failed: Operation not permitted
using_dma = 0 (off)

/dev/hda:
setting using_dma to 1 (on)
HDIO_SET_DMA failed: Operation not permitted
using_dma = 0 (off)

Sep 22 14:41:05 api984 kernel: ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
Sep 22 14:41:05 api984 kernel: hda: max request size: 1024KiB
Sep 22 14:41:05 api984 kernel: hda: 312581808 sectors (160041 MB) w/8192KiB Cache, CHS=19457/255/63
Sep 22 14:41:05 api984 kernel: hda: cache flushes supported
Sep 22 14:41:05 api984 kernel: hda: hda1 hda2 hda3 hda4 < hda5 >
Sep 22 14:41:05 api984 kernel: hdb: max request size: 128KiB
Sep 22 14:41:05 api984 kernel: hdb: 80293248 sectors (41110 MB) w/2048KiB Cache, CHS=65535/16/63
Sep 22 14:41:05 api984 kernel: hdb: cache flushes supported
Sep 22 14:41:05 api984 kernel: hdb: hdb1 hdb2 < hdb5 hdb6 hdb7 hdb8 hdb9 >

Sep 22 14:41:06 api984 kernel: NFORCE2-U400R: IDE controller at PCI slot 0000:00:09.0
Sep 22 14:41:06 api984 kernel: NFORCE2-U400R: chipset revision 163
Sep 22 14:41:06 api984 kernel: NFORCE2-U400R: not 100%% native mode: will probe irqs later
Sep 22 14:41:06 api984 kernel: NFORCE2-U400R: 0000:00:09.0 (rev a3) UDMA133 controller
Sep 22 14:41:06 api984 kernel: NFORCE2-U400R: neither IDE port enabled (BIOS)
 
Old 09-22-2005, 08:09 AM   #2
BroX
Member
 
Registered: Oct 2003
Location: Sweden
Distribution: Slackware64-current, SlackwareARM-15.0
Posts: 833

Rep: Reputation: 90
... and what's your question?

To increase disk speed enable dma. From 'man hdparm':
Code:
       -d     Disable/enable  the "using_dma" flag for this drive.  This option now works with most combinations
              of drives and PCI interfaces which support DMA and which are known to the kernel IDE  driver.   It
              is  also  a  good idea to use the appropriate -X option in combination with -d1 to ensure that the
              drive itself is programmed for the correct DMA mode, although most BIOSs should do this for you at
              boot  time.   Using DMA nearly always gives the best performance, with fast I/O throughput and low
              CPU usage.  But there are at least a few configurations of chipsets and drives for which DMA  does
              not make much of a difference, or may even slow things down (on really messed up hardware!).  Your
              mileage may vary.
Cheers, Leon.
 
Old 09-22-2005, 08:10 AM   #3
ledow
Member
 
Registered: Apr 2005
Location: UK
Distribution: Slackware 13.0
Posts: 241

Rep: Reputation: 34
Looks like, even though the drive supports DMA, it's not enabled at the interface level (i.e your IDE/SATA or whatever does not support DMA in the kernel you are using.

Might be an idea to get latest kernel, check out if your interface is supported by Linux (looks like nForce chipset?) etc. Also, the "neither IDE port enabled (BIOS)" looks like you might not have everything enabled properly in the BIOS.
 
Old 09-22-2005, 09:21 PM   #4
davidsrsb
Member
 
Registered: Oct 2003
Location: Kuala Lumpur, Malaysia
Distribution: Slackware 13.37 current
Posts: 770

Rep: Reputation: 33
Which kernel?
More about your disks eg make?

There have been reports of network transfer performance problems with the NForce2 chipset which could really be due to harddrive problems

Last edited by davidsrsb; 09-22-2005 at 09:24 PM.
 
Old 09-23-2005, 02:27 AM   #5
apinta10
Member
 
Registered: Nov 2004
Location: Croatia, Hrvatska
Distribution: Slackware 10.1 + Debian Sarge 3.1 (testing)
Posts: 35

Original Poster
Rep: Reputation: 15
Speed problems?

Kernel- 2.6.12.2
Slackware 10.2

I configured my kernel manually.

Chipset: NFORCE2
MBO: MSI K7N2 Delta2 Paltinum

Slack 10.2 - default kernel 2.4.31 or whatever it is.

Transfer speed works NORMAL! 50mb/s.
But on my 2.6 around 3mb/s.

Whith is really bad. I copied 900mb ISO file from a NTFS to My linux EXT2 around 20min.
And tryed to burn it with 4x on DVD. Speed was in k3b 0.90x. All the time(1,2mb/s).

OS works fine. But why is it so damn slow. I had MSI KT333 before (VIA chipset). Worked
great. But now it doesn't. Still can find the problem for this kind of soulution.

thank you.
 
Old 09-23-2005, 04:34 AM   #6
davidsrsb
Member
 
Registered: Oct 2003
Location: Kuala Lumpur, Malaysia
Distribution: Slackware 13.37 current
Posts: 770

Rep: Reputation: 33
See other with nforce2 trouble
http://www.linuxquestions.org/questi...ht=nforce2+ide
 
Old 09-26-2005, 03:15 AM   #7
apinta10
Member
 
Registered: Nov 2004
Location: Croatia, Hrvatska
Distribution: Slackware 10.1 + Debian Sarge 3.1 (testing)
Posts: 35

Original Poster
Rep: Reputation: 15
Nforce

I solved the problem.

Works fine now.

I didn't check something something in the kernel.

Thank you. and i also compiled nforce2 linux drivers.
 
Old 09-26-2005, 03:23 AM   #8
MMYoung
Member
 
Registered: Apr 2004
Location: Arkansas
Distribution: Ubuntu 8.10
Posts: 365

Rep: Reputation: 30
Re: Nforce

Quote:
Originally posted by apinta10
I solved the problem.

Works fine now.

I didn't check something something in the kernel.

Thank you. and i also compiled nforce2 linux drivers.
How did you solve it? What did you check in the kernel?
Others with the same problem you are having will need to know this so when they do a search they won't just get "Problem Solved". Always include the steps you took to solve the problem to help someone else later.

Thanks,
MMYoung
 
Old 10-11-2005, 03:15 AM   #9
apinta10
Member
 
Registered: Nov 2004
Location: Croatia, Hrvatska
Distribution: Slackware 10.1 + Debian Sarge 3.1 (testing)
Posts: 35

Original Poster
Rep: Reputation: 15
My config for kernel 2.6.13.2

However the thing is in the kernel. After Running the new kernel test hdparm!

# ATA/ATAPI/MFM/RLL support
#
CONFIG_IDE=y
CONFIG_BLK_DEV_IDE=y

#
# Please see Documentation/ide.txt for help/info on IDE drives
#
# CONFIG_BLK_DEV_IDE_SATA is not set
# CONFIG_BLK_DEV_HD_IDE is not set
CONFIG_BLK_DEV_IDEDISK=y
CONFIG_IDEDISK_MULTI_MODE=y
CONFIG_BLK_DEV_IDECD=y
# CONFIG_BLK_DEV_IDETAPE is not set
CONFIG_BLK_DEV_IDEFLOPPY=y
CONFIG_BLK_DEV_IDESCSI=m
# CONFIG_IDE_TASK_IOCTL is not set

#
# IDE chipset support/bugfixes
#
CONFIG_IDE_GENERIC=y
CONFIG_BLK_DEV_CMD640=y
# CONFIG_BLK_DEV_CMD640_ENHANCED is not set
# CONFIG_BLK_DEV_IDEPNP is not set
CONFIG_BLK_DEV_IDEPCI=y
CONFIG_IDEPCI_SHARE_IRQ=y
# CONFIG_BLK_DEV_OFFBOARD is not set
CONFIG_BLK_DEV_GENERIC=y
# CONFIG_BLK_DEV_OPTI621 is not set
CONFIG_BLK_DEV_RZ1000=y
CONFIG_BLK_DEV_IDEDMA_PCI=y
# CONFIG_BLK_DEV_IDEDMA_FORCED is not set
CONFIG_IDEDMA_PCI_AUTO=y
# CONFIG_IDEDMA_ONLYDISK is not set
# CONFIG_BLK_DEV_AEC62XX is not set
# CONFIG_BLK_DEV_ALI15X3 is not set
CONFIG_BLK_DEV_AMD74XX=y
# CONFIG_BLK_DEV_ATIIXP is not set
# CONFIG_BLK_DEV_CMD64X is not set
# CONFIG_BLK_DEV_TRIFLEX is not set
# CONFIG_BLK_DEV_CY82C693 is not set
# CONFIG_BLK_DEV_CS5520 is not set
# CONFIG_BLK_DEV_CS5530 is not set
# CONFIG_BLK_DEV_HPT34X is not set
# CONFIG_BLK_DEV_HPT366 is not set
# CONFIG_BLK_DEV_SC1200 is not set
# CONFIG_BLK_DEV_PIIX is not set
# CONFIG_BLK_DEV_IT821X is not set
# CONFIG_BLK_DEV_NS87415 is not set
# CONFIG_BLK_DEV_PDC202XX_OLD is not set
# CONFIG_BLK_DEV_PDC202XX_NEW is not set
# CONFIG_BLK_DEV_SVWKS is not set
# CONFIG_BLK_DEV_SIIMAGE is not set
# CONFIG_BLK_DEV_SIS5513 is not set
# CONFIG_BLK_DEV_SLC90E66 is not set
# CONFIG_BLK_DEV_TRM290 is not set
# CONFIG_BLK_DEV_VIA82CXXX is not set
# CONFIG_IDE_ARM is not set
CONFIG_BLK_DEV_IDEDMA=y
CONFIG_IDEDMA_IVB=y
CONFIG_IDEDMA_AUTO=y
# CONFIG_BLK_DEV_HD is not set

hope this can help!
 
  


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
Low disk space problem Maverick1182 Linux - Newbie 3 08-07-2005 04:14 AM
Low disk space, problem deleting files gtzpower Linux - Software 1 05-24-2005 09:57 PM
Low HD transfer rate with Slack10 2.4.26 iwen Slackware 13 08-24-2004 08:19 PM
cdrecord - trying to use high speed medium on low speed writer captain-cat Linux - Hardware 2 07-12-2004 06:27 PM
Console hanging and scp transfer low when using ssh XStorm Linux - Networking 1 12-08-2003 09:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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