All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jeremy Fitzhardinge <jeremy@goop.org>
To: Mukesh Rathor <mukesh.rathor@oracle.com>
Cc: "kurt.hackel@oracle.com" <kurt.hackel@oracle.com>,
	Dan Magenheimer <dan.magenheimer@oracle.com>,
	"Xen-devel@lists.xensource.com" <Xen-devel@lists.xensource.com>,
	Keir Fraser <keir.fraser@eu.citrix.com>,
	Jan Beulich <JBeulich@novell.com>
Subject: Re: [timer/ticks related] dom0 hang during boot on large 1TB system
Date: Mon, 21 Dec 2009 11:55:09 -0800	[thread overview]
Message-ID: <4B2FD29D.1010807@goop.org> (raw)
In-Reply-To: <20091221115252.2c3a64ea@mantra.us.oracle.com>

On 12/21/2009 11:52 AM, Mukesh Rathor wrote:
> On Mon, 21 Dec 2009 19:07:39 +0000
> Keir Fraser<keir.fraser@eu.citrix.com>  wrote:
>
>    
>> On 21/12/2009 18:20, "Dan Magenheimer"<dan.magenheimer@oracle.com>
>> wrote:
>>
>>      
>>> Not to say the problem can't or shouldn't be fixed in Xen.
>>> Keir, would bad things happen if construct_dom0 is done after
>>> scrub_heap_pages()?  Other than some time wastage because
>>> dom0's memory would get scrubbed just before it gets
>>> overwritten (which is admittedly a much bigger problem
>>> when dom0_mem is not specified in the Xen boot line
>>> on a machine with ginormous memory).
>>>        
>> The problem is more likely that Xen system time started ticking some
>> time earlier during boot process. I doubt it is to do with ordering of
>> construct_dom0 versus boot-time scrubbing.
>>
>>   -- Keir
>>
>>      
> The problem is exactly how Dan described it. 'delta' for first interrupt
> in dom0->timer_interrupt() goes up proportionately with amount of memory
> on system. On this box, it appears more than 600GB causes delta to be
> large enough to wrap jiffies.
>
>   1TB delta: 940b7d68a4
> 32GB delta: 02ae56eadb
>
> xen->send_guest_vcpu_virq() ---->  dom0->handle_IRQ() ->  timer_interrupt()
>
> timer_interrupt will call do_timer delta/NS_PER_TICK number of times.
>    

How is it computing that delta?

Anyway, I'm not at all sure this will apply to a pvops dom0 kernel as it 
does timekeeping quite differently from 2.6.18-xen.

     J

  reply	other threads:[~2009-12-21 19:55 UTC|newest]

Thread overview: 51+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-18  4:36 [timer/ticks related] dom0 hang during boot on large 1TB system Mukesh Rathor
2009-12-18  7:02 ` Keir Fraser
2009-12-18  8:42   ` Jan Beulich
2009-12-18  9:13     ` Keir Fraser
2009-12-18 16:35       ` Dan Magenheimer
2009-12-18 17:15         ` Keir Fraser
2009-12-18 19:28       ` Mukesh Rathor
2009-12-18 19:25   ` Mukesh Rathor
2009-12-19  4:43   ` Mukesh Rathor
2009-12-21  9:55     ` Jan Beulich
2009-12-21 18:20       ` Dan Magenheimer
2009-12-21 19:07         ` Keir Fraser
2009-12-21 19:52           ` Mukesh Rathor
2009-12-21 19:55             ` Jeremy Fitzhardinge [this message]
2009-12-21 22:47               ` Mukesh Rathor
2009-12-21 23:13                 ` Jeremy Fitzhardinge
2009-12-21 23:57                   ` Dan Magenheimer
2009-12-22  4:31                     ` Mukesh Rathor
2009-12-22  8:51         ` Jan Beulich
2009-12-22 10:20           ` Keir Fraser
2009-12-22 11:10             ` Jan Beulich
2009-12-22 13:35               ` Keir Fraser
2009-12-22 14:17                 ` Jan Beulich
2009-12-22 14:23                   ` Jan Beulich
2009-12-22 15:19                     ` Keir Fraser
2009-12-22 15:30                     ` Dan Magenheimer
2009-12-22 15:36                       ` Jan Beulich
2009-12-22 16:05                         ` Dan Magenheimer
2009-12-22 17:02                           ` Jan Beulich
2009-12-22 18:03                             ` Jeremy Fitzhardinge
2010-01-04  8:23                               ` Jan Beulich
2010-01-04 22:07                                 ` Dan Magenheimer
2010-01-04 22:21                                   ` Ian Campbell
2010-01-05  8:33                                   ` Jan Beulich
2010-01-05 15:46                                     ` Dan Magenheimer
2010-01-05 15:54                                       ` Ian Campbell
2010-01-05 16:08                                       ` Jan Beulich
2009-12-22 16:33                 ` Jan Beulich
2009-12-22 16:42                   ` Jan Beulich
2009-12-22 17:27                     ` Dan Magenheimer
2009-12-22 17:48                     ` Keir Fraser
2009-12-22 18:42                     ` Keir Fraser
2009-12-22 23:00                       ` Mukesh Rathor
2009-12-21 10:44     ` Keir Fraser
2009-12-21 23:40       ` Mukesh Rathor
2009-12-22  7:35         ` Keir Fraser
2009-12-21 19:17     ` Steve Ofsthun
2009-12-22  4:00       ` Mukesh Rathor
2009-12-22  4:18         ` Mukesh Rathor
2009-12-22  7:59         ` Keir Fraser
2009-12-22  8:05           ` Keir Fraser

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=4B2FD29D.1010807@goop.org \
    --to=jeremy@goop.org \
    --cc=JBeulich@novell.com \
    --cc=Xen-devel@lists.xensource.com \
    --cc=dan.magenheimer@oracle.com \
    --cc=keir.fraser@eu.citrix.com \
    --cc=kurt.hackel@oracle.com \
    --cc=mukesh.rathor@oracle.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 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.