From owner-freebsd-stable@freebsd.org Mon Aug 13 14:09:03 2018 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 28BCE1073B1A for ; Mon, 13 Aug 2018 14:09:03 +0000 (UTC) (envelope-from asomers@gmail.com) Received: from mail-lf1-x133.google.com (mail-lf1-x133.google.com [IPv6:2a00:1450:4864:20::133]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 82A687B33B for ; Mon, 13 Aug 2018 14:09:02 +0000 (UTC) (envelope-from asomers@gmail.com) Received: by mail-lf1-x133.google.com with SMTP id u14-v6so11358694lfu.0 for ; Mon, 13 Aug 2018 07:09:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=dqNejEFiABdw2XPW7fgiphvT2gcU1eWAp4jLcgR6ulw=; b=Oy85kov9TcF6rExkOoSChIMhxqKe6pLEtpMLINULaWwRV6dVhhJK+bOenSP0MU7H+E 146dbqjOOV01XirUB7r31T9rVfH3kvEXygypztNz8MZwHz+8lTD3zL0wKabNnLul51U3 zVczv7D6NpibG+H3jOquHwnhU+UD/9rtz5TuWWlBRWB1+ilHMSQgFMEo3fi20SilM+LS zpP6accbYZD+HIQD4PSJ8iyl72FxaRjjwJuEqoGuTeBhA9KI7qAs5fZzhXKdti97DO/r Zg2bL4u0X79X/ztqj2gI2ZDpM35lSAjXvqK63M8FbYTaqFRLIQYa3AqvIphnQera6K1q AWww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=dqNejEFiABdw2XPW7fgiphvT2gcU1eWAp4jLcgR6ulw=; b=N6YEFxQ+guNOLRM93M/RZxFC6U6vZOS5C2WGQK9+JGpiRlJn7YOMePq8pNjwUni2lj gdioNpk9jJ6mRq4rGhHp+F0TtWL/zGV+tnvRRmAMKZnBeoi0I4I5bGo1g7sTuqpHA8Vv 7E+qv9AghCUkVJ3CyHiiSYLStHH5gSbGwW/XvpX+7Z3GB0Z/gbFrcxqXOWmyND7FPsFC H1HyyNsS8A46Ih3oW14vF/eSA5iY1v94KwFOwJodkST/jWOBxhNs7QCIxT7Wvi7kSQPQ HPqmS32JWJwjtUVR+D7EFnQj9Z1dgv1EhwLfy8S3fytZf7Qo7znMWJmrUL19GmBCZa2T lrrg== X-Gm-Message-State: AOUpUlEEhu7piw9bkQtcKiKSv4rvrGVxGwgVcL3UbnKiF61K1jDt6kM3 6DSZz3H4v4syP/xAl5pvGfrfNG5nrZrLV+hsyxdqOA== X-Google-Smtp-Source: AA+uWPytLQJMZjrETrHIjiiCywttpp2EXsm5plhnL/zsX1OTHLyrbMCg/R2lEAKLPA0qPnSohZvsUIPHFfQ6XUtYRtg= X-Received: by 2002:a19:1366:: with SMTP id j99-v6mr11493040lfi.21.1534169341107; Mon, 13 Aug 2018 07:09:01 -0700 (PDT) MIME-Version: 1.0 Sender: asomers@gmail.com Received: by 2002:ab3:7851:0:0:0:0:0 with HTTP; Mon, 13 Aug 2018 07:09:00 -0700 (PDT) In-Reply-To: <20180812205047.00002767@executive-computing.de> References: <20180812205047.00002767@executive-computing.de> From: Alan Somers Date: Mon, 13 Aug 2018 08:09:00 -0600 X-Google-Sender-Auth: fFHueOyBnePyONgAsWmmAnFVob0 Message-ID: Subject: Re: Jails on ZFS yielding 100% load on gstat To: Marco Steinbach Cc: FreeBSD Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Aug 2018 14:09:03 -0000 Jails probably aren't the source of your problem. You need to find out what process or processes are responsible for all this activity. Since the write bandwidth is fairly low, you might have a process that's sync(2)ing or fsync(2)ing. too often. "gstat -o" will show if that's the case. You can also try running "top -mio" to see which processes are doing the most I/O. -Alan On Sun, Aug 12, 2018 at 12:50 PM, Marco Steinbach < coco@executive-computing.de> wrote: > Hi there. > > % zpool list > NAME SIZE ALLOC FREE EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT > zroot 5.41T 670G 4.75T - 13% 12% 1.00x ONLINE - > > % uname -a > FreeBSD XXX 11.1-STABLE FreeBSD 11.1-STABLE #0 r322984 [...] amd64 > > > I'm running multiple jails on ZFS, using ezjail to manage them, > including a websever and a mailserver. The mailserver is using a MySQL > database, otherwise depending on dovecot and postfix. Very low volume, > just a few polls / logins per minute. > > I am experiencing very high loads as per gstat: > > dT: 1.021s w: 1.000s > L(q) ops/s r/s kBps ms/r w/s kBps ms/w %busy Name > 4 181 0 0 0.0 169 873 20.1 98.2| ada0 > 2 111 0 0 0.0 100 540 7.3 90.6| ada1 > 0 88 0 0 0.0 76 458 1.4 43.3| ada2 > 0 0 0 0 0.0 0 0 0.0 0.0| ada0p1 > 3 150 0 0 0.0 150 603 20.2 95.1| ada0p2 > 1 31 0 0 0.0 20 270 19.2 117.0| ada0p3 > 0 0 0 0 0.0 0 0 0.0 0.0| gpt/gptboot0 > 0 0 0 0 0.0 0 0 0.0 0.0| ada1p1 > 1 85 0 0 0.0 85 341 8.4 68.9| ada1p2 > 1 25 0 0 0.0 15 200 0.9 75.0| ada1p3 > 0 0 0 0 0.0 0 0 0.0 0.0| ada2p1 > 0 62 0 0 0.0 62 251 1.6 9.9| ada2p2 > 0 26 0 0 0.0 15 208 0.5 42.0| ada2p3 > 0 0 0 0 0.0 0 0 0.0 0.0| gpt/gptboot1 > 0 0 0 0 0.0 0 0 0.0 0.0| gpt/gptboot2 > > > These loads lead to the system suffering from very much delayed > responses to even the basic task of echoing characters entered on the > console, consequently rendering the services offered unusable to the > users because of the delays. > > Restarting the jails (or even the whole machine at that) ends me up at > exactly the same situation. > > I do have lab machines for running load scenarios, so if anyone feels > compelled to lend a hand, please do. > > MfG CoCo > _______________________________________________ > freebsd-stable@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" >