All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] snapshots+highmem+'md raid5'
@ 2003-06-12  6:55 Heinz J . Mauelshagen
  2003-06-12  8:19 ` Herbert Poetzl
  2003-06-13 15:59 ` Dale J. Stephenson
  0 siblings, 2 replies; 12+ messages in thread
From: Heinz J . Mauelshagen @ 2003-06-12  6:55 UTC (permalink / raw)
  To: linux-lvm; +Cc: mge

Anyone out there using MD RAID5 as physical volumes, high memory enabled
(> 960m of physical memory) and snapshots under load successfully ?

Regards,
Heinz    -- The LVM Guy --

*** Software bugs are stupid.
    Nevertheless it needs not so stupid people to solve them ***

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Heinz Mauelshagen                                 Sistina Software Inc.
Senior Consultant/Developer                       Am Sonnenhang 11
                                                  56242 Marienrachdorf
                                                  Germany
Mauelshagen@Sistina.com                           +49 2626 141200
                                                       FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

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

* Re: [linux-lvm] snapshots+highmem+'md raid5'
  2003-06-12  6:55 [linux-lvm] snapshots+highmem+'md raid5' Heinz J . Mauelshagen
@ 2003-06-12  8:19 ` Herbert Poetzl
  2003-06-13 15:59 ` Dale J. Stephenson
  1 sibling, 0 replies; 12+ messages in thread
From: Herbert Poetzl @ 2003-06-12  8:19 UTC (permalink / raw)
  To: linux-lvm

On Thu, Jun 12, 2003 at 01:41:51PM +0200, Heinz J . Mauelshagen wrote:
> 
> Anyone out there using MD RAID5 as physical volumes, high memory enabled
> (> 960m of physical memory) and snapshots under load successfully ?

FYI: I use MD RAID5 as physical but I had to disable the
himem completely, because otherwise 1.0.7 would live-lock
the entire system ...

best,
Herbert

> Regards,
> Heinz    -- The LVM Guy --
> 
> *** Software bugs are stupid.
>     Nevertheless it needs not so stupid people to solve them ***
> 
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> 
> Heinz Mauelshagen                                 Sistina Software Inc.
> Senior Consultant/Developer                       Am Sonnenhang 11
>                                                   56242 Marienrachdorf
>                                                   Germany
> Mauelshagen@Sistina.com                           +49 2626 141200
>                                                        FAX 924446
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

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

* RE: [linux-lvm] snapshots+highmem+'md raid5'
@ 2003-06-12  8:30 Koch, Steffen
  2003-06-12 18:55 ` Herbert Poetzl
  0 siblings, 1 reply; 12+ messages in thread
From: Koch, Steffen @ 2003-06-12  8:30 UTC (permalink / raw)
  To: 'linux-lvm@sistina.com'

> > Anyone out there using MD RAID5 as physical volumes, high 
> memory enabled
> > (> 960m of physical memory) and snapshots under load successfully ?
> FYI: I use MD RAID5 as physical but I had to disable the
> himem completely, because otherwise 1.0.7 would live-lock
> the entire system ...

I've a similar problem. My machine has only 768M RAM but I think it may be
related. I've 4 IDE disks making up a MD raid5. This md is a single PV in a
VG. If I copy some amount of data (mostly from about 2-4 gigabytes) to a LV
created in that VG the complete system locks up, no chance to press
ctrl-alt-del, only hard reset works.

If someone has a solution for this please help.

BTW: I'm using LVM 1.0.7

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

* Re: [linux-lvm] snapshots+highmem+'md raid5'
  2003-06-12  8:30 Koch, Steffen
@ 2003-06-12 18:55 ` Herbert Poetzl
  2003-06-13 19:21   ` Petro
  0 siblings, 1 reply; 12+ messages in thread
From: Herbert Poetzl @ 2003-06-12 18:55 UTC (permalink / raw)
  To: linux-lvm

On Thu, Jun 12, 2003 at 03:28:59PM +0200, Koch, Steffen wrote:
> > > Anyone out there using MD RAID5 as physical volumes, high 
> > memory enabled
> > > (> 960m of physical memory) and snapshots under load successfully ?
> > FYI: I use MD RAID5 as physical but I had to disable the
> > himem completely, because otherwise 1.0.7 would live-lock
> > the entire system ...
> 
> I've a similar problem. My machine has only 768M RAM but I think it may be
> related. I've 4 IDE disks making up a MD raid5. This md is a single PV in a
> VG. If I copy some amount of data (mostly from about 2-4 gigabytes) to a LV
> created in that VG the complete system locks up, no chance to press
> ctrl-alt-del, only hard reset works.
> 
> If someone has a solution for this please help.

hmm, do you have himem enabled (in kernel config)?
if yes, try to disable it ...

best,
Herbert

> BTW: I'm using LVM 1.0.7
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

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

* Re: [linux-lvm] snapshots+highmem+'md raid5'
  2003-06-12  6:55 [linux-lvm] snapshots+highmem+'md raid5' Heinz J . Mauelshagen
  2003-06-12  8:19 ` Herbert Poetzl
@ 2003-06-13 15:59 ` Dale J. Stephenson
  1 sibling, 0 replies; 12+ messages in thread
From: Dale J. Stephenson @ 2003-06-13 15:59 UTC (permalink / raw)
  To: linux-lvm

On Thursday, June 12, 2003, at 07:41  AM, Heinz J . Mauelshagen wrote:

>
> Anyone out there using MD RAID5 as physical volumes, high memory 
> enabled
> (> 960m of physical memory) and snapshots under load successfully ?
>
It depends on your definition of successful.  I'm using 2.4.18 with 
HIGHMEM and RAID 5 physical volumes, (and my chaining snapshot patch).  
Existing snapshots seem to work OK under load, but I have trouble 
creating the snapshots under load consistently.  My problems are with 
xfs_fs_freeze(), xfs's fsync_dev_lockfs implementation.

I have similar problems with 2.4.19.  I've run with 2.4.20, but not 
under load.  Haven't tried 2.4.21 yet.

Dale J. Stephenson
dalestephenson@mac.com

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

* Re: [linux-lvm] snapshots+highmem+'md raid5'
  2003-06-12 18:55 ` Herbert Poetzl
@ 2003-06-13 19:21   ` Petro
  2003-06-13 19:38     ` Herbert Poetzl
  0 siblings, 1 reply; 12+ messages in thread
From: Petro @ 2003-06-13 19:21 UTC (permalink / raw)
  To: linux-lvm

On Fri, Jun 13, 2003 at 01:55:01AM +0200, Herbert Poetzl wrote:
> On Thu, Jun 12, 2003 at 03:28:59PM +0200, Koch, Steffen wrote:
> > If someone has a solution for this please help.
> hmm, do you have himem enabled (in kernel config)?
> if yes, try to disable it ...

    Does this apply to RAID 0 as well? 

    I've got several boxes running with:

    CONFIG_HIGHMEM4G=y
    # CONFIG_HIGHMEM64G is not set
    CONFIG_HIGHMEM=y

    And 2-4 GiB of ram under 2.4.18, with LVM 1.03. 

    I'm trying to get LVM 1.07 to compile with 2.4.21 with :
    
    CONFIG_HIGHMEM4G=y
    # CONFIG_HIGHMEM64G is not set
    CONFIG_HIGHMEM=y
    CONFIG_HIGHIO=y


    Why is this bad? 
    

-- 
"On two occasions, I have been asked [by members of Parliament], 'Pray, 
Mr. Babbage, if you put into the machine wrong figures, will the right 
answers come out?' I am not able to rightly apprehend the kind of confusion 
of ideas that could provoke such a question." -- Charles Babbage 

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

* Re: [linux-lvm] snapshots+highmem+'md raid5'
  2003-06-13 19:21   ` Petro
@ 2003-06-13 19:38     ` Herbert Poetzl
  2003-06-14 14:52       ` Svetoslav Slavtchev
  0 siblings, 1 reply; 12+ messages in thread
From: Herbert Poetzl @ 2003-06-13 19:38 UTC (permalink / raw)
  To: linux-lvm

On Fri, Jun 13, 2003 at 05:20:27PM -0700, Petro wrote:
> On Fri, Jun 13, 2003 at 01:55:01AM +0200, Herbert Poetzl wrote:
> > On Thu, Jun 12, 2003 at 03:28:59PM +0200, Koch, Steffen wrote:
> > > If someone has a solution for this please help.
> > hmm, do you have himem enabled (in kernel config)?
> > if yes, try to disable it ...
> 
>     Does this apply to RAID 0 as well? 
> 
>     I've got several boxes running with:
> 
>     CONFIG_HIGHMEM4G=y
>     # CONFIG_HIGHMEM64G is not set
>     CONFIG_HIGHMEM=y
> 
>     And 2-4 GiB of ram under 2.4.18, with LVM 1.03. 
> 
>     I'm trying to get LVM 1.07 to compile with 2.4.21 with :
>     
>     CONFIG_HIGHMEM4G=y
>     # CONFIG_HIGHMEM64G is not set
>     CONFIG_HIGHMEM=y
>     CONFIG_HIGHIO=y
> 
> 
>     Why is this bad? 

didn't say that this would be bad, only that
it live-locked my system at high load ...
the tenor on the list was: "highmem is bad"
so I turned it off, and, voila the system was
stable again ...

another, yet unexplained issue, is that on
another system, 4 SCSI discs, form a RAID 5
array (software) which gives about 35MB
throughput, but lvm 1.0.7 ontop of that md
only has about 18MB throughput ...

YMMV,
Herbert

> -- 
> "On two occasions, I have been asked [by members of Parliament], 'Pray, 
> Mr. Babbage, if you put into the machine wrong figures, will the right 
> answers come out?' I am not able to rightly apprehend the kind of confusion 
> of ideas that could provoke such a question." -- Charles Babbage 
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

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

* Re: [linux-lvm] snapshots+highmem+'md raid5'
  2003-06-13 19:38     ` Herbert Poetzl
@ 2003-06-14 14:52       ` Svetoslav Slavtchev
  2003-06-14 15:08         ` Herbert Poetzl
  0 siblings, 1 reply; 12+ messages in thread
From: Svetoslav Slavtchev @ 2003-06-14 14:52 UTC (permalink / raw)
  To: linux-lvm

Quoting Herbert Poetzl <herbert@13thfloor.at>:

> On Fri, Jun 13, 2003 at 05:20:27PM -0700, Petro wrote:
> > On Fri, Jun 13, 2003 at 01:55:01AM +0200, Herbert Poetzl wrote:
> > > On Thu, Jun 12, 2003 at 03:28:59PM +0200, Koch, Steffen wrote:
> > > > If someone has a solution for this please help.
> > > hmm, do you have himem enabled (in kernel config)?
> > > if yes, try to disable it ...
> > 
> >     Does this apply to RAID 0 as well? 
> > 
> >     I've got several boxes running with:
> > 
> >     CONFIG_HIGHMEM4G=y
> >     # CONFIG_HIGHMEM64G is not set
> >     CONFIG_HIGHMEM=y
> > 
> >     And 2-4 GiB of ram under 2.4.18, with LVM 1.03. 
> > 
> >     I'm trying to get LVM 1.07 to compile with 2.4.21 with :
> >     
> >     CONFIG_HIGHMEM4G=y
> >     # CONFIG_HIGHMEM64G is not set
> >     CONFIG_HIGHMEM=y
> >     CONFIG_HIGHIO=y
> > 
> > 
> >     Why is this bad? 
> 
> didn't say that this would be bad, only that
> it live-locked my system at high load ...
> the tenor on the list was: "highmem is bad"
> so I turned it off, and, voila the system was
> stable again ...

snapshots + md + highmem is very bad
if you don't use snapshots its perfectly OK

> another, yet unexplained issue, is that on
> another system, 4 SCSI discs, form a RAID 5
> array (software) which gives about 35MB
> throughput, but lvm 1.0.7 ontop of that md
> only has about 18MB throughput ...

I've a bit defferent figures from a onboard HPT374 4 ide chanels with
4 IBM deskstars 80Gb, but i still lose 8-15Mb/s compared to plain md :

/dev/hda:
 Timing buffer-cache reads:   128 MB in  0.41 seconds =308.43 MB/sec
 Timing buffered disk reads:  64 MB in  1.42 seconds = 45.07 MB/sec
[root@svetljo root]# hdparm -tT /dev/md13

/dev/md13:
 Timing buffer-cache reads:   128 MB in  0.41 seconds =316.05 MB/sec
 Timing buffered disk reads:  64 MB in  1.08 seconds = 59.26 MB/sec
[root@svetljo root]# hdparm -tT /dev/data
data   data2
[root@svetljo root]# hdparm -tT /dev/data2/Movies

/dev/data2/Movies:
 Timing buffer-cache reads:   128 MB in  0.41 seconds =316.05 MB/sec
 Timing buffered disk reads:  64 MB in  1.32 seconds = 48.30 MB/sec

time dd if=/dev/zero of=/mnt/Movies/BigFile.tm bs=1M count=4000
4000+0 records in
4000+0 records out
0.02user 15.57system 1:37.10elapsed 16%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (148major+40minor)pagefaults 0swaps

best,

Svetljo

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

* Re: [linux-lvm] snapshots+highmem+'md raid5'
  2003-06-14 14:52       ` Svetoslav Slavtchev
@ 2003-06-14 15:08         ` Herbert Poetzl
  2003-06-14 16:11           ` Svetoslav Slavtchev
  2003-06-16  4:46           ` Heinz J . Mauelshagen
  0 siblings, 2 replies; 12+ messages in thread
From: Herbert Poetzl @ 2003-06-14 15:08 UTC (permalink / raw)
  To: linux-lvm; +Cc: Svetoslav Slavtchev, Heinz J . Mauelshagen

On Sat, Jun 14, 2003 at 02:45:11PM +0200, Svetoslav Slavtchev wrote:
> Quoting Herbert Poetzl <herbert@13thfloor.at>:
> 
> > didn't say that this would be bad, only that
> > it live-locked my system at high load ...
> > the tenor on the list was: "highmem is bad"
> > so I turned it off, and, voila the system was
> > stable again ...
> 
> snapshots + md + highmem is very bad
> if you don't use snapshots its perfectly OK

I have to disagree, live-lock under high load is
not perfectly OK, at least not for me ... 8-)

> > another, yet unexplained issue, is that on
> > another system, 4 SCSI discs, form a RAID 5
> > array (software) which gives about 35MB
> > throughput, but lvm 1.0.7 ontop of that md
> > only has about 18MB throughput ...
> 
> I've a bit defferent figures from a onboard HPT374 4 ide chanels with
> 4 IBM deskstars 80Gb, but i still lose 8-15Mb/s compared to plain md :
> 
> /dev/hda:
>  Timing buffer-cache reads:   128 MB in  0.41 seconds =308.43 MB/sec
>  Timing buffered disk reads:  64 MB in  1.42 seconds = 45.07 MB/sec
> [root@svetljo root]# hdparm -tT /dev/md13
> 
> /dev/md13:
>  Timing buffer-cache reads:   128 MB in  0.41 seconds =316.05 MB/sec
>  Timing buffered disk reads:  64 MB in  1.08 seconds = 59.26 MB/sec
> [root@svetljo root]# hdparm -tT /dev/data
> data   data2
> [root@svetljo root]# hdparm -tT /dev/data2/Movies
> 
> /dev/data2/Movies:
>  Timing buffer-cache reads:   128 MB in  0.41 seconds =316.05 MB/sec
>  Timing buffered disk reads:  64 MB in  1.32 seconds = 48.30 MB/sec

I posted my results a month ago, but I digged them
out again, because together with your results, it
sheds new light on that issue ...

mine          	raw disc    md(raid5)   lvm on md
-----------------------------------------------------
hdparm          14694.40    34129.92    18667.52
dd 1024k        14988.22    34732.56    18647.98
dd 32k          15516.06    33945.48    18862.67

yours          	raw disc    md(raid5)   lvm on md
-----------------------------------------------------
hdparm          46151.68    60682.24    49459.20 

in both cases the lvm lies about 3MB over the raw
disc throughput, regardless of the md values ...

maybe this could lead to some explanation of this
issue ... unfortunately there was no reply to my
posting over the last month *sigh*

best,
Herbert

> time dd if=/dev/zero of=/mnt/Movies/BigFile.tm bs=1M count=4000
> 4000+0 records in
> 4000+0 records out
> 0.02user 15.57system 1:37.10elapsed 16%CPU (0avgtext+0avgdata 0maxresident)k
> 0inputs+0outputs (148major+40minor)pagefaults 0swaps
> 
> best,
> 
> Svetljo
> 
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

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

* Re: [linux-lvm] snapshots+highmem+'md raid5'
  2003-06-14 15:08         ` Herbert Poetzl
@ 2003-06-14 16:11           ` Svetoslav Slavtchev
  2003-06-16  4:46           ` Heinz J . Mauelshagen
  1 sibling, 0 replies; 12+ messages in thread
From: Svetoslav Slavtchev @ 2003-06-14 16:11 UTC (permalink / raw)
  To: herbert; +Cc: linux-lvm, Svetoslav Slavtchev, Heinz J . Mauelshagen

Quoting Herbert Poetzl <herbert@13thfloor.at>:

> On Sat, Jun 14, 2003 at 02:45:11PM +0200, Svetoslav Slavtchev wrote:
> > Quoting Herbert Poetzl <herbert@13thfloor.at>:
> > 
> > > didn't say that this would be bad, only that
> > > it live-locked my system at high load ...
> > > the tenor on the list was: "highmem is bad"
> > > so I turned it off, and, voila the system was
> > > stable again ...
> > 
> > snapshots + md + highmem is very bad
> > if you don't use snapshots its perfectly OK
> 
> I have to disagree, live-lock under high load is
> not perfectly OK, at least not for me ... 8-)

i never had a lock-up :)
this is with lvm1 soft raid 0 &5 and xfs.
(firstly 1Gb and from a week 1.5Gb)

> > > another, yet unexplained issue, is that on
> > > another system, 4 SCSI discs, form a RAID 5
> > > array (software) which gives about 35MB
> > > throughput, but lvm 1.0.7 ontop of that md
> > > only has about 18MB throughput ...
> > 
> > I've a bit defferent figures from a onboard HPT374 4 ide chanels
> with
> > 4 IBM deskstars 80Gb, but i still lose 8-15Mb/s compared to plain md
> :
> > 
> > /dev/hda:
> >  Timing buffer-cache reads:   128 MB in  0.41 seconds =308.43 MB/sec
> >  Timing buffered disk reads:  64 MB in  1.42 seconds = 45.07 MB/sec
> > [root@svetljo root]# hdparm -tT /dev/md13
> > 
> > /dev/md13:
> >  Timing buffer-cache reads:   128 MB in  0.41 seconds =316.05 MB/sec
> >  Timing buffered disk reads:  64 MB in  1.08 seconds = 59.26 MB/sec
> > [root@svetljo root]# hdparm -tT /dev/data
> > data   data2
> > [root@svetljo root]# hdparm -tT /dev/data2/Movies
> > 
> > /dev/data2/Movies:
> >  Timing buffer-cache reads:   128 MB in  0.41 seconds =316.05 MB/sec
> >  Timing buffered disk reads:  64 MB in  1.32 seconds = 48.30 MB/sec
> 
> I posted my results a month ago, but I digged them
> out again, because together with your results, it
> sheds new light on that issue ...
> 
> mine          	raw disc    md(raid5)   lvm on md
> -----------------------------------------------------
> hdparm          14694.40    34129.92    18667.52
> dd 1024k        14988.22    34732.56    18647.98
> dd 32k          15516.06    33945.48    18862.67
> 
> yours          	raw disc    md(raid5)   lvm on md
> -----------------------------------------------------
> hdparm          46151.68    60682.24    49459.20 
> 
> in both cases the lvm lies about 3MB over the raw
> disc throughput, regardless of the md values ...
> 
> maybe this could lead to some explanation of this
> issue ... unfortunately there was no reply to my
> posting over the last month *sigh*

hm this is really strange.
but can we belive hdparm, i think no.
i was getting ~55Mb/s  on raid-0 with bonnie++ but hdparm gives between 58-68Mb/s.
i probably have to try to free one of the md5 raids and run bonnie++ on it,
it should give better/ trustable numbers 


best,

svetljo

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

* Re: [linux-lvm] snapshots+highmem+'md raid5'
  2003-06-14 15:08         ` Herbert Poetzl
  2003-06-14 16:11           ` Svetoslav Slavtchev
@ 2003-06-16  4:46           ` Heinz J . Mauelshagen
  2003-06-16  5:27             ` Herbert Poetzl
  1 sibling, 1 reply; 12+ messages in thread
From: Heinz J . Mauelshagen @ 2003-06-16  4:46 UTC (permalink / raw)
  To: Herbert Poetzl; +Cc: linux-lvm, Svetoslav Slavtchev, Heinz J . Mauelshagen

On Sat, Jun 14, 2003 at 10:07:54PM +0200, Herbert Poetzl wrote:
> On Sat, Jun 14, 2003 at 02:45:11PM +0200, Svetoslav Slavtchev wrote:
> > Quoting Herbert Poetzl <herbert@13thfloor.at>:
> > 
> > > didn't say that this would be bad, only that
> > > it live-locked my system at high load ...
> > > the tenor on the list was: "highmem is bad"
> > > so I turned it off, and, voila the system was
> > > stable again ...
> > 
> > snapshots + md + highmem is very bad
> > if you don't use snapshots its perfectly OK
> 
> I have to disagree, live-lock under high load is
> not perfectly OK, at least not for me ... 8-)
> 
> > > another, yet unexplained issue, is that on
> > > another system, 4 SCSI discs, form a RAID 5
> > > array (software) which gives about 35MB
> > > throughput, but lvm 1.0.7 ontop of that md
> > > only has about 18MB throughput ...
> > 
> > I've a bit defferent figures from a onboard HPT374 4 ide chanels with
> > 4 IBM deskstars 80Gb, but i still lose 8-15Mb/s compared to plain md :
> > 
> > /dev/hda:
> >  Timing buffer-cache reads:   128 MB in  0.41 seconds =308.43 MB/sec
> >  Timing buffered disk reads:  64 MB in  1.42 seconds = 45.07 MB/sec
> > [root@svetljo root]# hdparm -tT /dev/md13
> > 
> > /dev/md13:
> >  Timing buffer-cache reads:   128 MB in  0.41 seconds =316.05 MB/sec
> >  Timing buffered disk reads:  64 MB in  1.08 seconds = 59.26 MB/sec
> > [root@svetljo root]# hdparm -tT /dev/data
> > data   data2
> > [root@svetljo root]# hdparm -tT /dev/data2/Movies
> > 
> > /dev/data2/Movies:
> >  Timing buffer-cache reads:   128 MB in  0.41 seconds =316.05 MB/sec
> >  Timing buffered disk reads:  64 MB in  1.32 seconds = 48.30 MB/sec
> 
> I posted my results a month ago, but I digged them
> out again, because together with your results, it
> sheds new light on that issue ...
> 
> mine          	raw disc    md(raid5)   lvm on md
> -----------------------------------------------------
> hdparm          14694.40    34129.92    18667.52
> dd 1024k        14988.22    34732.56    18647.98
> dd 32k          15516.06    33945.48    18862.67
> 
> yours          	raw disc    md(raid5)   lvm on md
> -----------------------------------------------------
> hdparm          46151.68    60682.24    49459.20 
> 
> in both cases the lvm lies about 3MB over the raw
> disc throughput, regardless of the md values ...

The reason probably is LVMs read ahead.

> 
> maybe this could lead to some explanation of this
> issue ... unfortunately there was no reply to my
> posting over the last month *sigh*
> 
> best,
> Herbert
> 
> > time dd if=/dev/zero of=/mnt/Movies/BigFile.tm bs=1M count=4000
> > 4000+0 records in
> > 4000+0 records out
> > 0.02user 15.57system 1:37.10elapsed 16%CPU (0avgtext+0avgdata 0maxresident)k
> > 0inputs+0outputs (148major+40minor)pagefaults 0swaps
> > 
> > best,
> > 
> > Svetljo
> > 
> > 
> > _______________________________________________
> > linux-lvm mailing list
> > linux-lvm@sistina.com
> > http://lists.sistina.com/mailman/listinfo/linux-lvm
> > read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

-- 

Regards,
Heinz    -- The LVM Guy --

*** Software bugs are stupid.
    Nevertheless it needs not so stupid people to solve them ***

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Heinz Mauelshagen                                 Sistina Software Inc.
Senior Consultant/Developer                       Am Sonnenhang 11
                                                  56242 Marienrachdorf
                                                  Germany
Mauelshagen@Sistina.com                           +49 2626 141200
                                                       FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

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

* Re: [linux-lvm] snapshots+highmem+'md raid5'
  2003-06-16  4:46           ` Heinz J . Mauelshagen
@ 2003-06-16  5:27             ` Herbert Poetzl
  0 siblings, 0 replies; 12+ messages in thread
From: Herbert Poetzl @ 2003-06-16  5:27 UTC (permalink / raw)
  To: mauelshagen; +Cc: linux-lvm, Svetoslav Slavtchev

On Mon, Jun 16, 2003 at 11:32:49AM +0200, Heinz J . Mauelshagen wrote:
> On Sat, Jun 14, 2003 at 10:07:54PM +0200, Herbert Poetzl wrote:
> > On Sat, Jun 14, 2003 at 02:45:11PM +0200, Svetoslav Slavtchev wrote:
> > > Quoting Herbert Poetzl <herbert@13thfloor.at>:

 ... some highmem live-lock issue [removed] ...

> > I posted my results a month ago, but I digged them
> > out again, because together with your results, it
> > sheds new light on that issue ...
> > 
> > mine          	raw disc    md(raid5)   lvm on md
> > -----------------------------------------------------
> > hdparm          14694.40    34129.92    18667.52
> > dd 1024k        14988.22    34732.56    18647.98
> > dd 32k          15516.06    33945.48    18862.67
> > 
> > yours          	raw disc    md(raid5)   lvm on md
> > -----------------------------------------------------
> > hdparm          46151.68    60682.24    49459.20 
> > 
> > in both cases the lvm lies about 3MB over the raw
> > disc throughput, regardless of the md values ...
> 
> The reason probably is LVMs read ahead.

hmm, so it's a feature?

seriously, what can be done about it?
it surely doesn't hurt on a 50M per disk throughput 
system, but 34M/19M seems cruel, especially because 
I'm thinking of adding one or two more discs to the 
system, which probably leads to a 50M/19M situation 
with lvm?

TIA,
Herbert

PS: why am I receiving your emails twice, with 
alternating From headers? I actually get them
three times as I'm subscribed to the list too ;)

Heinz.Mauelshagen@t-online.de (Heinz J . Mauelshagen)
"Heinz J . Mauelshagen" <mauelshagen@sistina.com>
(one list copy)

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

end of thread, other threads:[~2003-06-16  5:27 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-12  6:55 [linux-lvm] snapshots+highmem+'md raid5' Heinz J . Mauelshagen
2003-06-12  8:19 ` Herbert Poetzl
2003-06-13 15:59 ` Dale J. Stephenson
  -- strict thread matches above, loose matches on Subject: below --
2003-06-12  8:30 Koch, Steffen
2003-06-12 18:55 ` Herbert Poetzl
2003-06-13 19:21   ` Petro
2003-06-13 19:38     ` Herbert Poetzl
2003-06-14 14:52       ` Svetoslav Slavtchev
2003-06-14 15:08         ` Herbert Poetzl
2003-06-14 16:11           ` Svetoslav Slavtchev
2003-06-16  4:46           ` Heinz J . Mauelshagen
2003-06-16  5:27             ` Herbert Poetzl

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.