linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* kvm vs host (arm64)
@ 2015-04-20  5:45 Mohan G
  2015-04-20  9:09 ` Marc Zyngier
  0 siblings, 1 reply; 7+ messages in thread
From: Mohan G @ 2015-04-20  5:45 UTC (permalink / raw)
  To: linux-arm-kernel

Hi, 
I have got hold of few mustang boards (cortex-a57). Ran a few bench marks to measure perf numbers b/w host and guest (kvm). The numbers 
are pretty bad. (drop of about 90% to that of host). I even tried running this simple program . 

main(){ 
int i=0; 

for(i=0;i<10;i++); 
} 
Profiling the above shows that same kernel functions in guest takes almost 10x to that of host. 
sample below 

Host 
==== 
7202              one-3920  [003] 20015.611563: funcgraph_entry:                   |              find_vma() { 
7203              one-3920  [003] 20015.611564: funcgraph_entry:        0.180 us   |                vmacache_find(); 
7204              one-3920  [003] 20015.611565: funcgraph_entry:        0.120 us   |                vmacache_update(); 
7205              one-3920  [003] 20015.611566: funcgraph_exit:         2.320 us   |              } 


Guest 
===== 

one-751   [000]   206.843300: funcgraph_entry:                   |              find_vma() { 
one-751   [000]   206.843312: funcgraph_entry:        4.880 us   |                vmacache_find(); 
one-751   [000]   206.843335: funcgraph_entry:        2.656 us   |                vmacache_update(); 
one-751   [000]   206.843354: funcgraph_exit:       + 46.256 us  |              } 


kernel: 3.18.9 

Any help ? Note: we were planning to use KVM guest for production purpose. Let me know. 

Regards 
Mohan

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-04-21 13:29 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-20  5:45 kvm vs host (arm64) Mohan G
2015-04-20  9:09 ` Marc Zyngier
2015-04-20 10:39   ` Mohan G
2015-04-20 11:02     ` Marc Zyngier
2015-04-21  6:23       ` Mohan G
2015-04-21  8:29         ` Marc Zyngier
2015-04-21 13:29         ` Christopher Covington

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).