Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753723AbaFBLOh (ORCPT ); Mon, 2 Jun 2014 07:14:37 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:50807 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752784AbaFBLOf (ORCPT ); Mon, 2 Jun 2014 07:14:35 -0400 Date: Mon, 2 Jun 2014 13:14:33 +0200 From: Pavel Machek To: Tejun Heo Cc: Paolo Valente , Jens Axboe , Li Zefan , Fabio Checconi , Arianna Avanzini , linux-kernel@vger.kernel.org, containers@lists.linux-foundation.org, cgroups@vger.kernel.org Subject: Re: [PATCH RFC - TAKE TWO - 00/12] New version of the BFQ I/O Scheduler Message-ID: <20140602111432.GA3737@amd.pavel.ucw.cz> References: <20140528221929.GG1419@htj.dyndns.org> <1401354343-5527-1-git-send-email-paolo.valente@unimore.it> <20140530160712.GG24871@htj.dyndns.org> <464F6CBE-A63E-46EF-A90D-BF8450430444@unimore.it> <20140530232804.GA5057@htj.dyndns.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20140530232804.GA5057@htj.dyndns.org> User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri 2014-05-30 19:28:04, Tejun Heo wrote: > Hello, > > On Sat, May 31, 2014 at 12:23:01AM +0200, Paolo Valente wrote: > > I do agree that bfq has essentially the same purpose as cfq. I am > > not sure that it is what you are proposing, but, in my opinion, > > since both the engine and all the new heuristics of bfq differ from > > those of cfq, a replacement would be most certainly a much easier > > solution than any other transformation of cfq into bfq (needless to > > say, leaving the same name for the scheduler would not be a problem > > for me). Of course, before that we are willing to improve what has > > to be improved in bfq. > > Well, it's all about how to actually route the changes and in general > whenever avoidable we try to avoid whole-sale code replacement > especially when most of the structural code is similar like in this > case. Gradually evolving cfq to bfq is likely to take more work but > I'm very positive that it'd definitely be a lot easier to merge the > changes that way and people involved, including the developers and > reviewers, would acquire a lot clearer picture of what's going on in > the process. For example, AFAICS, most of the heuristics added by Would it make sense to merge bfq first, _then_ turn cfq into bfq, then remove bfq? That way 1. Users like me would see improvements soon 2. BFQ would get more testing early. 3. If there are some problems in some workload, switching between bfq and cfq will be easier than playing with git/patches. Now.. I see it is more work for storage maintainers, because there'll be more code to maintain in the interim. But perhaps user advantages are worth it? Thanks, Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/