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

Re: [PATCH] xen/cpupool: limit number of cpupools


  • To: Juergen Gross <jgross@xxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Andrew Cooper <Andrew.Cooper3@xxxxxxxxxx>
  • Date: Wed, 18 May 2022 14:58:56 +0000
  • Accept-language: en-GB, en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=citrix.com; dmarc=pass action=none header.from=citrix.com; dkim=pass header.d=citrix.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=/5EjpVdkv4Mmk/jN9FkWjoyrXIV6N4Q24toLkeKh6DQ=; b=DjGsXFwCuLBo3DUIoZqkuycW26WcOh+b/pZL0UYEr5fiXUrKjY6joUAIQeEkgdZmD3iOP7aY6fzJG6bwqA4hFnq8PYuZ4lhzObnqLhCCjiDl0BLuplUt+TqDYJJi+sRoFdsJlG/YjyUHJyPAho4gvmGzpq0mkGtCMMNlNCS/aeDgAKro7sg36ZpT1z7CIqFJ1YJt1ZIwrLX0zgKZMIqcDFzqfqLGVhKF09pDUdalnqF3oLxMxCZgicMaib0wLbmNTtf+3eijCwQZmjdUs4H4tX9TzFJnvHJKk/yrHN5ET0K9h1xJ5pGyHpytiO7CtaLhl6zi8+5v7nrdGmB9BDFqAw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bRbTQIVxUh5HlBoFn6Q/F4JNYlta3TSIYBhMamGdTyZ4cwPWZhzgUARlWFOczsTmFNBISf5z6aE7pMjSNGe/QOPeUIXrzCRjdoQjC14Qh5faP1QsUeqXBTqjxUxvNqSPDNQBqkjyOcCM1TH761IhfbuZnN4Oek1VOGiYMSEljD+3qSosuh6eaPZwJ9q4NQvgZD8FPv4mKJpNrbW7qHzjCakTDB6pk7nPDr0CzOYg5DLBQu9eMo628MmGNVZwVzGzQTWL4kJXEsq8HkfPxJI/5hcEsy/b0sLPS61Y8tHeV2q0o5keyHFh2llZg+6vVJu42KvoPmOB6KsV6zCeuJ6yrw==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=citrix.com;
  • Cc: Dario Faggioli <dfaggioli@xxxxxxxx>, George Dunlap <George.Dunlap@xxxxxxxxxx>
  • Delivery-date: Wed, 18 May 2022 14:59:09 +0000
  • Ironport-data: A9a23:LBljYqgn1lF3AbqvDrBWKka9X161HhEKZh0ujC45NGQN5FlHY01je htvWGjXb/aOazSmKtF1OorloUlUvsPVndZrSgBopC49FXkb9cadCdqndUqhZCn6wu8v7a5EA 2fyTvGacajYm1eF/k/F3oDJ9CU6jefSLlbFILas1hpZHGeIcw98z0M68wIFqtQw24LhXlrd4 YmaT/D3YzdJ5RYlagr41IrbwP9flKyaVOQw5wFWiVhj5TcyplFNZH4tDfjZw0jQG+G4KtWSV efbpIxVy0uCl/sb5nFJpZ6gGqECaua60QFjERO6UYD66vRJjnRaPqrWqJPwwKqY4tmEt4kZ9 TlDiXC/YSEgY6fUweM2aB9jMg5GN/BN2bXXeHfq5KR/z2WeG5ft69NHKRlseKE9oaNwC2wI8 uEEIjcQaBzFn/ix3L+wVuhrgIIkMdXvO4Qc/HpnyFk1D95/GcyFH/qMuIEegGlYasNmRJ4yY +IwbzZ1YQuGSBpIIloNU7o1nfuyh2m5eDpdwL6QjfVrujCCll0ouFTrGNHbR+OJStxlok23i Vn8pHXgXREbbuXKnFJp9Vrp3IcjhxjTWo0IE6aj3uV3m1DVzWsWYDUGWF3+rfSnh0qWX9NEN 1dS6icotbI19kGgUp/6RRLQiHKKtxETWt1UEsUh9RqAjKHT5m6k6nMsSzdAbJkqsZQwTDlyi VuRxYu1W3poraGfTm+b+vGMtzSuNCMJLGgEIygZUQ8C5Nqlq4Y25v7Scute/GeOpoWdMVnNL /qi9UDSW517YRY36piG
  • Ironport-hdrordr: A9a23:RlE9LKOmRyjZqMBcT5j255DYdb4zR+YMi2TDiHoddfUFSKalfp 6V98jzjSWE8wr4WBkb6LO90DHpewKRyXcH2/hqAV7EZniohILIFvAu0WKG+VHd8kLFh4lgPM tbEpSWTeeAdWSS7vyKrjVQcexQpuVvmZrA7Yix854ud3ASV0gK1XYaNu/vKDwTeOAwP+tdKH Pz3Kp6jgvlXU5SQtWwB3EDUeSGjcbMjojabRkPAANiwBWSjBuzgYSKUySw71M7aXdi0L0i+W /Kn0jS/aO4qcy2zRfayiv684lWot380dFObfb8yfT9aw+cyDpAVr4RH4FqjwpF591HL2xa1u Ukli1QevibLUmhJ11d7yGdgzUImwxelkMKgWXo/UcL5/aJBQ7SQvAx+76wOHHimjUdlcA536 RR022DsZ1LSRvGgSTm/tDNEwpnj0yuvBMZ4KYuZlFkIP0jgYVq3MUiFYJuYeU9NTO/7JpiHP hlDcna6voTeVSGb2rBtm0qxNC3RHw8EhqPX0BH46WuonJrtWE8y1FdyN0Un38G+p54Q55Y5/ 7cOqAtkL1VVMcZYa90Ge9ES8qqDW7GRw7KLQupUB/aPbBCP2iIp4/84b0z6u3vcJsUzIEqkJ CES19cvX5aQTOYNSRP5uw+zvngehTMYd228LAu23FQgMyOeJP7dSueVVspj8ys5/0CH8yzYY fHBK5r
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Thread-index: AQHYasXCvgLbjuumrUuXxuSY9QgvcK0kugwA
  • Thread-topic: [PATCH] xen/cpupool: limit number of cpupools

On 18/05/2022 15:44, Juergen Gross wrote:
> Today the number of cpupools in a system is unlimited. This can lead to
> multiple problems (e.g. duplicate cpupool-id).

Not to mention scalability issues.  Search by ID is O(n).

>
> Limit the number of cpupools to twice the number of maximum possible
> cpus, allowing to have one cpupool per physical cpu plus some spare
> cpupools for special means (there are already existing use cases for
> such spare cpupools).

Probably one of Suggested-by/Reported-by/Requested-by :)  Dealers choice.

> Signed-off-by: Juergen Gross <jgross@xxxxxxxx>

Otherwise, LGTM.

Acked-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>

 


Rackspace

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