High CPU Usage with sustained network/hdd activity?
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
High CPU Usage with sustained network/hdd activity?
Copying a large file from a windows box to a Slackware machine running Samba 3.04 (happens with kernel 2.6.5, 2.6.6, and 2.4.26...only it's bdflush on the 2.4.)
Originally posted by twilli227 Is this a problem or are you just curious? Your cpu is being used, not a problem? Are you having other problems when this happens?
it's a problem. it really slows down file transfer.
does the same for hdb. but DMA works on hde (onboard promise raid controller)
i have compiled support for my chipset as well as DMA into my kernel (well, kernels...)
Code:
cpuservermv boot # cat config-2.4.26 | grep DMA
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_IDEDMA=y
# CONFIG_IDEDMA_PCI_WIP is not set
# CONFIG_BLK_DEV_ADMA100 is not set
# CONFIG_HPT34X_AUTODMA is not set
CONFIG_IDEDMA_AUTO=y
# CONFIG_IDEDMA_IVB is not set
# CONFIG_DMA_NONPCI is not set
# CONFIG_SCSI_EATA_DMA is not set
# CONFIG_IEEE1394_SBP2_PHYS_DMA is not set
Code:
cpuservermv boot # cat config-2.6.5-gentoo-r1 | grep DMA
CONFIG_GENERIC_ISA_DMA=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_ADMA=y
CONFIG_BLK_DEV_IDEDMA=y
# CONFIG_IDEDMA_IVB is not set
CONFIG_IDEDMA_AUTO=y
# CONFIG_IEEE1394_SBP2_PHYS_DMA is not set
Distribution: Gentoo 2004.2: Who needs exmmpkg when you have emerge?
Posts: 1,795
Rep:
Ive seen that error before, and it occurs when you dont have DMA enabled (Y) in the config for your chipset. Seeing as you do, there must be something wrong... Is there a DMA option specifically for harddisks/drives in the config? Take a look.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.