From owner-freebsd-hackers@freebsd.org Sun Oct 25 20:08:09 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id F17A745749C for ; Sun, 25 Oct 2020 20:08:09 +0000 (UTC) (envelope-from wojtek@puchar.net) Received: from puchar.net (puchar.net [194.1.144.90]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4CK8Cr6TlDz4T2f for ; Sun, 25 Oct 2020 20:08:08 +0000 (UTC) (envelope-from wojtek@puchar.net) Received: Received: from 127.0.0.1 (localhost [127.0.0.1]) by puchar.net (8.15.2/8.16.1) with ESMTPS id 09PK833c063447 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sun, 25 Oct 2020 21:08:03 +0100 (CET) (envelope-from puchar-wojtek@puchar.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=puchar.net; s=default; t=1603656483; bh=4HpOZZGUi/WgBQAr1GSIPWctv7zdR7X1tGzV5IVEQ7g=; h=Date:From:To:cc:Subject:In-Reply-To:References; b=Cogot4Ahj9l5LU/Se/wgXGGnGCXl8W7tpuiQJWwb9InM2r2cbewPOyzlgsrGraebr Fvkkrk3GgD/5+WdesVFcTVNsrBba+nFURYRkgnMHPC1osEwhUnwYFQdIvNkTvx0j62 bffEgUgT03j1rOZyOVwjoJL3BqD8GruP6En7NNLg= Received: from localhost (puchar-wojtek@localhost) by puchar.net (8.16.1/8.16.1/Submit) with ESMTP id 09PK837i063444; Sun, 25 Oct 2020 21:08:03 +0100 (CET) (envelope-from puchar-wojtek@puchar.net) Date: Sun, 25 Oct 2020 21:08:03 +0100 (CET) From: Wojciech Puchar To: Eugene Grosbein cc: Wojciech Puchar , freebsd-hackers@freebsd.org Subject: Re: displaying total CPU usage In-Reply-To: <1b80bb1c-60ca-0b14-403f-a8e1a9d16f0b@grosbein.net> Message-ID: References: <20201023112030.GF1427@albert.catwhisker.org> <20201023114557.GX2643@kib.kiev.ua> <2eb77b40-99a5-c4cf-3df4-ceead23ad218@grosbein.net> <1b80bb1c-60ca-0b14-403f-a8e1a9d16f0b@grosbein.net> User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Rspamd-Queue-Id: 4CK8Cr6TlDz4T2f X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=fail (headers rsa verify failed) header.d=puchar.net header.s=default header.b=Cogot4Ah; dmarc=none; spf=pass (mx1.freebsd.org: domain of wojtek@puchar.net designates 194.1.144.90 as permitted sender) smtp.mailfrom=wojtek@puchar.net X-Spamd-Result: default: False [-1.90 / 15.00]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.01)[-1.014]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; R_DKIM_REJECT(1.00)[puchar.net:s=default]; DMARC_NA(0.00)[puchar.net]; NEURAL_HAM_LONG(-1.00)[-1.002]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[puchar.net:-]; NEURAL_HAM_SHORT(-0.58)[-0.581]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:43476, ipnet:194.1.144.0/24, country:PL]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-hackers] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Oct 2020 20:08:10 -0000 >>> indicating lots of available/under-loaded CPU power when one of cores it already 100% bound. >> not in a case of mostly userland load without any pinning. > > In that case, too. Absense of pinning for CPU-hungry single-threaded process does not allow it > to utilize power of multiple cores and you still may get 50% load for 2-core system > but no free CPU cycles for such process. I understand but i want only total CPU load of server. it works and works fine now