On Wed, 2012-10-10 at 23:24 +0530, Raghavendra K T wrote:[...]On 10/10/2012 08:29 AM, Andrew Theurer wrote:On Wed, 2012-10-10 at 00:21 +0530, Raghavendra K T wrote:* Avi Kivity <avi@xxxxxxxxxx> [2012-10-04 17:00:28]:
On 10/04/2012 03:07 PM, Peter Zijlstra wrote:On Thu, 2012-10-04 at 14:41 +0200, Avi Kivity wrote:
A big concern I have (if this is 1x overcommit) for ebizzy is that it
has just terrible scalability to begin with. I do not think we should
try to optimize such a bad workload.
I think my way of running dbench has some flaw, so I went to ebizzy.
Could you let me know how you generally run dbench?
I mount a tmpfs and then specify that mount for dbench to run on. This
eliminates all IO. I use a 300 second run time and number of threads is
equal to number of vcpus. All of the VMs of course need to have a
synchronized start.
I would also make sure you are using a recent kernel for dbench, where
the dcache scalability is much improved. Without any lock-holder
preemption, the time in spin_lock should be very low:
21.54% 78016 dbench [kernel.kallsyms] [k] copy_user_generic_unrolled
3.51% 12723 dbench libc-2.12.so [.] __strchr_sse42
2.81% 10176 dbench dbench [.] child_run
2.54% 9203 dbench [kernel.kallsyms] [k] _raw_spin_lock
2.33% 8423 dbench dbench [.] next_token
2.02% 7335 dbench [kernel.kallsyms] [k] __d_lookup_rcu
1.89% 6850 dbench libc-2.12.so [.] __strstr_sse42
1.53% 5537 dbench libc-2.12.so [.] __memset_sse2
1.47% 5337 dbench [kernel.kallsyms] [k] link_path_walk
1.40% 5084 dbench [kernel.kallsyms] [k] kmem_cache_alloc
1.38% 5009 dbench libc-2.12.so [.] memmove
1.24% 4496 dbench libc-2.12.so [.] vfprintf
1.15% 4169 dbench [kernel.kallsyms] [k] __audit_syscall_exit