* RE: [PATCH] Optimizing x86-64 xenlinux using global pagesfor user mode (take 2)
@ 2006-08-30 10:06 Ian Pratt
2006-08-30 14:35 ` Andrew Theurer
0 siblings, 1 reply; 4+ messages in thread
From: Ian Pratt @ 2006-08-30 10:06 UTC (permalink / raw)
To: Nakajima, Jun, xen-devel
> The previous patch had a problem with the builder, which constructs
the
> initial page tables with the USER bit on. And Xen couldn't distinguish
> kernel or use pages. It was partially checked avoiding the bug, and
it's
> finished with this patch.
Thanks. Have you any updated benchmark numbers as the bug could have
been giving quite a performance boost before.
Thanks,
Ian
> linux-2.6-xen-sparse/include/asm-i386/mach-xen/asm/hypervisor.h |
4
> ++
> linux-2.6-xen-sparse/include/asm-x86_64/mach-xen/asm/pgtable.h |
19
> +++++-----
> tools/libxc/xc_linux_build.c |
3
> +
> tools/libxc/xg_private.h |
3
> +
> xen/arch/x86/domain_build.c |
2
> -
> xen/arch/x86/flushtlb.c |
7
> +++
> xen/arch/x86/mm.c |
12
> ++++--
> xen/arch/x86/x86_64/traps.c |
2
> -
> xen/include/asm-x86/flushtlb.h |
8
> +++-
> xen/include/asm-x86/x86_64/page.h |
8
> +++-
> 10 files changed, 50 insertions(+), 18 deletions(-)
>
> Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
>
> Jun
> ---
> Intel Open Source Technology Center
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] Optimizing x86-64 xenlinux using global pagesfor user mode (take 2)
2006-08-30 10:06 Ian Pratt
@ 2006-08-30 14:35 ` Andrew Theurer
0 siblings, 0 replies; 4+ messages in thread
From: Andrew Theurer @ 2006-08-30 14:35 UTC (permalink / raw)
To: Ian Pratt; +Cc: xen-devel, Nakajima, Jun
Ian Pratt wrote:
>> The previous patch had a problem with the builder, which constructs the
>> initial page tables with the USER bit on. And Xen couldn't distinguish
>> kernel or use pages. It was partially checked avoiding the bug, and it's
>> finished with this patch.
>
> Thanks. Have you any updated benchmark numbers as the bug could have
> been giving quite a performance boost before.
FWIW, I had been running more extensive testing on changeset 11225
(before global-bit) and 11229 (global-bit with revert/fix for dom0
builder), and they do not match the initial testing I did with rev 11118
+ global_1 patch. In fact, I am not seeing really any improvement. I
am not sure what is wrong. Should I just test
xen-unstable-tip+newest_patch and see where we stand?
-Andrew Theurer
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: [PATCH] Optimizing x86-64 xenlinux using global pagesfor user mode (take 2)
@ 2006-08-30 15:18 Nakajima, Jun
2006-08-30 15:26 ` Andrew Theurer
0 siblings, 1 reply; 4+ messages in thread
From: Nakajima, Jun @ 2006-08-30 15:18 UTC (permalink / raw)
To: Andrew Theurer, Ian Pratt; +Cc: xen-devel
Andrew Theurer wrote:
> Ian Pratt wrote:
>>> The previous patch had a problem with the builder, which constructs
>>> the initial page tables with the USER bit on. And Xen couldn't
>>> distinguish kernel or use pages. It was partially checked avoiding
>>> the bug, and it's finished with this patch.
>>
>> Thanks. Have you any updated benchmark numbers as the bug could have
>> been giving quite a performance boost before.
Looks like part of the boost was realized by the bug, but I still see
consistent and visible improvements with lmbench. If I turn on the
global bits for the kernel pages as well, I see more improvements, which
are comparable with or better than before. I think we need to do macro
benchmarks to see how this helps.
>
> FWIW, I had been running more extensive testing on changeset 11225
> (before global-bit) and 11229 (global-bit with revert/fix for dom0
> builder), and they do not match the initial testing I did with rev
> 11118 + global_1 patch. In fact, I am not seeing really any
> improvement. I am not sure what is wrong. Should I just test
> xen-unstable-tip+newest_patch and see where we stand?
>
Yes, please. You shouldn't have observed any performance difference
between 11225 and 11229 because the changeset 11226 did not enable the
global bit.
> -Andrew Theurer
Jun
---
Intel Open Source Technology Center
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] Optimizing x86-64 xenlinux using global pagesfor user mode (take 2)
2006-08-30 15:18 [PATCH] Optimizing x86-64 xenlinux using global pagesfor user mode (take 2) Nakajima, Jun
@ 2006-08-30 15:26 ` Andrew Theurer
0 siblings, 0 replies; 4+ messages in thread
From: Andrew Theurer @ 2006-08-30 15:26 UTC (permalink / raw)
To: Nakajima, Jun; +Cc: Ian Pratt, xen-devel
Nakajima, Jun wrote:
> Andrew Theurer wrote:
>
>> Ian Pratt wrote:
>>
>>>> The previous patch had a problem with the builder, which constructs
>>>> the initial page tables with the USER bit on. And Xen couldn't
>>>> distinguish kernel or use pages. It was partially checked avoiding
>>>> the bug, and it's finished with this patch.
>>>>
>>> Thanks. Have you any updated benchmark numbers as the bug could have
>>> been giving quite a performance boost before.
>>>
>
> Looks like part of the boost was realized by the bug, but I still see
> consistent and visible improvements with lmbench. If I turn on the
> global bits for the kernel pages as well, I see more improvements, which
> are comparable with or better than before. I think we need to do macro
> benchmarks to see how this helps.
>
>
>> FWIW, I had been running more extensive testing on changeset 11225
>> (before global-bit) and 11229 (global-bit with revert/fix for dom0
>> builder), and they do not match the initial testing I did with rev
>> 11118 + global_1 patch. In fact, I am not seeing really any
>> improvement. I am not sure what is wrong. Should I just test
>> xen-unstable-tip+newest_patch and see where we stand?
>>
>>
>
> Yes, please. You shouldn't have observed any performance difference
> between 11225 and 11229 because the changeset 11226 did not enable the
> global bit.
OK, then that would explain it :) I'll run tip+ your latest patch.
-Andrew Theurer
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2006-08-30 15:26 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-30 15:18 [PATCH] Optimizing x86-64 xenlinux using global pagesfor user mode (take 2) Nakajima, Jun
2006-08-30 15:26 ` Andrew Theurer
-- strict thread matches above, loose matches on Subject: below --
2006-08-30 10:06 Ian Pratt
2006-08-30 14:35 ` Andrew Theurer
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.