All of lore.kernel.org
 help / color / mirror / Atom feed
* Slow Disk I/O
@ 2010-05-28 18:34 Brian D. McGrew
  2010-05-29  0:01 ` Robert Hancock
  0 siblings, 1 reply; 2+ messages in thread
From: Brian D. McGrew @ 2010-05-28 18:34 UTC (permalink / raw)
  To: linux-kernel

Good morning All!

I¹m running CentOS 5.4 x86_64 on a Dell T5500 with 3GB || 12GB or RAM. I¹m
running a 2.6.18-128.el5 kernel.  There is a 500GB SATA drive connected to
the onboard SATA controller.  I can reproduce this problem with CentOS 5.4
i386 on the Dell T5500, T5400 and Optiplex 740¹s.

So now, on to the problem...  In our software, we¹re reading in 5MP image
files in the neighborhood of 500 to 1500 files at a time.  Just a simple
for() loop, open, read, close...  Nothing fancy...

When I have 3GB of RAM in the system, life is good.. Each read takes 8 to
10ms...  This is a good thing!

If I bump the memory up to 12GB, all of the reads are now taking 150 to
200ms.

My default, va.swappines to set to 60...  If I decrease this number, the
problem gets much worse.  If I up va.swappines to 100, the problem gets a
little better, but not a whole lot.

What should I be looking at???

-b


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Slow Disk I/O
  2010-05-28 18:34 Slow Disk I/O Brian D. McGrew
@ 2010-05-29  0:01 ` Robert Hancock
  0 siblings, 0 replies; 2+ messages in thread
From: Robert Hancock @ 2010-05-29  0:01 UTC (permalink / raw)
  To: Brian D. McGrew; +Cc: linux-kernel

On 05/28/2010 12:34 PM, Brian D. McGrew wrote:
> Good morning All!
>
> I¹m running CentOS 5.4 x86_64 on a Dell T5500 with 3GB || 12GB or RAM. I¹m
> running a 2.6.18-128.el5 kernel.  There is a 500GB SATA drive connected to
> the onboard SATA controller.  I can reproduce this problem with CentOS 5.4
> i386 on the Dell T5500, T5400 and Optiplex 740¹s.
>
> So now, on to the problem...  In our software, we¹re reading in 5MP image
> files in the neighborhood of 500 to 1500 files at a time.  Just a simple
> for() loop, open, read, close...  Nothing fancy...
>
> When I have 3GB of RAM in the system, life is good.. Each read takes 8 to
> 10ms...  This is a good thing!
>
> If I bump the memory up to 12GB, all of the reads are now taking 150 to
> 200ms.
>
> My default, va.swappines to set to 60...  If I decrease this number, the
> problem gets much worse.  If I up va.swappines to 100, the problem gets a
> little better, but not a whole lot.
>
> What should I be looking at???

Can you post the dmesg output and the contents of /proc/mtrr?

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-05-29  0:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-05-28 18:34 Slow Disk I/O Brian D. McGrew
2010-05-29  0:01 ` Robert Hancock

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.