|
|
|
|
|
|
|
|
|
|
xen-ia64-devel
RE: [Xen-ia64-devel]RID virtualization discussion
More tests.
Test case:
Specjbb
Platform:
6 physical cpus with HT disable
Guest Env:
2 vti-guest each with 4 vcpus pined on same physical cpu
Guest1:
Vcpu1 pined on pcpu2
Vcpu2 pined on pcpu3
Vcpu3 pined on pcpu4
Vcpu4 pined on pcpu5
Guest2:
Same as guest1
Without flushing:
Score: 11066
With flushing:
Score: 11031
Flushing TLB times: 3973286
Flushing times per second: 3014/s
The penalty is less than 0.5%.
Definitely, we need to run "big benchmark” to get answer how much ptc.e will
impact performance.
Hope community can do more tests.
Thanks,
Anthony
>-----Original Message-----
>From: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
>[mailto:xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Xu, Anthony
>Sent: 2007年5月24日 17:05
>To: Isaku Yamahata
>Cc: Xen-ia64-devel
>Subject: RE: [Xen-ia64-devel]RID virtualization discussion
>
>>From: Isaku Yamahata
>>Sent: 2007年5月24日 17:00
>>To: Xu, Anthony
>>Cc: Xen-ia64-devel
>>Subject: Re: [Xen-ia64-devel]RID virtualization discussion
>>
>>> We have tested following cases
>>> There are 6 physical processors.
>>> And local_purge_all is executed about 2000 per second on each processor.
>>>
>>> Dom0(1vcpu) + domU(2vcpu)
>>> Dom0(1vcpu) + domU(4vcpu)
>>> Dom0(1vcpu) + vti(2vcpu)
>>> Dom0(1vcpu) + vti(4vcpu)
>>> Dom0(1vcpu) + vti(2vcpu) + vti(2vcpu)
>>
>>Thank you for explanation.
>>Given that # of vcpu < # of pcpu, we can assume each vcpus are
>>bounded to pcpu. So context_switch() is called only when pcpu
>>goes to idle or pcpu is waked up from idle.
>>
>>Probably you may want to insert tlb flush into continue_running()
>>which is called when vcpu uses up time slice and it is chosen again.
>>Thus tlb is flushed each time slice.
>
>There is about 2000 vcpu switch per second on each processor.
>That's a lot of vcpu switch.
>
>I can do a test with #vcpu> #pcpu.
>
>
>Thanks,
>Anthony
>
>_______________________________________________
>Xen-ia64-devel mailing list
>Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
>http://lists.xensource.com/xen-ia64-devel
_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel
|
|
|
|
|