From owner-freebsd-hackers@freebsd.org Sun Nov 22 22:05:35 2015 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AA9D9A347E5 for ; Sun, 22 Nov 2015 22:05:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (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 98FFC1866 for ; Sun, 22 Nov 2015 22:05:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id tAMM5ZWh048768 for ; Sun, 22 Nov 2015 22:05:35 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-hackers@FreeBSD.org Subject: [Bug 204716] boot loader bcache is trashed by larger sequential reads from zfs/ufs Date: Sun, 22 Nov 2015 22:05:35 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: tsoome@me.com X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-hackers@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-Mailman-Approved-At: Sun, 22 Nov 2015 22:31:59 +0000 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Nov 2015 22:05:35 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204716 --- Comment #3 from Toomas Soome --- well, of course it really depends on other interfaces, I actually did something more about bcache - instead of LRU, I use it as hash table, and in fact did make it a bit larger for test purposes. zfs boot to beastie menu: cache blocks: 8192 cache blocksz: 512 3906 ops 1533 bypasses 2281 hits 559 misses 6 flushes few / directory listings and: cache blocks: 8192 cache blocksz: 512 10110 ops 4473 bypasses 5754 hits 569 misses 6 flushes same with illumos ufs: cache blocks: 8192 cache blocksz: 512 1018 ops 297 bypasses 6636 hits 594 misses 6 flushes few / directory listings and: cache blocks: 8192 cache blocksz: 512 1564 ops 411 bypasses 13228 hits 914 misses 6 flushes so, it can provide some use still - from this trivial sample, especially with ufs. but once again - this sample is with hash table and without 2sec TTL check. -- You are receiving this mail because: You are the assignee for the bug.