All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] md + lvm + reiser
@ 2002-09-07 17:18 Chris Jantzen
  2002-09-08 16:46 ` Xavier Montagutelli
  0 siblings, 1 reply; 4+ messages in thread
From: Chris Jantzen @ 2002-09-07 17:18 UTC (permalink / raw)
  To: linux-lvm

Excuse me if this has been covered already, though I did try to read
through the archives. I am running md raid5 (software) over several
drives and importing that into LVM and using reiserfs. It's worked fine
for some time, but now I want to start snapshots. I've learned about the
VFS lock patch, yes, but my real question is: why is the raid5 buffer
cache constantly thrashing back and forth? I assume this has to do with
a conflict between reiserfs's 4096 byte blocks and LVM's 512
SECTOR_SIZE. Or did I configure something wrong somewhere? Is it safe to
just change SECTOR_SIZE in lvm.h or will that mess up on-disk
structures? Thank you.

-- 
chris jantzen kb7rnl =->         __O
Insert witty comment here.     _`\<,_
http://www.maybe.net/         (*)/ (*)

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

* Re: [linux-lvm] md + lvm + reiser
  2002-09-07 17:18 [linux-lvm] md + lvm + reiser Chris Jantzen
@ 2002-09-08 16:46 ` Xavier Montagutelli
  2002-09-08 17:07   ` Luca Berra
  0 siblings, 1 reply; 4+ messages in thread
From: Xavier Montagutelli @ 2002-09-08 16:46 UTC (permalink / raw)
  To: linux-lvm

On Sat, 7 Sep 2002, Chris Jantzen wrote:

> Excuse me if this has been covered already, though I did try to read
> through the archives. I am running md raid5 (software) over several
> drives and importing that into LVM and using reiserfs. It's worked fine
> for some time, but now I want to start snapshots. I've learned about the
> VFS lock patch, yes, but my real question is: why is the raid5 buffer
> cache constantly thrashing back and forth? I assume this has to do with
> a conflict between reiserfs's 4096 byte blocks and LVM's 512
> SECTOR_SIZE. Or did I configure something wrong somewhere? Is it safe to
> just change SECTOR_SIZE in lvm.h or will that mess up on-disk
> structures? Thank you.

I have exactly the same symptoms with the same configuration (md + lvm +
reiser) ; the raid5 cache size keeps changing when I start using
snapshots. Does someone have some tips to avoid/explain this ?


--
[ Xavier Montagutelli          `""'                                   ]
[ INSA Toulouse                0--0                                   ]
[               ---------oOOo---()---oOOo----------                   ]
[ Dpt de Math / Service Informatique  Tel: +33 5 61 55 93 38 / 67     ]
[ 135, Avenue de Rangueil             Fax: +33 5 61 55 93 20 / 60     ]
[ 31077 Toulouse Cedex 4              Mel: montagut@gmm.insa-tlse.fr  ]

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

* Re: [linux-lvm] md + lvm + reiser
  2002-09-08 16:46 ` Xavier Montagutelli
@ 2002-09-08 17:07   ` Luca Berra
  2002-09-08 17:24     ` Chris Jantzen
  0 siblings, 1 reply; 4+ messages in thread
From: Luca Berra @ 2002-09-08 17:07 UTC (permalink / raw)
  To: linux-lvm

On Sun, Sep 08, 2002 at 11:44:41PM +0200, Xavier Montagutelli wrote:
>On Sat, 7 Sep 2002, Chris Jantzen wrote:
>
>> VFS lock patch, yes, but my real question is: why is the raid5 buffer
>> cache constantly thrashing back and forth? I assume this has to do with
...
>I have exactly the same symptoms with the same configuration (md + lvm +
>reiser) ; the raid5 cache size keeps changing when I start using
>snapshots. Does someone have some tips to avoid/explain this ?

The r5 cache needs a fixed request size, Neil once explained me, but i
do not recall the exact details now, when the md layer receives a
request with different size, it has to be emptied and recreated with
the new size.
This is the meaning of the message, it is harmless, except for
performance, at the moment the best that can be done about it is
commenting out the message.

regards,
L.
-- 
Luca Berra -- bluca@comedia.it
        Communication Media & Services S.r.l.
 /"\
 \ /     ASCII RIBBON CAMPAIGN
  X        AGAINST HTML MAIL
 / \

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

* Re: [linux-lvm] md + lvm + reiser
  2002-09-08 17:07   ` Luca Berra
@ 2002-09-08 17:24     ` Chris Jantzen
  0 siblings, 0 replies; 4+ messages in thread
From: Chris Jantzen @ 2002-09-08 17:24 UTC (permalink / raw)
  To: linux-lvm

On Mon, Sep 09, 2002 at 12:04:11AM +0200, Luca Berra wrote:
> On Sun, Sep 08, 2002 at 11:44:41PM +0200, Xavier Montagutelli wrote:
> >On Sat, 7 Sep 2002, Chris Jantzen wrote:
> >
> >>VFS lock patch, yes, but my real question is: why is the raid5 buffer
> >>cache constantly thrashing back and forth? I assume this has to do with
> ...
> >I have exactly the same symptoms with the same configuration (md + lvm +
> >reiser) ; the raid5 cache size keeps changing when I start using
> >snapshots. Does someone have some tips to avoid/explain this ?
> 
> The r5 cache needs a fixed request size, Neil once explained me, but i
> do not recall the exact details now, when the md layer receives a
> request with different size, it has to be emptied and recreated with
> the new size.
> This is the meaning of the message, it is harmless, except for
> performance, at the moment the best that can be done about it is
> commenting out the message.


Well, I know it's harmful and I know that's exactly why it happens. I
want my performance though! :-) I was wondering if any of the deep LVM
guru's could say whether SECTOR_SIZE could be safely bumped up. Thanks
for the input and I think I'll wait a few more days before making a hard
decision.

-- 
chris jantzen kb7rnl =->         __O
Insert witty comment here.     _`\<,_
http://www.maybe.net/         (*)/ (*)

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

end of thread, other threads:[~2002-09-08 17:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-07 17:18 [linux-lvm] md + lvm + reiser Chris Jantzen
2002-09-08 16:46 ` Xavier Montagutelli
2002-09-08 17:07   ` Luca Berra
2002-09-08 17:24     ` Chris Jantzen

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.