Thread (10 messages) 10 messages, 3 authors, 2016-09-04

Re: [PATCH] vhost: Add polling mode

From: Razya Ladelsky <hidden>
Date: 2014-08-17 12:35:49
Also in: kvm, lkml, netdev

quoted
Hi Michael,

Sorry for the delay, had some problems with my mailbox, and I realized 
quoted
just now that 
my reply wasn't sent.
The vm indeed ALWAYS utilized 100% cpu, whether polling was enabled or 
quoted
not.
The vhost thread utilized less than 100% (of the other cpu) when 
polling 
quoted
was disabled.
Enabling polling increased its utilization to 100% (in which case both 
quoted
cpus were 100% utilized). 
Hmm this means the testing wasn't successful then, as you said:

   The idea was to get it 100% loaded, so we can see that the polling is
   getting it to produce higher throughput.

in fact here you are producing more throughput but spending more power
to produce it, which can have any number of explanations besides polling
improving the efficiency. For example, increasing system load might
disable host power management.
Hi Michael,
I re-ran the tests, this time with the  "turbo mode" and  "C-states" 
features off.
No Polling:
1 VM running netperf (msg size 64B): 1107 Mbits/sec
 Polling:
1 VM running netperf (msg size 64B): 1572 Mbits/sec








As you can see from the new results, the numbers are lower, 
but relatively (polling on/off) there's no change.
Thank you,
Razya


 


 
quoted
quoted
-- 
MST
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help