From: Milan =?ISO-8859-1?B?SG9seuRwZmVs?= Subject: Re: Credit scheduler and latencies Date: Thu, 14 Dec 2006 18:48:51 +0100 Message-ID: <20061214184851.c6663220.listen@mjh.name> References: <20061214182443.56278d85.listen@mjh.name> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2131036884==" Return-path: In-Reply-To: <20061214182443.56278d85.listen@mjh.name> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Mime-version: 1.0 Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============2131036884== Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="PGP-SHA1"; boundary="Signature=_Thu__14_Dec_2006_18_48_51_+0100_Y72+_1gfI98.tEYP" --Signature=_Thu__14_Dec_2006_18_48_51_+0100_Y72+_1gfI98.tEYP Content-Type: text/plain; charset=ISO-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, 14 Dec 2006 18:24:43 +0100 Milan Holz=E4pfel wrote: > As it seems, a domain/VCPU can in some cases use more than it's fair > share of PCPU and still interrupt other VCPUs if it only sleeps > frequently enough. > > If a domain/VCPU spins for a long enough amount of time, it does indeed > not interrupt other VCPUs anymore, with direct effects upon the latency > I measured. Thinking about it once again, the problem I'm having with this behaviour is that a domain can't do I/O with low latency (which possibly wouldn't require much CPU time by itself) as soon as it starts consuming lots of CPU time, e.g. because an archiving process has just started. Maybe it would be better to always interrupt the currently running domain for a limited amount of time when another domain receives I/O? Yet, I think I would still need a smaller scheduler quantum... Regards, Milan --Signature=_Thu__14_Dec_2006_18_48_51_+0100_Y72+_1gfI98.tEYP Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.1 (GNU/Linux) iQIVAwUBRYGOiGGQ1TgKZKJkAQKKHg/9Gy/g+GGFnXAzhCIxwjEGkKqgeobziVvY nyqNygD5WQuwreCYG2u5b1iXHb7j/Grw4oz9OggDceuYjI94XDSQ+uQziezh7s7j YDORImvgyaq0rj5hEEQqLapq1+e6/IesMUXp9JrOV6GgEC3og5x+i2RDMmYBA11z zwT/6nxZMplKjewRWRBEiZj0jiXVKTgwwz/Ih+BJJ6JlPrPfX6dFUliDe4JcymXj HpO2f0BSumnOk7QI2SiGMmFCjNjn3koM5H04Wr0FHg50W1L8PvoNSNCEdG/vrh7d eQy419DVMhsbgZzNECa5cvClH6vJdNC3+67upn83oSxAjpj4x9XzuOcEgJVjdLRl aOklV/g8TN4kS9ekUsMuCizB/nnCpLdwHEurJekjxkRfKVI1BpIAEyI1CwjjxCc8 e3Lg3wkEW5+cxA0Xdb1lsIFRJ3LGx1bvtemifTOVyi8/ZCWaA/eX1s1gLBWXHggL jdCjSxRWqCfh7V1CkJzO6Ro2IfV5PezLy/9V21tlVFdlCgP6MGeNpv7ZZ+BkZfYG i+9A0qjHvBIHMoi8fAOOxik8wtUWQV5dOuVv81g0EpZ2tJsgkegGGXZRAyOOiiGz jnog5tQy8uzG4ISd0kdf3Qf4F66qdss47pVgU9Y+J3WK2LfjEsIb/sjzIXfBWmwO 311D3c4DO/g= =N0NT -----END PGP SIGNATURE----- --Signature=_Thu__14_Dec_2006_18_48_51_+0100_Y72+_1gfI98.tEYP-- --===============2131036884== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============2131036884==--