login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
December
»
19
Re: [kvm-devel] Guest kernel hangs in smp kvm for older kernels prior to tsc sync cleanup
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Amit Shah <amit.shah@...>
To: <kvm-devel@...>
Cc: Glauber de Oliveira Costa <glommer@...>, Avi Kivity <avi@...>, linux-kernel <linux-kernel@...>, Avi Kivity <avi@...>, Gerd Hoffmann <kraxel@...>
Subject:
Re: [kvm-devel] Guest kernel hangs in smp kvm for older kernels prior to tsc sync cleanup
Date: Wednesday, December 19, 2007 - 12:55 pm
On Wednesday 19 December 2007 21:02:06 Glauber de Oliveira Costa wrote:
quoted text
> On Dec 19, 2007 12:27 PM, Avi Kivity <avi@argo.co.il> wrote: > > Ingo Molnar wrote: > > > * Avi Kivity <avi@qumranet.com> wrote: > > >> Avi Kivity wrote: > > >>> Testing shows wrmsr and rdtsc function normally. > > >>> > > >>> I'll try pinning the vcpus to cpus and see if that helps. > > >> > > >> It does. > > > > > > do we let the guest read the physical CPU's TSC? That would be trouble. > > > > vmx (and svm) allow us to add an offset to the physical tsc. We set it > > on startup to -tsc (so that an rdtsc on boot would return 0), and > > massage it on vcpu migration so that guest rdtsc is monotonic. > > > > The net effect is that tsc on a vcpu can experience large forward jumps > > and changes in rate, but no negative jumps. > > Changes in rate does not sound good. It's possibly what's screwing up > my paravirt clock implementation in smp.
Do you mean in the case of VM migration, or just starting them on a single host?
quoted text
> Since the host updates guest time prior to putting vcpu to run, two > vcpus that start running at different times will have different system > values. > > Now if the vcpu that started running later probes the time first, > we'll se the time going backwards. A constant tsc rate is the only way > around > my limited mind sees around the problem (besides, obviously, _not_ > making the system time per-vcpu).
--
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
Re: Guest kernel hangs in smp kvm for older kernels prior to...
, Avi Kivity
, (Wed Dec 19, 2:33 am)
Re: [kvm-devel] Guest kernel hangs in smp kvm for older kern...
, Avi Kivity
, (Wed Dec 19, 7:19 am)
Re: [kvm-devel] Guest kernel hangs in smp kvm for older kern...
, Avi Kivity
, (Wed Dec 19, 7:39 am)
Re: [kvm-devel] Guest kernel hangs in smp kvm for older kern...
, Ingo Molnar
, (Wed Dec 19, 10:06 am)
Re: [kvm-devel] Guest kernel hangs in smp kvm for older kern...
, Avi Kivity
, (Wed Dec 19, 10:53 am)
Re: [kvm-devel] Guest kernel hangs in smp kvm for older kern...
, Ingo Molnar
, (Wed Dec 19, 11:09 am)
Re: [kvm-devel] Guest kernel hangs in smp kvm for older kern...
, Avi Kivity
, (Wed Dec 19, 11:21 am)
Re: [kvm-devel] Guest kernel hangs in smp kvm for older kern...
, Avi Kivity
, (Wed Dec 19, 10:27 am)
Re: [kvm-devel] Guest kernel hangs in smp kvm for older kern...
, Glauber de Oliveira Costa...
, (Wed Dec 19, 11:32 am)
Re: [kvm-devel] Guest kernel hangs in smp kvm for older kern...
, Amit Shah
, (Wed Dec 19, 12:55 pm)
Re: [kvm-devel] Guest kernel hangs in smp kvm for older kern...
, Dor Laor
, (Wed Dec 19, 1:04 pm)
Re: [kvm-devel] Guest kernel hangs in smp kvm for older kern...
, Avi Kivity
, (Wed Dec 19, 1:09 pm)
Re: [kvm-devel] Guest kernel hangs in smp kvm for older kern...
, Avi Kivity
, (Wed Dec 19, 11:41 am)
Re: [kvm-devel] Guest kernel hangs in smp kvm for older kern...
, Glauber de Oliveira Costa...
, (Thu Dec 20, 6:34 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Andrew Morton
-mm merge plans for 2.6.23
Greg KH
[GIT PATCH] driver core patches against 2.6.24
Greg KH
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Tomasz Kłoczko
Is it time for remove (crap) ALSA from kernel tree ?
git
:
linux-netdev
:
David Miller
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
David Miller
[GIT]: Networking
Paweł Staszewski
iproute2 action/policer question
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
1 user
and
830 guests
online.
Online users
strcmp
Syndicate