From owner-freebsd-geom@freebsd.org Sun Jan 6 20:09:52 2019 Return-Path: Delivered-To: freebsd-geom@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 9048A149941A for ; Sun, 6 Jan 2019 20:09:52 +0000 (UTC) (envelope-from nvass@gmx.com) Received: from mout.gmx.net (mout.gmx.net [212.227.15.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 529258D2AC for ; Sun, 6 Jan 2019 20:09:48 +0000 (UTC) (envelope-from nvass@gmx.com) Received: from moby.local ([109.242.32.204]) by mail.gmx.com (mrgmx003 [212.227.17.184]) with ESMTPSA (Nemesis) id 0LmbZb-1hFIdk3kKB-00aDzo for ; Sun, 06 Jan 2019 21:09:40 +0100 To: FreeBSD Questions From: Nikos Vassiliadis Subject: gsched and zfs destroy on slow storage Message-ID: Date: Sun, 6 Jan 2019 22:09:32 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.3.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:Xdk97Qi+BlAIED93ytjb1t2Ybj5IL92Sdv+vv/iW165d7yMmdhj 3MvfS3tQTLPNOTiuCivVe2a5M3secLzRer0PlLU3W2zQL+FB2zUNdYNFGDyO0ybhby773UD 4n7YvvREV+Eq/KSSG8R5htf3NbQ+r0BTfm08Rap5QqojnXfLwSNytO/yS9N3uKVccgB96vs zm4ZLPb8QOWjn2QYfpj3g== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:7ZCwO5c/21g=:pgjt40+Yt+0XZE542BBbDo ACVyuOQV9vxL8juaONTS+MumE51doX4IN9t7XSCGcnU7w6Du9uKms3wxHj3tFeVX3RTiSu1D0 R0EwfxS/7XshIai3wiomxcdmsYpMDdLv4amr49qPWHgZ3SD62B5zEoGIAsvZrDDt/jdPCi/BN FPM4YbYn39/tqtHHyBemHa1XOu7WGAcAHzgXoxKFYW5jqLTnmH/57RhHQsIJU3KXai2oxoji2 9lMpf7qFPi3PQUjIZxcjFeUp0r64gAEejhYjmrP8HPHwUaaQ89/LV2l4RC1iYXMPSxe95n45r pY11pkiP8z04i6ynQtm242eZiRnJylIWrpuVyQKRAXp9DUU2+/wJvxrlw/9GtwHkttKpC0epn mzylki7mUp498AHMkm4nyghOtQGGtCHweHmSvGGB1W2oop7QeX3xKRMFZNqbvRxKWJCerdVtr d1T5EPmQjrfPdwqVm78PwhWv/2xV1QJmn4dNH6SR8mozpE+VyV11kTqMG3xFWkNz7OksllxYK mbFpqmrJsbX02xWfr9tVa35k0V7XZSqd5X4hQhq+V9KIIurzErEeFlaw/MTroI8hWzFSUINRJ RggDrOHah/QU6G+jLdlfSTSALrbHsPDxFaveXXEQEa8175qn6qy6t0t5VrTi+n3X9lHxsE2KF vaj8IxXyjRoeUu/I4P6gLcNRIrShyBoYVTA1G3OjP1BjPsY2zBkENbA0Q8VxLgdMXsSGMANMw eOgv6hZuHItYK+/qITmK+gRUQrUwL+v69rk58R+iLjl6ZAydR31u3O4EVK8wQy/3XPG3ivPIi RlrG8NrX48hDR45iJPl1QnyrmGDyX5BYmRWhBVk+0NprhRQRHbiZeKGcM1jYK68GMjwgkQ+QK s2EpIvxpKBYS7+9F+nsb589AeovzQXO7cmPlG6pFDS441zDMzALjYehwapAPcN X-Rspamd-Queue-Id: 529258D2AC X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of nvass@gmx.com designates 212.227.15.18 as permitted sender) smtp.mailfrom=nvass@gmx.com X-Spamd-Result: default: False [-3.78 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:212.227.15.0/24]; FREEMAIL_FROM(0.00)[gmx.com]; TO_DN_ALL(0.00)[]; MX_GOOD(-0.01)[cached: mx00.gmx.net]; NEURAL_HAM_SHORT(-0.63)[-0.627,0]; RCVD_IN_DNSWL_LOW(-0.10)[18.15.227.212.list.dnswl.org : 127.0.3.1]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmx.com]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[204.32.242.109.zen.spamhaus.org : 127.0.0.11]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.995,0]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-0.999,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-geom@freebsd.org]; DMARC_NA(0.00)[gmx.com]; RCPT_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+]; IP_SCORE(-0.74)[ip: (-4.20), ipnet: 212.227.0.0/16(-0.51), asn: 8560(0.99), country: DE(-0.01)]; RWL_MAILSPIKE_POSSIBLE(0.00)[18.15.227.212.rep.mailspike.net : 127.0.0.17]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Jan 2019 20:09:52 -0000 Hi, while booting my laptop automatically destroys old ZFS snapshots. Some times the number of IOPS needed to delete the snapshot is quite big and using the computer during this time is very very slow. For example, an xterm takes over one minute to start. Deleting the snapshot can take a good five minutes to finish. I was thinking of using gsched to alleviate the effect a bit. I am wondering if that would help? I just want the computer to be usable during the snapshot's removal. Thanks in advance, Nikos