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

Re: [Xen-devel] burn_credits


  • To: George Dunlap <dunlapg@xxxxxxxxx>
  • From: Adel Amani <adel.amani66@xxxxxxxxx>
  • Date: Mon, 7 Oct 2013 05:05:36 -0700 (PDT)
  • Cc: Xen <xen-devel@xxxxxxxxxxxxx>
  • Delivery-date: Tue, 08 Oct 2013 19:22:46 +0000
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=KSTWTB014feecueH1F7xoCXgePXhHsGd980f3fZuYKf/FlgxSZAu8o6005chHaDHtHZWeAZG8Bn64e5I5Lym+sIkeHZTOirnKGtRBXZvvgQM0QR86ko7xjvCulbjrrMR+bOw6PwamXNzG2Sz4+ay/dtI5iWbaLu0HHJmrYu+QSQ=;
  • List-id: Xen developer discussion <xen-devel.lists.xen.org>

I want understand of logical how works formula credits? don't Experimental... !!!
 
Adel Amani
M.Sc. Candidate@Computer Engineering Department, University of Isfahan
Email: A.Amani@xxxxxxxxxxxx



> Hello
> Are someone know this formula in function "burn_credits"?
> "credits = (delta*CSCHED_CREDITS_PER_MSEC + MILLISECS(1)/2) / MILLISECS(1)"
> Why should "+ MILLISECS(1)/2) / MILLISECS(1)" ??

Did you try some example numbers with and without the
"+MILLESECS(1)/2" to see what effect it would have?

-George


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

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