31 messages in com.xensource.lists.xen-develRe: [Xen-devel] [PATCH] turn off writ...| From | Sent On | Attachments |
|---|---|---|
| Andrew Theurer | 25 Jul 2006 15:14 | .patch |
| Ian Pratt | 25 Jul 2006 15:41 | |
| Nivedita Singhvi | 25 Jul 2006 15:43 | |
| Andrew Theurer | 25 Jul 2006 16:19 | |
| Andrew Theurer | 25 Jul 2006 19:24 | |
| Jacob Gorm Hansen | 25 Jul 2006 22:31 | |
| Gerd Hoffmann | 26 Jul 2006 01:17 | |
| Keir Fraser | 26 Jul 2006 01:40 | |
| Andrew Theurer | 26 Jul 2006 14:10 | |
| Ian Pratt | 26 Jul 2006 14:38 | |
| Joe Bonasera | 26 Jul 2006 16:38 | |
| Andrew Theurer | 27 Jul 2006 07:43 | |
| Keir Fraser | 27 Jul 2006 08:30 | |
| Ian Pratt | 27 Jul 2006 10:31 | |
| Keir Fraser | 28 Jul 2006 01:54 | |
| Andrew Theurer | 28 Jul 2006 08:21 | |
| Ian Pratt | 28 Jul 2006 08:51 | |
| Keir Fraser | 28 Jul 2006 09:31 | |
| Zachary Amsden | 28 Jul 2006 14:36 | .Other |
| Andi Kleen | 28 Jul 2006 16:05 | |
| Zachary Amsden | 28 Jul 2006 16:10 | |
| Mike Day | 28 Jul 2006 16:23 | |
| Keir Fraser | 31 Jul 2006 02:13 | |
| Zachary Amsden | 31 Jul 2006 02:31 | |
| Keir Fraser | 31 Jul 2006 02:53 | |
| Zachary Amsden | 31 Jul 2006 12:55 | |
| Keir Fraser | 31 Jul 2006 15:07 | |
| Zachary Amsden | 31 Jul 2006 15:39 | |
| Keir Fraser | 02 Aug 2006 02:21 | |
| Mike D. Day | 03 Aug 2006 13:41 | |
| Andrew Theurer | 09 Aug 2006 14:14 |
| Subject: | Re: [Xen-devel] [PATCH] turn off writable page tables![]() |
|---|---|
| From: | Keir Fraser (Keir...@cl.cam.ac.uk) |
| Date: | 07/28/2006 09:31:07 AM |
| List: | com.xensource.lists.xen-devel |
On 28 Jul 2006, at 16:51, Ian Pratt wrote:
So, in summary, we know writable page tables are not broken, they just don't help on typical workloads because the PTEs/page are so low. However, they do hurt SMP guest performance. If we are not seeing a benefit today, should we turn it off? Should we make it a compile time option, with the default off?
I wouldn't mind seeing wrpt removed altogether, or at least emulation made the compile time default for the moment. There's bound to be some workload that bites us in the future which is why batching updates on the fork path mightn't be a bad thing if it can be done without too much gratuitous hacking of linux core code.
My only fear is that batched wrpt has some guest-visible effects. For example, the guest has to be able to cope with seeing page directory entries with the present bit cleared. Also, on SMP, it has to be able to cope with spurious page faults anywhere in its address space (e.g., faults on a unhooked page table which some other VCPU has rehooked by the time the Xen pagefault handler runs, hence the fault is bounced back to the guest even though there is no work to be done). If we turn off batched wrpt then guests will not be tested against it and we are likely to hit problems if we ever want to turn it back on again -- we'll find that some guests are not able to correctly handle the weird side effects.
On the other hand, perhaps we can find a neater more explicit alternative to batched wrpt in future.
-- Keir
_______________________________________________ Xen-devel mailing list Xen-...@lists.xensource.com http://lists.xensource.com/xen-devel





.patch