mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Srivatsa Vaddagiri <vatsa@linux.vnet.ibm.com>
To: Ken Moffat <zarniwhoop@ntlworld.com>
Cc: Ingo Molnar <mingo@elte.hu>, "Rafael J. Wysocki" <rjw@sisk.pl>,
	lkml <linux-kernel@vger.kernel.org>,
	a.p.zijlstra@chello.nl, aneesh.kumar@linux.vnet.ibm.com,
	dhaval@linux.vnet.ibm.com, Balbir Singh <balbir@in.ibm.com>,
	skumar@linux.vnet.ibm.com
Subject: Re: Regression in gdm-2.18 since 2.6.24
Date: Tue, 8 Apr 2008 14:20:27 +0530	[thread overview]
Message-ID: <20080408085027.GB13042@linux.vnet.ibm.com> (raw)
In-Reply-To: <20080406234833.GA12131@deepthought>

On Mon, Apr 07, 2008 at 12:48:33AM +0100, Ken Moffat wrote:
>  Well, I found your analysis convincing.  Unfortunately, my hardware
> disagreed.  Testing -rc8 with CONFIG_GROUP_SCHED disabled (a test is
> a mixture of 5 attempts to restart and 5 to shutdown):
> 
> 1. the base version success is 4/10
> 
> 2. increasing the granularity by a factor of 10 as you requested,
> success is 8/10

This makes me think that we are just exposing a timing related problem
in gdm here.

How abt a larger factor?

	# echo 200000000 > /proc/sys/kernel/sched_wakeup_granularity_ns

Does that make it 10/10 ?!

Anyway, it would be interesting to analyze the failure scenario more
(with help from gdm developers). Can you get some more debug data in this 
regard?

Before you shutdown,

	# strace -p <gdm-binary-pid1> 2>/tmp/gdmlog1 &
	# strace -p <gdm-binary-pid2> 2>/tmp/gdmlog2 &

Now shutdown and wait few minutes to confirm its not working. Send me
the strace log files ..Hopefully this will give a hint on what they are
deadlocked on (in the last log you sent, i can see both gdm-binaries in
sleep state ..whether that was a momentary state or whether they are 
actually deadlocked, will be confirmed by strace logs above).

>  If I was confused earlier, I guess I must be dazed and confused
> now!

me too!

Ingo/Peter, Any other suggestions you have?


-- 
Regards,
vatsa

  reply	other threads:[~2008-04-08  8:40 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-03 19:19 Ken Moffat
2008-04-03 19:56 ` Rafael J. Wysocki
2008-04-03 21:08   ` Ken Moffat
2008-04-03 21:29     ` Rafael J. Wysocki
2008-04-03 23:48       ` Ken Moffat
2008-04-04  0:20         ` Rafael J. Wysocki
2008-04-04 12:37           ` Ken Moffat
2008-04-04 14:48             ` Dhaval Giani
2008-04-04 15:02               ` Ken Moffat
2008-04-04 14:47         ` Dhaval Giani
2008-04-04 15:00           ` Ken Moffat
2008-04-04 14:37 ` Srivatsa Vaddagiri
2008-04-04 15:32   ` Ken Moffat
2008-04-05 14:40     ` Srivatsa Vaddagiri
2008-04-05 21:03       ` Ken Moffat
2008-04-06 23:48         ` Ken Moffat
2008-04-08  8:50           ` Srivatsa Vaddagiri [this message]
2008-04-08  8:42             ` Peter Zijlstra
2008-04-08 11:21             ` Carlos R. Mafra
2008-04-09 13:07             ` Ken Moffat

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080408085027.GB13042@linux.vnet.ibm.com \
    --to=vatsa@linux.vnet.ibm.com \
    --cc=a.p.zijlstra@chello.nl \
    --cc=aneesh.kumar@linux.vnet.ibm.com \
    --cc=balbir@in.ibm.com \
    --cc=dhaval@linux.vnet.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=rjw@sisk.pl \
    --cc=skumar@linux.vnet.ibm.com \
    --cc=zarniwhoop@ntlworld.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome