From owner-freebsd-geom@FreeBSD.ORG Thu Mar 5 15:16:29 2015 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D6A00B38 for ; Thu, 5 Mar 2015 15:16:29 +0000 (UTC) Received: from mxout01.bytecamp.net (mxout01.bytecamp.net [212.204.60.217]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 89EAB6BB for ; Thu, 5 Mar 2015 15:16:29 +0000 (UTC) Received: by mxout01.bytecamp.net (Postfix, from userid 1001) id 4A1CB30FEA1; Thu, 5 Mar 2015 16:16:27 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=bytecamp.net; h=message-id:date:from:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; s=20140709; bh=V7TcLDwBS1QtxLDp9NmI2zMExQs=; b=zOzWa9bmUlgXTf5pIrsiu2/a2AWK2UHSaWZH4r2ObRbfAv0a2Up2zo6c0n6vnkgSxzQdJus3eBdPO+4Lckx9b176YpWT1bCauEoR1W+CohFmTjN3llBcHVTHje2dLg0YDJT45LbTKBGGPXWK4W6hREalEvVwNQqbE1od9xnJXVc= Received: from mail.bytecamp.net (mailstore.bytecamp.net [212.204.60.20]) by mxout01.bytecamp.net (Postfix) with ESMTP id 05CBA30FE8D for ; Thu, 5 Mar 2015 16:16:26 +0100 (CET) Received: (qmail 99174 invoked by uid 89); 5 Mar 2015 16:16:26 +0100 Received: from stella.bytecamp.net (HELO ?212.204.60.37?) (rs%bytecamp.net@212.204.60.37) by mail.bytecamp.net with AES128-SHA encrypted SMTP; 5 Mar 2015 16:16:26 +0100 Message-ID: <54F8734A.40409@bytecamp.net> Date: Thu, 05 Mar 2015 16:16:26 +0100 From: Robert Schulze Organization: bytecamp GmbH User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: freebsd-geom@freebsd.org Subject: Re: Trim on gmirrored SSDs is slow and results in inresponsive system References: <54F6FE2E.60303@bytecamp.net> <54F707CC.6070105@multiplay.co.uk> <54F7147F.8070206@bytecamp.net> <54F718D9.1080201@multiplay.co.uk> <54F721BC.5070204@bytecamp.net> <54F72E39.2070105@multiplay.co.uk> <54F863C9.3070002@bytecamp.net> <54F86A06.4090301@multiplay.co.uk> In-Reply-To: <54F86A06.4090301@multiplay.co.uk> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Mar 2015 15:16:29 -0000 Hi, > These values look totally reasonable in terms a d/s. > > How does this compare to the none gmirror case? Its barely measurable, but in this case I can start a loop directly after unlink with very small interval. The only measurement with non-null values is: dT: 0.205s w: 0.200s filter: ada L(q) ops/s r/s kBps ms/r w/s kBps ms/w d/s kBps ms/d %busy Name 0 0 0 0 0.0 0 0 0.0 0 0 0.0 0.0 ada0 0 51537 5 156 2.4 0 0 0.0 51532 1649018 3.8 18.2 ada1 thats all. It takes not even half a second to push the DELETE ops to the SSD in case of non-gmirrored UFS. Again, with a 2 GB file. > Compile a version of the kernel with this change reverted. > > Details of the change can be seen here. > https://svnweb.freebsd.org/base?view=revision&revision=268816 done, but it did not change behaviour. regards, Robert Schulze -- /7\ bytecamp GmbH Geschwister-Scholl-Str. 10, 14776 Brandenburg a.d. Havel HRB15752, Amtsgericht Potsdam, Geschaeftsfuehrer: Bjoern Barnekow, Frank Rosenbaum, Sirko Zidlewitz tel +49 3381 79637-0 werktags 10-12,13-17 Uhr, fax +49 3381 79637-20 mail rs@bytecamp.net, web http://bytecamp.net/