LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   DISK Speed (Transfer LOW) PROBLEM! (https://www.linuxquestions.org/questions/slackware-14/disk-speed-transfer-low-problem-365891/)

apinta10 09-22-2005 07:56 AM

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)

BroX 09-22-2005 08:09 AM

... 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.

ledow 09-22-2005 08:10 AM

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.

davidsrsb 09-22-2005 09:21 PM

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

apinta10 09-23-2005 02:27 AM

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.

davidsrsb 09-23-2005 04:34 AM

See other with nforce2 trouble
http://www.linuxquestions.org/questi...ht=nforce2+ide

apinta10 09-26-2005 03:15 AM

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.

MMYoung 09-26-2005 03:23 AM

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

apinta10 10-11-2005 03:15 AM

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!


All times are GMT -5. The time now is 01:51 AM.