Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 3rd April 2009, 02:28 AM
llowrey Offline
Registered User
 
Join Date: Jan 2009
Posts: 9
High system CPU load under heavy disk I/O

I posted the following as a bug:

https://bugzilla.redhat.com/show_bug.cgi?id=493513

I've tried building a 2.6.29 kernel and disabled SMP. I'm not sure what else to change.

Any ideas?

--------------------

Description of problem:
Simple disk activity causes high system cpu time. A simple sequential read, on
an idle system, causes a 25% system cpu load (according to top and vmstat).
Reading from, or writing to, more than 4 disks causes the cpu utilization to
hit 100% and the individual disk throughput to be reduced.

For example, doing a sequential read from 10 disks results in reads of about
19MB/s per drive when each yields 60MB/s alone.

When I boot from a RIPLinux CD (with a 2.6.18 x86_64 kernel), the same system
will easily read at full speed (60MB/s) from each drive with a total aggregate
read rate of over 600MB/s (for 10 drives). When I boot the RIPLinux CD I mount
the FC10 root and chroot to it, so the only difference is, or should be, the
kernel configuration.

I have another host, also running FC10, which is running a custom 2.6.28 kernel
which was built using the stock FC10 kernel .config file. It has the same high
system CPU problem so I know the problem is not a .27 vs .28 kernel issue.

The only conclusion I can draw is that the FC10 kernels are configured in a way
that causes problem I'm experiencing.

I have tried turning off acpi in the bios, booting with acpi=off, nohz=off, and
have tried all of the io schedulers with no significant change.


Version-Release number of selected component (if applicable):
Kernel 2.6.27.19-170.2.35.fc10.x86_64

How reproducible:
Every time, every boot.

Steps to Reproduce:
1. dd if=/dev/sda of=/dev/null
2. watch vmstat to see high ~20+% system load
3. do the same with two dd's simultaneously to see 40% system load, 60% for 3
dd's, etc, etc, etc.

Actual results:
20% system cpu usage reading from one drive
40% system cpu usage reading from two drives
... etc.

When reading from more than 4 drives simultaneously, the read rate from each
drive is reduced.

Expected results:
1) System load less than 20% per sequential read.
2) Ability to sequentially read from 10 drives simultaneously at full speed.

Additional info:
Both systems tested are nforce4 Athlon64 systems. One with a dual core, one
with a single core. Both with 2GB RAM. All disks are SATA and connected via
controllers attached via PCI Express. Controller drivers used are sata_nv,
sata_mv, sata_sil24.

Trying to resync a 10 drive raid5 array is extremely slow, ~10MB/s (per drive)
with the FC10 kernel, but a correct 60MB/s (per drive) with the RIPLinux
kernel.
Reply With Quote
  #2  
Old 3rd April 2009, 08:19 AM
Draciron Offline
Registered User
 
Join Date: Jan 2007
Location: Texas
Posts: 117
Sounds like a bug too me. You already tried the noacpi which was my best guess as to what might cause that. The hardware is sound, you proved that. Wish I could be more help than bumping the topic.
Reply With Quote
  #3  
Old 3rd April 2009, 06:14 PM
llowrey Offline
Registered User
 
Join Date: Jan 2009
Posts: 9
Summary: disabling tickless mode increases raw disk performance by 55% with
acpi_pm clocksource, and 61% when using tsc clocksource - still 21% slower than
RIPLinux kernel.

New datapoints:

FC10 2.6.27.19-170.2.35.fc10.x86_64 stock

acpi_pm clocksource
8 drives: max 27MB/s (per drive)
11 drives: max 19MB/s (per drive)

tsc clocksource
8 drives: max 31MB/s (per drive)
11 drives: max 21MB/s (per drive)

2.6.29, built using FC10 .config, but with CONFIG_NO_HZ and
CONFIG_HIGH_RES_TIMERS not set

acpi_pm clocksource
8 drives: max 42MB/s (per drive)
11 drives: max 29MB/s (per drive)

tsc clocksource
8 drives: max 50MB/s (per drive)
11 drives: max 35MB/s (per drive)

RIPLinux 2.6.28 stock
8 drives: max 58MB/s (per drive - less than 100% CPU)
11 drives: max 44MB/s (per drive)
Reply With Quote
Reply

Tags
cpu, disk, heavy, high, i or o, load

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
load average very high! disk access slow! fc3, sata .. help... cyberwiz EOL (End Of Life) Versions 6 9th May 2006 12:09 AM


Current GMT-time: 13:00 (Wednesday, 19-06-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat