[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Use of newer locking primitives...


  • To: Paul Durrant <xadimgnik@xxxxxxxxx>, "win-pv-devel@xxxxxxxxxxxxxxxxxxxx" <win-pv-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Martin Harvey <martin.harvey@xxxxxxxxxx>
  • Date: Tue, 30 Aug 2022 18:01:18 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=citrix.com; dmarc=pass action=none header.from=citrix.com; dkim=pass header.d=citrix.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=w0CAHC1tdq+K87bIuzvcDujVATdTze37aJx6xv2mzak=; b=c39OB/QB9TLbm59TW6ZSha0u/n0UosjysKCz1QkmVYVhtmGvUBcSQjV80Cl6py42+W9njzcZhbPz74zlFxoyOHUOdl29fqQo84UCXlljWcBT7yiQsyvSbbpxTTt0oNAa4zszxXzM+q6bxy7U2FUhkwnqRNfvUwoL5xBXzzKTC0lFUY5BaB8wAzT7v/T2pGX21m3IGRUHUyziDhDd14beNDMBhQ+CNt0LU4QUT9felt2+0gndGlLdOaSVPfNcfEZ4dLKsB6rajSrFHa9MQEGrxFIhf/2APm4CcpVSMQkNrAP8hSGOUdLe9iECYQCiBkLwKm/2BZt/jmeFUgSX1JbHNQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bhUeqKTxh2LlEGqCW9sfSQuS9H906+phR7oi8s9RdjeHn/tIx/KvB+97yfzpcD8S4AQ0AVQBP22dH+284rBcqVbb+pLwJvb7PHlpXyZWA335zhgIzoH3DEcJoVh4KUGhh8U2yR7RzwPA5RjyftHoMA4tcJwckmJhaOv3WwLFK9xwewdxEiDbYFFnsFFDUuPFFC62LVpnjyw6CDz+cRokmjixSmkO5ALvvkRJogInUVxDZdQb0sr+NYQlgOLjcB5fg4u3V2v/07FaplCBsIQP4uuw+VkrsFBkTqZ2pS1zfVQjpxqc315zemiuRwaWz8NL+a3Djr5yR7C11d3+GYaknA==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=citrix.com;
  • Delivery-date: Tue, 30 Aug 2022 18:01:30 +0000
  • Ironport-data: A9a23:revnYqJZwaHpz4jHFE//H55yty3KRhNe8xNQtwglJ83Js8Nw70h2pDvUis+CsALUu3xhte5ftD2d3sJWGzaqAWgaC2UT0lZKaE8HB7xi8Y+W2h5vleXXfoSKF6waErvD6yQQTSP6+N4mEfuZzHK+TlRcga75lpy69uiMPD8YdBW6+2LwzgwFrBQMWgYONpVPY9c5JPlDeZvUrBc2FU2v5GoJVQFYUL9eCGZRy7riXb8wqtSoalATRynFKkpT8+LlVckt9VmO19Wv+QRFTvaMybNPc+pyHkcChzyrGPEW42Q5vRo/NiUfagwXU2OutBQc4JZBYhnE7DUB93s6xpXMGLFgEpJdyR77sZiCmhpe+lSBy7Kw+F8w+3IDjCUn+1AcJmJS8L3mFlQi010CglyFjkkKrQDdC33c6BzUkebLMU+wM4TJW5E27ri89neMKcB9sdgNxDYrx9wOcJyW+GAwxVq4lGuYu3MSO9bYTHK+VYHrg0qbWf5BYq2H9kWLHMtb3yGxGcu3pj2UtQQOi8Vbf0XFXyLlQoq4gcXjZ8FAWge+SxCCTlLoiyDEPo3aNhRsFvGIKPgyBngVXlKm8Uq3VnNOz5vB1ptN6GyarITkwrowL8EkgilxDxa37RQLEMk8ooX5cakKnMrzWZNhom1qwLxVos9d2tnTXjBZAL8c+WvpLHPIP1vVvqh3onbd6EhKmKpiC4BRQXMb0eOY+zrcfODS5reT3h6j5pxC1xShpj5UIxsLmIctnM3CS5/KazMd+fVAo5xpdFL8tiWaA0jmB34UAqP2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GMjzfUmN5TeiTm2rYfr23bt1/JWMz37zJegtN/drE7TuTWa4e6JEpECzshAB2hFQDVAJOtWDhsFwejufkmfCP0Mm8Ki5F3jRCc5vmtJG+vAKf7SAWcBbd79vAtegNDthY6y+Tl+SnnDehKGwlRqftLcEPtrcqN7j6D7JFfP6PDZYc/YQuGtkkRxl4FBWmyX1yggbpZp0HmsvMKdxdKozvTld4pZe09kWbM6KcMrF1nsscShJHcJcxZY5OhFPB9GLzbhvCkY7XGwq10QaETCXs8P19MTFVT6MFjRugD7ANm1JwImfnP5lUfMdQ7uxdI3L9aG/24qoIBqjn+NK3qBQznAACm+xsxUXVr64ae0Z/hmzBG0I952bjlmAwPnawigYTxlv90Bt2cxVZi9KIYqq+IwVyelQ6X7FM1H9FJqykPWLZA6gAP5JjJobdrOe+rBl8UKts7IvPrK6bQYHC5A+MdzN2Hm1jkkrv+RivCc32xBwK6as90ok3R0Mk=
  • List-id: Developer list for the Windows PV Drivers subproject <win-pv-devel.lists.xenproject.org>
  • Thread-index: Adi8ZD8ojTv0cYRiTIesy/wwgsnlOAAAgQyAAABev9AAANxqAAAAa08gAADiLQAAAAxCMAAA4DqAAAl8XAA=
  • Thread-topic: Use of newer locking primitives...


-----Original Message-----
From: Paul Durrant <xadimgnik@xxxxxxxxx> 

> Nope. KeStallExecutionProcessor just pauses, it doesn't HLT, not interrupts 
> required. It's a spin, so it does a PAUSE.
> 

> So directly equivalent to yield then. See

Ouch. Pause is one of the optional vmexit instructions. So you do an entire 
vm-exit, when all you wanted to do is sit on your backside for a few 
nanoseconds.

 
>> Right, that could be because something has just dumped (or is still
> dumping) a load of packets on the queue. Whoever has the lock has to drain 
> the entire queue... 

Yes, isn't that funny? How could we change it?

> Profiling ...

We have iPerf. It seems to work with with ETW, and we have the other profilers 
somewhat automated.

MH.



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.