Dong, Eddie wrote: > Avi: > Thanks! > Another found is that HOST_FS/GS_BASE & MSR_FS/GS_BASE > save/restore is quit expansive. I am not sure why it needs to be > save/restored given that the VMCS regster will be loaded into FS/gs at > VM EXIT time automatically by HW and will not be changed during guest > execution time. The MSR is also same (guest change will be trap and > emulated in guest context only). > If I remove HOST_FS/GS_BASE save/restore out to be only matter > to userspace, I can get 15% performance gain for KB. But I am not sure > yet if there is any potential issue. > > thanks, eddie >
I don't see issues with moving them outside the loop, as long as preemption is disabled. -- error compiling committee.c: too many arguments to function ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel