From owner-freebsd-questions@freebsd.org Thu Jun 27 14:57:27 2019 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3A44F15C54CF for ; Thu, 27 Jun 2019 14:57:27 +0000 (UTC) (envelope-from antranigv@freebsd.am) Received: from mail-io1-xd35.google.com (mail-io1-xd35.google.com [IPv6:2607:f8b0:4864:20::d35]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1F9068A022 for ; Thu, 27 Jun 2019 14:57:24 +0000 (UTC) (envelope-from antranigv@freebsd.am) Received: by mail-io1-xd35.google.com with SMTP id j6so5412351ioa.5 for ; Thu, 27 Jun 2019 07:57:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd-am.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=vqCuCe2iGiBlEKNpeph02WfkHDQ3/WDKUTt0fpCslsQ=; b=VqLGevGxwlYLxpzPD1q8aMgV8Oppbk0FaNfxUW6iMV8CM2eabv11dqAHK8ZjWh9l/6 n7hgA3F0eVzePFhGMYE57hVVp3IpEfd4HxgArdEQtQMmB43FJs4t8in3UNhCZt5hIUiI Ok1qPqDN1AvIfHUAO489gpgpRwXUi9bEu1lbpvs7q7/xUnxKa/mmIKehi2wzwtQl3Qbh Vubdsn+tqVmiiSBMDmolfODR0xzOfZ5yL2AJWml+uCyQt/gomBwFdB87Sy0+JTb5F5x2 TmSU0wXsUE7vA+Zs7w6jyHiLlbjXK/vU3NAEVOPma8Yue0Fdry4p7eU8k/dPCwXnDK2+ 9JTQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=vqCuCe2iGiBlEKNpeph02WfkHDQ3/WDKUTt0fpCslsQ=; b=F4kdZ1ADpR/Fha/8iNPp059AXWDijMWFD+nQJA0dwCm5kJbWQjuDO6Png6vsUg/RTX 4+IP0caqef86wu3Vy+2JUzDS5RKDm92C/1C5HlLPg9UchQXKk4zUQ0+dAbUTC5JHO6jl RQhJCCTlHTrR9/QgZ3KtMaIs7Sqo1FYC+qSobCt7J8gI+znbILm8ljqkcKTghoXXBgaA VvK79RjxNiUpZ7sCy0dsyMKTtCveYqMKFO1X82ankMaKDmhjcojCmY82k3mFup0pGwlw X7l6lNBCtfVtP+E6VR5Fd7czuRMKbvdQoTL8xBZXYMU8/m/hIwma/R2k9JkEGR8fW7F9 Gi1A== X-Gm-Message-State: APjAAAVmvEfMn6r7WLDpF9a+PwVETB5WSkV4tRthUvTD+hU0saXsORsV EfrGGeCprSF3pK1scz6g8+H9FZM9fE+BNuESF2Bsdkzi X-Google-Smtp-Source: APXvYqz2A/JEjpT4cxnwvU/IPXqvN+ndfC5fEXaFyedY7d7RcGh18rf/H45L2Yy4/KF0egt4yz2RipgXa6rt5tbIbF0= X-Received: by 2002:a02:c50a:: with SMTP id s10mr5314311jam.106.1561647443641; Thu, 27 Jun 2019 07:57:23 -0700 (PDT) MIME-Version: 1.0 References: <20190627143034.GA9574@mon.zyxst.net> In-Reply-To: <20190627143034.GA9574@mon.zyxst.net> From: Antranig Vartanian Date: Thu, 27 Jun 2019 18:57:12 +0400 Message-ID: Subject: Re: hw.ncpu changes after recent updates To: FreeBSD Questions X-Rspamd-Queue-Id: 1F9068A022 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=freebsd-am.20150623.gappssmtp.com header.s=20150623 header.b=VqLGevGx; spf=pass (mx1.freebsd.org: domain of antranigv@freebsd.am designates 2607:f8b0:4864:20::d35 as permitted sender) smtp.mailfrom=antranigv@freebsd.am X-Spamd-Result: default: False [-6.31 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[freebsd-am.20150623.gappssmtp.com:s=20150623]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; DMARC_NA(0.00)[freebsd.am]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; IP_SCORE(-2.86)[ip: (-8.77), ipnet: 2607:f8b0::/32(-3.14), asn: 15169(-2.34), country: US(-0.06)]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[freebsd-am.20150623.gappssmtp.com:+]; MX_GOOD(-0.01)[ALT3.ASPMX.L.GOOGLE.COM,ASPMX.L.GOOGLE.COM,ALT2.ASPMX.L.GOOGLE.COM,ALT1.ASPMX.L.GOOGLE.COM,ALT4.ASPMX.L.GOOGLE.COM]; RCVD_IN_DNSWL_NONE(0.00)[5.3.d.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; NEURAL_HAM_SHORT(-0.94)[-0.943,0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Jun 2019 14:57:27 -0000 Hi J. Hyper-Threading[1] is a technology which allows running two threads on one core, however since Intel had multiple security issues, many people have turned it off, not sure you did that manually or has been changed during an update. so yes, if you had ncpu=8 before, now it should be 4 :) 1: https://en.m.wikipedia.org/wiki/Hyper-threading On Thu, Jun 27, 2019, 6:31 PM tech-lists wrote: > Hi, > > Possibly a silly question, but is it expected that hw.ncpu would change > after the recent intel cpu related updates? > > hw.ncpu used to be 8, is now 4. CPU is i7-4770K > machdep.hyperthreading_allowed=0 > > thanks, > -- > J. >