lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CANRm+CzufzwBxixuaCOdyimn9=Ftxp-u_+o=tnK3ZsWOn4Eazw@mail.gmail.com>
Date:	Thu, 26 May 2016 19:23:18 +0800
From:	Wanpeng Li <kernellwp@...il.com>
To:	Paolo Bonzini <pbonzini@...hat.com>
Cc:	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
	kvm <kvm@...r.kernel.org>, Wanpeng Li <wanpeng.li@...mail.com>,
	Radim Krčmář <rkrcmar@...hat.com>,
	David Matlack <dmatlack@...gle.com>,
	Christian Borntraeger <borntraeger@...ibm.com>,
	Yang Zhang <yang.zhang.wz@...il.com>
Subject: Re: [PATCH v5] KVM: halt-polling: poll for the upcoming fire timers

2016-05-26 18:30 GMT+08:00 Paolo Bonzini <pbonzini@...hat.com>:
>
>
> On 26/05/2016 12:26, Paolo Bonzini wrote:
>> As discussed on IRC, I would like to understand why the adaptive
>> adjustment of halt_poll_ns is failing.  It seems like you have so few
>> halts that you don't get halt_poll_ns>0.  Yet, when the VM halts, it's
>> very close to the timer tick---often enough for this patch to have an
>> effect.
>>
>> Please send a trace of halt_poll_ns_grow and halt_poll_ns_shrink
>> tracepoints, so that we can find out more about this.
>
> And 30 seconds after I wrote this email, you told me on IRC that the
> guest had HZ=1000 and the module parameter was set to 1 ms in order to
> _really_ benefit from the patch.  So basically you could obtain the same
> effect with idle=poll in the guest.
>
> This explains why your reported results were not so great (as David noted).

Yeah, I will drop the patch.

Regards,
Wanpeng Li

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ