Path: csiph.com!news.redatomik.org!aioe.org!bofh.it!news.nic.it!robomod From: Denys Vlasenko Newsgroups: linux.kernel Subject: Re: [PATCH] KVM/x86: Increase max vcpu number to 352 Date: Sat, 12 Aug 2017 00:50:02 +0200 Message-ID: References: Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=22AeMuq+jhqEMSVvNGQi4zIyGik8+6r7nXtuErhWry4=; b=sT1W0lz/1Xi3J5rQh0mAPTJOCyxq9t2q/tbLGLWPBQ92TFG4vsxX0MssUWxK+uRJOZ rA2YFk4Kb5TkXmQt/WQII1rfQ2jJExiB1/kWa0hGk02sTBgC+6ID7q8A45BQQ2mO0+1z Wkh1TG7+GfNpBnOUNyT9/tIJoM5f0vf7ICtuO8f61hFO+NCoZ6/YUXVKh1POt4P7FDmB Q53O4OzSgpMWZYePxisl6yNszln0kfXFb+lS5lJaFfqC6lT0KCblQaUSYEk73Gemf0Ta Q1EEXjXGeMCM+yfYMpau1T1SSDgjaWV/BLakiGKPgoJtC7S/odUsL8K7o5rgZcvXRtLm GSLA== X-Google-Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=22AeMuq+jhqEMSVvNGQi4zIyGik8+6r7nXtuErhWry4=; b=GZ2NNyDs2uftHVVFNths0IOgsbTrdkHKQLQeZe12XAfeLkgrB/gOdmFahhLBqedP8t vCVlgNTDz3UOrN2yumh0/WwSQIoDidhtez19w0yyghsBCMFZF6S12MZ9XoZs82+D+aeH CB7EjATb01hxtsUcFyyGP4ffkVYc/5THS3QA/61wmNiywQjHpBlx6Qbo8RhMSPpMHX87 veozoLDKtsRkEILlzMnivq2DQNkvEhndClDwDuJALzDOJX9n8DG3o1a/gBpNKDznkGZy 1gYEkkQe3yqDVyDDbuF8Ae4QchArvStk69YQPNRl4/wWlYS3pF47SmRRaR8qMH2lxo8p XdnA== X-Gm-Message-State: AHYfb5iRvl4Cgc8f5r69NrowUiSfvlBfSNOO3Rl5NeXSkyyNWwFS1oCE CS82aHYOspRkzxZsTeLixqSZrQal5Q== X-Received: by 10.80.143.38 with SMTP id 35mr17028895edy.218.1502491648155; Fri, 11 Aug 2017 15:47:28 -0700 (PDT) MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Sender: robomod@news.nic.it List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Approved: robomod@news.nic.it Lines: 23 Organization: linux.* mail to news gateway X-Original-Cc: Paolo Bonzini , rkrcmar@redhat.com, Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , X86 ML , KVM list , Linux Kernel Mailing List X-Original-Date: Sat, 12 Aug 2017 00:47:07 +0200 X-Original-Message-ID: X-Original-References: <1502359259-24966-1-git-send-email-tianyu.lan@intel.com> X-Original-Sender: linux-kernel-owner@vger.kernel.org Xref: csiph.com linux.kernel:1710073 On Thu, Aug 10, 2017 at 12:00 PM, Lan Tianyu wrote: > Intel Xeon phi chip will support 352 logical threads. For HPC usage > case, it will create a huge VM with vcpu number as same as host cpus. This > patch is to increase max vcpu number to 352. This number was bumped in the past to 288 to accommodate Knights Landing, but KNL's max designed thread number is actually 304: the on-die interconnect mesh is 6*7, with four cells taken for interconnect and memory controllers, there are 38 CPU cells. Each CPU cell has two cores with shared L2. Each core is SMT4. 38*8 = 304. Intel fuses two cells (or more), so 288 is the largest number of threads on a KNL you can buy, but 304 thread KNLs most probably also exist (however they may be rather rare since they require completely defect-free die). I think it's better if Linux would support those too. What is the design maximum for these new "nominally 352 thread" Xeon Phis which are "nominally 352 thread"? 360? (If the mesh is 7*7 and the same 4 cells are taked for non-CPU needs)