From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ua0-f177.google.com ([209.85.217.177]:34920 "EHLO mail-ua0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751912AbdDHJGj (ORCPT ); Sat, 8 Apr 2017 05:06:39 -0400 Received: by mail-ua0-f177.google.com with SMTP id 49so6502709uau.2 for ; Sat, 08 Apr 2017 02:06:39 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: From: Sitsofe Wheeler Date: Sat, 8 Apr 2017 10:06:08 +0100 Message-ID: Subject: Re: NCQ Priority Support and FIO Content-Type: text/plain; charset=UTF-8 Sender: fio-owner@vger.kernel.org List-Id: fio@vger.kernel.org To: Brandon Schwartz Cc: "fio@vger.kernel.org" Hi Brandon, Looks like someone went on to implement a design based on what you were after https://github.com/xahmad/fio/commit/c45abdaa857bd30ccf4f20ed59340686fc3e9103 . It's not in mainline fio but perhaps if it was cleaned up it could be submitted for inclusion? On 4 February 2017 at 07:37, Sitsofe Wheeler wrote: > > I can't think of anything if you mean "I want the same thread/single > job to send both normal AND high priority commands" so perhaps it > would have to be done as new patch to the pvsync2 ioengine... > > On 4 February 2017 at 00:03, Brandon Schwartz wrote: >> Thanks for the info, I'll play around with that option and see if I >> can make that work. Is there anything that would allow me to control >> the amount of priority commands from within a single thread? >> >> On Thu, Feb 2, 2017 at 3:36 PM, Sitsofe Wheeler wrote: >>> >>> Perhaps you could use multiple threads and utilise the flow >>> (http://fio.readthedocs.io/en/sphinx-doc/fio_doc.html#cmdoption-arg-flow >>> ) control on pairs of threads? >>> >>> On 2 February 2017 at 22:29, Brandon Schwartz wrote: >>>> >>>> 60% RandomRead / 40% RandomWrite but of those reads, have 15% be high priority >>>> >>>> Or is there a way to get this sort of priority testing done with >>>> current FIO? -- Sitsofe | http://sucs.org/~sits/