From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753444AbdLMQ2N (ORCPT ); Wed, 13 Dec 2017 11:28:13 -0500 Received: from aserp2120.oracle.com ([141.146.126.78]:43248 "EHLO aserp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752816AbdLMQ2J (ORCPT ); Wed, 13 Dec 2017 11:28:09 -0500 Date: Wed, 13 Dec 2017 11:28:00 -0500 From: Konrad Rzeszutek Wilk To: Quan Xu Cc: Paolo Bonzini , Radim Krcmar , Yang Zhang , kvm , LKML , Ben Luo Subject: Re: [PATCH RFC 0/7] kvm pvtimer Message-ID: <20171213162800.GS10097@char.us.oracle.com> References: <1512722390-3654-1-git-send-email-quan.xu0@gmail.com> <20171208151014.GE12069@x230.dumpdata.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.8.3 (2017-05-23) X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8743 signatures=668646 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=512 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1711220000 definitions=main-1712130233 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Dec 13, 2017 at 11:25:13PM +0800, Quan Xu wrote: > On Fri, Dec 8, 2017 at 11:10 PM, Konrad Rzeszutek Wilk < > konrad.wilk@oracle.com> wrote: > > > On Fri, Dec 08, 2017 at 04:39:43PM +0800, Quan Xu wrote: > > > From: Ben Luo > > > > > > This patchset introduces a new paravirtualized mechanism to reduce > > VM-exit > > > caused by guest timer accessing. > > > > And how bad is this blib in arming the timer? > > > > And how often do you get this timer to be armed? OR better yet - what > > are the workloads in which you found this VMExit to be painful? > > > > Thanks. Or better yet - what > > are the workloads in which you found this VMExit to be painful? > > > > one painful point is from VM idle path.. > for some network req/resp services, or benchmark of process context > switches.. So: 1) VM idle path and network req/resp services: Does this go away if you don't hit the idle path? Meaning if you loop without hitting HLT/MWAIT? I am assuming the issue you are facing is the latency - that is first time the guest comes from HLT and responds to the packet the latency is much higher than without? And the arming of the timer? 2) process context switches. Is that related to the 1)? That is the 'schedule' call and the process going to sleep waiting for an interrupt or timer? This all sounds like issues with low-CPU usage workloads where you need low latency responses? > > > > Quan > Alibaba Cloud