From: Andrew Martin Subject: Re: Performance testing with bcache Date: Fri, 14 Mar 2014 13:41:36 -0500 (CDT) Message-ID: <216592761.38181.1394822496274.JavaMail.zimbra@xes-inc.com> References: <155722734.53464.1394740311695.JavaMail.zimbra@xes-inc.com> <2000529324.55683.1394741536677.JavaMail.zimbra@xes-inc.com> <20140313205259.GA28293@sucs.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from xes-mad.com ([216.165.139.218]:29893 "EHLO xes-mad.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754585AbaCNSlh (ORCPT ); Fri, 14 Mar 2014 14:41:37 -0400 In-Reply-To: <20140313205259.GA28293@sucs.org> Sender: linux-bcache-owner@vger.kernel.org List-Id: linux-bcache@vger.kernel.org To: Sitsofe Wheeler Cc: linux-bcache@vger.kernel.org ----- Original Message ----- > From: "Sitsofe Wheeler" ... > > However, if I cat /sys/block/bcache0/bcache/cache/cache_available_percent > > before and after performing the read, the value is always 100. Would using > > iflag=direct be better than iflag=nocache in this case? Is there a better > > way to force data into the cache for this type of performance benchmarking? > > The amount free isn't as important as the cache hits/misses ratio. > Additionally I would recommend reading the TROUBLESHOOTING PERFORMANCE > section mentioned above and posting your findings here because the > bcache defaults often defeat first attempt synthetic benchmarking... Thanks, I will try fio with these recommended steps! Andrew