Date: Sat, 17 Mar 2018 22:31:07 +0100 From: "O. Hartmann" <ohartmann@walstatt.org> To: Mark Millard <marklmi26-fbsd@yahoo.com> Cc: Andriy Gapon <avg@FreeBSD.org>, "O. Hartmann" <ohartmann@walstatt.org>, Jeff Roberson <jroberson@jroberson.net>, freebsd-current@freebsd.org Subject: Re: Strange ARC/Swap/CPU on yesterday's -CURRENT Message-ID: <20180317223134.2303937b@thor.intern.walstatt.dynvpn.de> In-Reply-To: <D9288EC1-624E-4977-BD97-557DA11A5D8E@yahoo.com> References: <FD75495D-AC03-4037-9C62-5A3AC588317C@yahoo.com> <alpine.BSF.2.21.1803111759150.1232@desktop> <20180317103915.081ca2dd@thor.intern.walstatt.dynvpn.de> <F48580A7-2C4C-4297-B083-B7EEBA1C8665@yahoo.com> <f48d7287-c707-369d-f2cb-6bf0ed1054c6@FreeBSD.org> <D9288EC1-624E-4977-BD97-557DA11A5D8E@yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_/B7BHVi6TOI3ZctAHZSSWmFr Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Am Sat, 17 Mar 2018 12:44:18 -0700 Mark Millard <marklmi26-fbsd@yahoo.com> schrieb: Tried on the APU: [...] last pid: 17910; load averages: 0.26, 0.16, 0.10 up 6+20:51:54 22:28:48 49 processes: 2 running, 46 sleeping, 1 waiting CP= U: 0.5% user, 0.0% nice, 0.4% system, 0.0% interrupt, 99.1% idle Mem: 27M Active= , 3772K Inact, 98M Laundry, 186M Wired, 32K Buf, 661M Free Swap: 7808M Total, 4204K Used, = 7804M Free PID USERNAME THR PRI NICE SIZE RES SWAP STATE C TIME = CPU COMMAND 17615 root 1 22 0 13204K 0K 4064K pause 1 0:00 0= .00% -csh (<csh>) 17002 root 1 20 0 12104K 0K 3108K wait 3 = 0:00 0.00% login [pam] (<login>) 975 root 1 20 0 14548K 1260K 88K = nanslp 3 0:00 0.00% /usr/local/sbin/smartd -c /usr/local/etc/smartd.conf -p /var/r= un/smartd.pid 989 root 1 20 0 32264K 8160K 28K nanslp 2 0:21 0.0= 0% ddclient - sleeping for 1149 seconds (perl) 11 root 4 155 ki31 0K 6= 4K 0K CPU0 0 652.1H 396.04% [idle] 997 asterisk 59 52 0 133M 6268= 4K 0K select 0 297:57 2.68% /usr/local/sbin/asterisk -n -F -U asterisk 0 root = 26 -16 - 0K 416K 0K swapin 0 60:12 0.56% [kernel] 12 root = 14 -52 - 0K 224K 0K WAIT 0 20:39 0.40% [intr] 17618 root = 1 20 0 13044K 3472K 0K CPU3 3 0:34 0.12% top -CawSoswap 579 ro= ot 1 20 0 15252K 3116K 0K select 0 37:16 0.05% /usr/sbin/ppp -qui= et -ddial -unit0 o2vdsl2 19 root 1 -16 - 0K 16K 0K - = 1 3:06 0.03% [rand_harvestq] 21 root 3 -16 - 0K 48K 0K p= sleep 3 1:21 0.02% [pagedaemon] 933 root 1 20 0 10892K 1688K = 0K select 2 1:46 0.02% /usr/sbin/powerd [...] Sorry for the messy output ... > On 2018-Mar-17, at 11:26 AM, Andriy Gapon <avg at FreeBSD.org> wrote: >=20 > > On 17/03/2018 18:51, Mark Millard wrote: =20 > >> I'll note that top was a -w that reports: > >>=20 > >> -w Display approximate swap usage for each process. =20 > >=20 > > As far as I can tell, this option is quite broken. > > The "approximate swap usage" it reports is nowhere like it. =20 >=20 > Too bad. Do you know if it is so messed up that the > apparent order of "uses more" vs. "uses less" would be > wrong when the difference in reported figures is fairly > large? (I'd avoid assuming an order for sufficiently > small differences [which still might be fairly large].) >=20 > Do you know if the system-wide figures from the summary > line: >=20 > Swap: 61G Total, 61G Free > (could also display an in-use figure) >=20 > are also broken as far as in-use would go? Should > top just be avoided for most swap-in-use information? >=20 > More overall, if anyone knows of such: Is there a > place to get reasonable swap-in-use information, > per process and/or system-wide? >=20 > One thing I've wished for is what would be a low bound > on the overall maximum-in-use figure (system wide), say > by checking periodically a reasonable in-use figure and > keeping track of (and reporting) the maximum-observed-so-far > figure. This kind of background information could be > used in choosing/adjusting a couple of poudriere-devel > parameters that control how much parallel activity > there can be. >=20 > (My local top implementation has an adjustment to also > display such a system-wide maximum-observed-swap-used > figure.) >=20 > =3D=3D=3D > Mark Millard > marklmi at yahoo.com > ( dsl-only.net went > away in early 2018-Mar) >=20 > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" --=20 O. Hartmann Ich widerspreche der Nutzung oder =C3=9Cbermittlung meiner Daten f=C3=BCr Werbezwecke oder f=C3=BCr die Markt- oder Meinungsforschung (=C2=A7 28 Abs.= 4 BDSG). --Sig_/B7BHVi6TOI3ZctAHZSSWmFr Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iLUEARMKAB0WIQQZVZMzAtwC2T/86TrS528fyFhYlAUCWq2JNgAKCRDS528fyFhY lKp2AgCc9AJmiTZobResozEvh9CrPWpRb8+Vhw5OQ7loWPJ48X1CibMk8Eu7rIvk qvOsaVnBABpcRtQVUoVbB+jA2uk+Af45C+p1n4tyUjBMsq17E0RxRxJOTqQL7HpX pIFHMWy0wpck+LDR/7c+pDRhvDHhxof1dmvl2H3Vr0ojHOB21nzH =l3IK -----END PGP SIGNATURE----- --Sig_/B7BHVi6TOI3ZctAHZSSWmFr--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20180317223134.2303937b>