From owner-freebsd-arm@freebsd.org Mon Oct 21 00:46:00 2019 Return-Path: Delivered-To: freebsd-arm@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 60E0A16F34F for ; Mon, 21 Oct 2019 00:46:00 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qt1-x832.google.com (mail-qt1-x832.google.com [IPv6:2607:f8b0:4864:20::832]) (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 46xHxf4pcWz4XlW for ; Mon, 21 Oct 2019 00:45:58 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-qt1-x832.google.com with SMTP id m15so18402379qtq.2 for ; Sun, 20 Oct 2019 17:45:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Qoq8KFFLs/mADfS9KehvNLfNxjW/7q5cVrFmrp0sGC0=; b=G5zK+/lT/u8q6AdBVUFmRwpvdkqxADKu6+wxjfAZzoSnMvWwRqWPaa4wDunfMArLsv YTyRlWmKzJs/4gtWKDvqaXjg1cdh1en3A2KFBN/6Qn3On3/FfycOXPWd6/f0aVQxv8VO o8hHEuvZ1JEGKeK39wRXxINOBDSYFrISPBw4RmhzNjhgJvU4HV3sKarJA5JkRZJaSMKD Mss52y10472QGwc8Zh5IUtCLgZ7gZVI/OVMWTk7/5oK46KM0ANvK6hsyHQH1ICiTWgxM zdkxa2IXsMgb8AlV4jIuZ8DW1jTqDykSOy18ERWcifBL6ZkEQCz7SKbk3TTO0f7rbQ3W DF4A== 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:cc; bh=Qoq8KFFLs/mADfS9KehvNLfNxjW/7q5cVrFmrp0sGC0=; b=s9CwB43ocMdEhCStFeF+Tej0mX08JIq5DRLmdjqyJJ9oK9Z6aap9QX3xvmKg7jct2K bdh8JWilEqVh6avggz164EWFjtKFsLHqUF+ZyRGhpjoyXxwTX1WtbAjqau0Th81TrsFM JD3rZspqALE5IiynIesUNGZmdSYekvDVlfhQ31rKLoFulYZQvB9SssREux2r/kTxy0Rh QJYk6gsCDmMDF8sWIJTAx0mZrSmxlAmgL4ZcYiYeTa8RIuuBTkEG4ducs8T9I9zN0UAC MaB635eWFnK5dNdWKpj9xebYpX3/lXDlU8rq9pABq91SqaNL4JFoBl0gx5PpVzudoiQv fVvQ== X-Gm-Message-State: APjAAAVEgjYYUaXimkDEr8/VKDBFfcyVA9562mau4EWZ5VTT+BN0M/uU oW5yQlxsNKC6dkmS+5iwDEe9xkZUifGMT15EmSTUNNQJ X-Google-Smtp-Source: APXvYqwtSNyaq/I1o7BMtexqlsTOwRV7Ij/K1iGnU23ix8z1Lup5aUehIQDqjfMqzVv2i/xWrPjNnqRj7sD2Wb78wYk= X-Received: by 2002:aed:3be9:: with SMTP id s38mr16615770qte.175.1571618757100; Sun, 20 Oct 2019 17:45:57 -0700 (PDT) MIME-Version: 1.0 References: <20191021000433.GA14127@www.zefox.net> <20191021004317.GB14127@www.zefox.net> In-Reply-To: <20191021004317.GB14127@www.zefox.net> From: Warner Losh Date: Sun, 20 Oct 2019 18:45:45 -0600 Message-ID: Subject: Re: Swap_pager messages when no swap is in use To: bob prohaska Cc: freebsd-arm@freebsd.org X-Rspamd-Queue-Id: 46xHxf4pcWz4XlW X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsdimp-com.20150623.gappssmtp.com header.s=20150623 header.b=G5zK+/lT; dmarc=none; spf=none (mx1.freebsd.org: domain of wlosh@bsdimp.com has no SPF policy when checking 2607:f8b0:4864:20::832) smtp.mailfrom=wlosh@bsdimp.com X-Spamd-Result: default: False [-4.79 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20150623.gappssmtp.com:s=20150623]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; DMARC_NA(0.00)[bsdimp.com]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[bsdimp-com.20150623.gappssmtp.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[2.3.8.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]; R_SPF_NA(0.00)[]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; IP_SCORE(-2.79)[ip: (-9.38), ipnet: 2607:f8b0::/32(-2.45), asn: 15169(-2.08), country: US(-0.05)]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com]; RCVD_TLS_ALL(0.00)[]; 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-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Oct 2019 00:46:00 -0000 On Sun, Oct 20, 2019, 6:43 PM bob prohaska wrote: > On Sun, Oct 20, 2019 at 06:14:37PM -0600, Warner Losh wrote: > > On Sun, Oct 20, 2019, 6:04 PM bob prohaska wrote: > > > > > While running svnlite to update sources on a Pi3 running -currrent > > > I was surprised to notice a flurry of > > > swap_pager: indefinite wait buffer: bufobj: 0, blkno: 133095, size: > 4096 > > > swap_pager: indefinite wait buffer: bufobj: 0, blkno: 136056, size: > 4096 > > > swap_pager: indefinite wait buffer: bufobj: 0, blkno: 140560, size: > 4096 > > > swap_pager: indefinite wait buffer: bufobj: 0, blkno: 134290, size: > 8192 > > > swap_pager: indefinite wait buffer: bufobj: 0, blkno: 124869, size: > 16384 > > > swap_pager: indefinite wait buffer: bufobj: 0, blkno: 125113, size: > 4096 > > > swap_pager: indefinite wait buffer: bufobj: 0, blkno: 142799, size: > 4096 > > > messages when no swap seemed to be in use. Gstat reported much > congestion > > > of the microSD card, holding / and half the swap, but there was no > obvious > > > activity reading or writing swap, just the root partition. > > > > > > Should this be considered normal? It strikes me as very odd. > > > > > > > It took more than 30s for the IO to complete. Sadly, this is normal for > > cheap SD cards. > > > > Ok, but why is the swapping system complaining when there's no swapping > going on? > The swap pager is complaining. It is used for things other than pure swapping to a swap partition... Warner Thanks for reading, > > bob prohaska > >