Linux LVM users
 help / color / mirror / Atom feed
* [linux-lvm] High loads when writting to LVM
@ 2004-10-27 15:14 Judd Tracy
  2004-10-27 15:27 ` Paul Warren
  0 siblings, 1 reply; 2+ messages in thread
From: Judd Tracy @ 2004-10-27 15:14 UTC (permalink / raw)
  To: linux-lvm

I have a system that I am testing out lvm on to get a feeling about 
stability and performance.  Stability right now seems good, but I am a 
little worried about the performance currently I am writing out a large 
file ~1TB using dd if=/dev/zero of=test bs=1M and am noticing the load 
seams extreamly high "5.21, 5.26, 5.17".  Most of the work is being done 
in dd but I also notice that kswapd0 is also working fairly heavily.  Is 
this to be expected with LVM or do i have things setup wrong.  Write 
performance seems to be around 100MB/s on an XFS filesystem.

System:
Opteron 242 1.4Ghz
2 GB RAM
Tyan S2882
3W-9000-12 in raid-5 with one hot spare
12 Seagate 250MB SATA drives
Fedora Core 2
Kernel 2.6.8-1.521

Judd Tracy
jtracy@ist.ucf.edu

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

* Re: [linux-lvm] High loads when writting to LVM
  2004-10-27 15:14 [linux-lvm] High loads when writting to LVM Judd Tracy
@ 2004-10-27 15:27 ` Paul Warren
  0 siblings, 0 replies; 2+ messages in thread
From: Paul Warren @ 2004-10-27 15:27 UTC (permalink / raw)
  To: LVM general discussion and development

On Wed, Oct 27, 2004 at 11:14:05AM -0400, Judd Tracy wrote:
> I have a system that I am testing out lvm on to get a feeling about 
> stability and performance.  Stability right now seems good, but I am a 
> little worried about the performance currently I am writing out a large 
> file ~1TB using dd if=/dev/zero of=test bs=1M and am noticing the load 
> seams extreamly high "5.21, 5.26, 5.17".  Most of the work is being done 
> in dd but I also notice that kswapd0 is also working fairly heavily.  Is 
> this to be expected with LVM or do i have things setup wrong.  Write 
> performance seems to be around 100MB/s on an XFS filesystem.

This may be a result of how load average is calculated.  What is the CPU
usage when doing these (see top)?  On a machine with a large number of
processes accessing the disk, it is quite easy for a single, I/O
intensive application (such as your dd) to drive the load up.

The load average is telling you that you have 5 processes blocked
waiting for I/O.  Without the dd, the time taken to service each is
reduced, and the average number blocked at any given time is therefore
lower.

On our combined shell/web/email server, an I/O intensive process will
result in a load of well over 10, yet responsiveness of the system
is not actually that bad, and cpu usage remains low.

Paul

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

end of thread, other threads:[~2004-10-27 15:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-27 15:14 [linux-lvm] High loads when writting to LVM Judd Tracy
2004-10-27 15:27 ` Paul Warren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox