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

RE: [Xen-devel] credit accounting question



>From: Keir Fraser [mailto:keir.fraser@xxxxxxxxxxxxx] 
>Sent: 2008年6月19日 16:04
>
>On 19/6/08 08:54, "Tian, Kevin" <kevin.tian@xxxxxxxxx> wrote:
>
>> I recalled some post from Emmanuel to mention that split accounting
>> from context switch path, to reduce overhead. System wide accouting
>> may be worthy with a 30ms timer, but at least vcpu accounting can
>> be carried in context switch path easily which is light enough.
>> 
>> Or maybe whole ticks can be removed as long as a roughly 30ms
>> accounting interval is ensured by tweaking the scheduler timer. Is
>> that whe you suggested?
>> 
>> Or was there any early experiment showing some badness if not doing
>> tick based style?
>
>I don't think the no-ticks alternative was ever implemented or 
>measured.
>
>We already mess with stop_timer/set_timer and calculating 
>current system
>time within the context-switch path. So we're already well set 
>up to the
>accounting on that path, imo.
>

Agree.

Thanks,
Kevin

_______________________________________________
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®.