Re: unixbench context switch perfomance & cpu topology

2018-01-24 Thread Wanpeng Li
2018-01-23 21:49 GMT+08:00 Mike Galbraith : > On Tue, 2018-01-23 at 18:36 +0800, Wanpeng Li wrote: >> >> Thanks for having a try, Mike. :) Actually the two context1 tasks >> don't stack up on one logical cpu at the most of time which is >> observed by kernelshark. Do you have any idea why there is

Re: unixbench context switch perfomance & cpu topology

2018-01-23 Thread Mike Galbraith
On Tue, 2018-01-23 at 18:36 +0800, Wanpeng Li wrote: > > Thanks for having a try, Mike. :) Actually the two context1 tasks > don't stack up on one logical cpu at the most of time which is > observed by kernelshark. Do you have any idea why there is 4.5 times > RESCHED IPIs which is mentioned in an

Re: unixbench context switch perfomance & cpu topology

2018-01-23 Thread Wanpeng Li
2018-01-22 21:37 GMT+08:00 Mike Galbraith : > On Mon, 2018-01-22 at 20:27 +0800, Wanpeng Li wrote: >> 2018-01-22 20:08 GMT+08:00 Mike Galbraith : >> > On Mon, 2018-01-22 at 19:47 +0800, Wanpeng Li wrote: >> >> Hi all, >> >> >> >> We can observe unixbench context switch performance is heavily >> >>

Re: unixbench context switch perfomance & cpu topology

2018-01-23 Thread Wanpeng Li
2018-01-22 20:53 GMT+08:00 Peter Zijlstra : > On Mon, Jan 22, 2018 at 07:47:45PM +0800, Wanpeng Li wrote: >> Hi all, >> >> We can observe unixbench context switch performance is heavily >> influenced by cpu topology which is exposed to the guest. the score is >> posted below, bigger is better, both

Re: unixbench context switch perfomance & cpu topology

2018-01-22 Thread Mike Galbraith
On Mon, 2018-01-22 at 20:27 +0800, Wanpeng Li wrote: > 2018-01-22 20:08 GMT+08:00 Mike Galbraith : > > On Mon, 2018-01-22 at 19:47 +0800, Wanpeng Li wrote: > >> Hi all, > >> > >> We can observe unixbench context switch performance is heavily > >> influenced by cpu topology which is exposed to the g

Re: unixbench context switch perfomance & cpu topology

2018-01-22 Thread Peter Zijlstra
On Mon, Jan 22, 2018 at 07:47:45PM +0800, Wanpeng Li wrote: > Hi all, > > We can observe unixbench context switch performance is heavily > influenced by cpu topology which is exposed to the guest. the score is > posted below, bigger is better, both the guest and the host kernel are > 3.15-rc3(we c

Re: unixbench context switch perfomance & cpu topology

2018-01-22 Thread Wanpeng Li
2018-01-22 20:08 GMT+08:00 Mike Galbraith : > On Mon, 2018-01-22 at 19:47 +0800, Wanpeng Li wrote: >> Hi all, >> >> We can observe unixbench context switch performance is heavily >> influenced by cpu topology which is exposed to the guest. the score is >> posted below, bigger is better, both the gu

Re: unixbench context switch perfomance & cpu topology

2018-01-22 Thread Mike Galbraith
On Mon, 2018-01-22 at 19:47 +0800, Wanpeng Li wrote: > Hi all, > > We can observe unixbench context switch performance is heavily > influenced by cpu topology which is exposed to the guest. the score is > posted below, bigger is better, both the guest and the host kernel are > 3.15-rc3(we can also

unixbench context switch perfomance & cpu topology

2018-01-22 Thread Wanpeng Li
Hi all, We can observe unixbench context switch performance is heavily influenced by cpu topology which is exposed to the guest. the score is posted below, bigger is better, both the guest and the host kernel are 3.15-rc3(we can also reproduce against centos 7.4 693 guest/host), LLC is exposed to