Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Apr 2018 19:53:46 -0600
From:      Cy Schubert <Cy.Schubert@cschubert.com>
To:        Larry Rosenman <ler@lerctr.org>, Bryan Drewery <bdrewery@FreeBSD.org>,  Peter Jeremy <peter@rulingia.com>, Jeff Roberson <jroberson@jroberson.net>
Cc:        FreeBSD current <freebsd-current@freebsd.org>,  Andriy Gapon <avg@freebsd.org>
Subject:   RE: Strange ARC/Swap/CPU on yesterday's -CURRENT
Message-ID:  <20180404015345.AFFFC1121@spqr.komquats.com>

next in thread | raw e-mail | index | archive | help
Try arbitrarily reducing arc_max through sysctl. ARC is immediately reduced=
 and free memory increased however wired pages remains the same.

---
Sent using a tiny phone keyboard.
Apologies for any typos and autocorrect.
Also, this old phone only supports top post. Apologies.

Cy Schubert
<Cy.Schubert@cschubert.com> or <cy@freebsd.org>
The need of the many outweighs the greed of the few.
---

-----Original Message-----
From: Larry Rosenman
Sent: 03/04/2018 19:27
To: Cy Schubert; Bryan Drewery; Peter Jeremy; Jeff Roberson
Cc: FreeBSD current; Andriy Gapon
Subject: Re: Strange ARC/Swap/CPU on yesterday's -CURRENT

When my full backups run (1st Sunday -> Monday of the month) the box become=
s unusable after 5-10 hours of that backup with LOTS of SWAP usage
And ARC using 100+G.=20

Is anyone looking into this?



--=20
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 214-642-9640                 E-Mail: ler@lerctr.org
US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
=EF=BB=BFOn 4/3/18, 8:24 PM, "Cy Schubert" <owner-freebsd-current@freebsd.o=
rg on behalf of Cy.Schubert@cschubert.com> wrote:

    +1
   =20
    However under certain circumstances it will release some memory. To rep=
roduce, when bsdtar unpacks some tarballs (when building certain ports) tar=
 will use 12 GB or  more  forcing ARC to release memory.
   =20
    BTW, I haven't stopped to grok whether the bsdtar issue is local to me =
or another problem yet.
   =20
    ---
    Sent using a tiny phone keyboard.
    Apologies for any typos and autocorrect.
    Also, this old phone only supports top post. Apologies.
   =20
    Cy Schubert
    <Cy.Schubert@cschubert.com> or <cy@freebsd.org>
    The need of the many outweighs the greed of the few.
    ---
   =20
    -----Original Message-----
    From: Bryan Drewery
    Sent: 23/03/2018 17:23
    To: Peter Jeremy; Jeff Roberson
    Cc: FreeBSD current; Andriy Gapon
    Subject: Re: Strange ARC/Swap/CPU on yesterday's -CURRENT
   =20
    On 3/20/2018 12:07 AM, Peter Jeremy wrote:
    >=20
    > On 2018-Mar-11 10:43:58 -1000, Jeff Roberson <jroberson@jroberson.net=
> wrote:
    >> Also, if you could try going back to r328953 or r326346 and let me k=
now if=20
    >> the problem exists in either.  That would be very helpful.  If anyon=
e is=20
    >> willing to debug this with me contact me directly and I will send so=
me=20
    >> test patches or debugging info after you have done the above steps.
    >=20
    > I ran into this on 11-stable and tracked it to r326619 (MFC of r32585=
1).
    > I initially got around the problem by reverting that commit but eithe=
r
    > it or something very similar is still present in 11-stable r331053.
    >=20
    > I've seen it in my main server (32GB RAM) but haven't managed to repr=
oduce
    > it in smaller VBox guests - one difficulty I faced was artificially f=
illing
    > ARC.
    >=20
   =20
    Looking at the ARC change you referred to from r325851
    https://reviews.freebsd.org/D12163, I am convinced that ARC backpressur=
e
    is completely broken. On my 78GB RAM system with ARC limited to 40GB an=
d
    doing a poudriere build of all LLVM and GCC packages at once in tmpfs I
    can get swap up near 50GB and yet the ARC remains at 40GB through it
    all.  It's always been slow to give up memory for package builds but it
    really seems broken right now.
   =20
    --=20
    Regards,
    Bryan Drewery
   =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.o=
rg"
   =20





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20180404015345.AFFFC1121>