[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] write_tsc in a PV domain?



On 31/08/2009 22:06, "Dan Magenheimer" <dan.magenheimer@xxxxxxxxxx> wrote:

> A thousand cycles to trap, decode, call get_s_time,
> and return seems astoundingly good?  Probably it's
> faster than a vmexit because there's so much less state
> to save.  But still it's 15x slower than a raw rdtsc.

A kernel trap used to take about a microsecond. Maybe it has got faster on
new processors.

 -- Keir



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.