From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Cooper Subject: Re: Question about HLT VMExit reason Date: Thu, 12 Feb 2015 10:06:49 +0000 Message-ID: <54DC7B39.3000801@citrix.com> References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3869687072619871618==" Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: zhangtrump , "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org --===============3869687072619871618== Content-Type: multipart/alternative; boundary="------------070902040400080102060800" --------------070902040400080102060800 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit On 12/02/15 09:24, zhangtrump wrote: > Hi, all: > > I was testing networking performance from DomU to DomU running on > different hosts. I used xentrace and xenalyze tools to get the trace > info of receive side, and found that there was a time when vcpus > (which handle the receive work) were in "Blocked" state. > From the information of "VMExit" reason gotten by xenalyze tool, > the "HLT" is the main exit reason. I am wondering when DomU will be > exited because of "HLT"? > Thanks. Yes. When one vcpu halts, Xen will schedule another vcpu in its place. There is nothing to be gained at all by letting a pcpu stay halted in guest. ~Andrew --------------070902040400080102060800 Content-Type: text/html; charset="UTF-8" Content-Length: 1559 Content-Transfer-Encoding: quoted-printable
On 12/02/15 09:24, zhangtrump wrote:
Hi, all:

=C2=A0 =C2=A0 =C2=A0I was testing networking performance from DomU to DomU running on different hosts. I used xentrace and xenalyze tools to get the trace info of receive side, and found that there was a time when vcpus (which handle the receive work) were in "Blocked" state.
=C2=A0 =C2=A0 =C2=A0From the information of "VMExit" reason gotten by xenalyze tool, the "HLT" is the main exit reason. I am wondering when DomU will be exited because of "HLT"=3F=C2=A0
=C2=A0 =C2=A0 =C2=A0Thanks.

Yes.

When one vcpu halts, Xen will schedule another vcpu in its place.=C2=A0 There is nothing to be gained at all by letting a pcpu stay halted in guest.

~Andrew
--------------070902040400080102060800-- --===============3869687072619871618== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel --===============3869687072619871618==--