From nobody Wed Sep 7 14:05:20 2022 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MN3tS2r8tz4cW10 for ; Wed, 7 Sep 2022 14:05:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MN3tS0Dclz3PcM for ; Wed, 7 Sep 2022 14:05:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MN3tR6JQczYHp for ; Wed, 7 Sep 2022 14:05:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 287E5Jte020882 for ; Wed, 7 Sep 2022 14:05:19 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 287E5JjG020881 for bugs@FreeBSD.org; Wed, 7 Sep 2022 14:05:19 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 266272] top reports incorrect amount of system memory Date: Wed, 07 Sep 2022 14:05:20 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 13.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: eugene@zhegan.in X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1662559520; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=zex0TtKZ6uDoEWWsT80s2VpAa3XKYKqXsEgrg2v5SVU=; b=beOMXgbcSbExZqxMOo9GS2XpgSSIYJJa8h2et4enYYdoPvENeHqu7LQ8WweuIFGOWtyuvd HgBd+CBb152CaacoIn2EzjvU7oBnouLycGqU8ML33T9vYeKfGB8/JhQW4WgHGJ6gskZ9/9 WuPW9okfVn20H1YXWsKoqU75XDp9ZpzMMMktJPXurCG1ieEceD4ZUdpPca8e2oz+C2amzO bs6Otwz3+hZd2PXm2zKVdPSG7hvWSlpJ2ggog1JcpElizgY1hWxcOdgoh6VUC1vHb1cu71 h8XzbuFVq3DgN/EYQfOeMBeIw2Y7mrI5SA3UUk3ObL829DrEzhlWVhP4lYf+TA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1662559520; a=rsa-sha256; cv=none; b=J+3uz3A5cOkevwGKUIuatVLMkZ94w400DgiN1f4bX4CCb7qGXVOQZxG2/RkREEJIMAyfef hTqeoN07aSI0gyiinN6en4ZYqHkeMb0cwVqLNiR8lACSsH6g53BrwiTPf8CbCFQ+l7aAVg M5/+xoPUSnd0y/R9iinHMW7OFF/ydfUvEz59qHkBvXI9ODGK6+kocWKvfSBVwhjSVs8n9j We5gFSjAaApGdqAPq64+ZiQecAM2+5jNegW+SkB2tO49XuoCluyHGIHHZhTT7nTGmfMUzG s6P+ccXozsWyoofp08oPyO8QfoViLG2d806FKOVaiSOojpAvm0m37Rw/KUpJ/w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D266272 Bug ID: 266272 Summary: top reports incorrect amount of system memory Product: Base System Version: 13.1-STABLE Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: eugene@zhegan.in top on today's STABLE: last pid: 3719; load averages: 23,07, 23,36, 17,75=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 up 0+00:33:11 17:03:28 40 processes: 1 running, 39 sleeping CPU: 12,4% user, 0,0% nice, 15,2% system, 0,4% interrupt, 72,0% idle Mem: 16G Active, 6059M Inact, 883M Laundry, 14G Wired, 3311M Free ARC: 9583M Total, 1377M MFU, 6691M MRU, 3403K Anon, 237M Header, 21M Other 7543M Compressed, 16G Uncompressed, 2,14:1 Ratio Swap: 32G Total, 13G Used, 19G Free, 41% Inuse [...] dmesg: [root@db0-de:~]# grep memory /var/run/dmesg.boot real memory =3D 137434759168 (131068 MB) avail memory =3D 133681565696 (127488 MB) vmstat: [root@db0-de:~]# vmstat -h procs memory page disks faults cpu r b w avm fre flt re pi po fr sr nv0 nv1 in sy cs us sy id 22 0 9 132G 3.0G 22K 2902 591 698 13K 338K 47132 15711 55073 132K 303K = 13 16 72 Also reproducible on 13.0. uname: FreeBSD db0-de.findmykids.org 13.1-STABLE FreeBSD 13.1-STABLE #0 stable/13-n252309-f25bd922c97: Wed Sep 7 12:38:08 MSK2022=20=20=20=20 emz@balancer1-de.findmykids.org:/usr/obj/usr/src/amd64.amd64/sys/GENERIC am= d64 --=20 You are receiving this mail because: You are the assignee for the bug.=