Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Jan 2007 12:36:58 -0800 (PST)
From:      "R. B. Riddick" <arne_woerner@yahoo.com>
To:        CyberLeo Kitsana <cyberleo@cyberleo.net>
Cc:        FreeBSD Geom <freebsd-geom@freebsd.org>
Subject:   Re: geom_raid5 livelock?
Message-ID:  <765687.4465.qm@web30301.mail.mud.yahoo.com>
In-Reply-To: <45A7EF74.9050204@cyberleo.net>

next in thread | previous in thread | raw e-mail | index | archive | help
--- CyberLeo Kitsana <cyberleo@cyberleo.net> wrote:
> Hence the testing. I wish to ensure there are as few problems as 
> possible when this is put into production.
>
OK... I understand that... Testing is important, but the programmer tends to
test not so good... ;-)

> The kernel does not panic, and everything resumes just fine as soon as 
> safeop is disabled. There are no new messages in the kernel log, nor in 
> syslog, and all disks are operating properly, if slowly (around 40 
> kilobytes per second each, with dd bs=4096).
>
Hmm - and at the same time u feel that the processes have to wait much longer
than necessary? Or is it possible, that the processes r just idle and read not
so often? What does "gstat" say (a screen shot during a suspected live lock
would be fine)? CPU usage according to "top"?

> Also, gcache doesn't seem to exist in the base system. Is this easier to 
> build than gjournal? (patching for that caused a whole ton of kernel and 
> world problems I'd rather not revisit)
>
Hmm - gcache is possibly only in 7-CURRENT...

> The attached list was taken during the most recent lockup.
> 
Looks perfect to me... :-)

You could try to activate graid5's debugging by setting the debug level to 2:
  sysctl kern.geom.raid5.debug=2
Then u should see the requests in /var/log/messages...
I would be interested then in those messages during a suspected live lock (just
wait for that strange condition and then set the debug level to 2 for some
seconds until u feel u have enough data...)...

-Arne


 
____________________________________________________________________________________
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?765687.4465.qm>