public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Zachary Amsden <zach@vmware.com>
To: Jan Engelhardt <jengelh@linux01.gwdg.de>
Cc: Mark Lord <lkml@rtr.ca>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: 2.6.18 is problematic in VMware
Date: Tue, 31 Oct 2006 18:33:27 -0800	[thread overview]
Message-ID: <45480777.6070908@vmware.com> (raw)
In-Reply-To: <Pine.LNX.4.61.0610311551370.6900@yvahk01.tjqt.qr>

Jan Engelhardt wrote:
>> My experience with VMware on several recent processors (mostly P-M family)
>> is that it crawls unless I force this first:
>> echo 1 > /sys/module/processor/parameters/max_cstate
>>     
>
> My host processor is non-throttable
> Uni-processor.
>
> I tried with some kernels (hey, vmware had serial ports?)
> For whatever reason, the timecounting is not accurate.
> As you can see, the time difference between "WP bit" and the calibration 
> thing is less than half a second inside the guest, but on the host, 
> the delay is several seconds.
> The Capture Movie feature gets it right 
> http://jengelh.hopto.org/f/2618delay.avi
>   

I see a large delay _before_:

Calibrating delay using timer specific routine.. (lpj==

The lpj value is 38x the host lpj host value.  Booting with lpj="some 
random number" removes the stall for me.  And finally, breaking into 
kernel in this stall period consistently shows EIPs in calibrate_delay 
in backtrace.

> One can see that it pauses before calibration (already mentioned that) 
> and once again after NET: ... during IP init!? What's going on :(
>   

The NET: pause has always been there, I think it just becomes much more 
noticeable if the lpj value is 38x normal.

Conclusion: you are getting bad lpj computation during beginning.  
Doesn't appear to be a kernel bug, so let's take it off list.  You can 
bring it up on VMTN 
http://www.vmware.com/community/index.jspa?categoryID=1 for more 
on-topic support.  In fact, interesting test you can try - suspend / 
resume during the hang.  Does the discontinuity during calibration make 
it go away?

Zach

  reply	other threads:[~2006-11-01  2:33 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-29  9:55 2.6.18 is problematic in VMware Jan Engelhardt
2006-10-30 17:50 ` Zachary Amsden
2006-10-31  7:59   ` Jan Engelhardt
2006-10-31 14:06     ` Mark Lord
2006-10-31 17:20       ` Jan Engelhardt
2006-11-01  2:33         ` Zachary Amsden [this message]
2006-11-03  8:07           ` Jan Engelhardt
2006-11-02  8:21       ` S.Çağlar Onur
2006-11-02  8:13   ` S.Çağlar Onur

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=45480777.6070908@vmware.com \
    --to=zach@vmware.com \
    --cc=jengelh@linux01.gwdg.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lkml@rtr.ca \
    /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