From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tejun Heo Subject: Re: performance drop after using blkcg Date: Tue, 11 Dec 2012 06:27:42 -0800 Message-ID: <20121211142742.GE7084@htj.dyndns.org> References: <20121211142518.GA5580@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=AwVqnvcNzLmgLUgDCKetOFFebrP2MEe+49emqHhRqC0=; b=z1vNrwMiDAB8Ti9HNWNLx0qwGfsz3d/bP74yrbUvC47KFzVRdU024QsqLnh62EbAlw 9WMOgOWGbRKalZ9reGXumgEzT/LdqNOUH+FZ/pS0iyfzkKxPGMS7XcvSXGt5PNxbY6CJ 4Vq2tPVSWyoIMJZoCmhWwLm1o0gwjJp9qy09Uy83jg/NwZwT2uRi0N0E0f1axhkUObfx HtIW+3mOgudh3rA4IakT+LQguMOlA6HFt3qJP0yeaW8/gBU36snh7ft4BuBFf8tLoP+V 0t6gYdp7Fc9yhoFLcGHj4FrOQbWku7DTZA28iT1kFpLHbxCCidZx3JrwCLQGedxvaxRG y48w== Content-Disposition: inline In-Reply-To: <20121211142518.GA5580-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Vivek Goyal Cc: axboe-tSWWG44O7X1aa/9Udqfwiw@public.gmane.org, ctalbott-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org, rni-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org, containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Zhao Shuai , cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org On Tue, Dec 11, 2012 at 09:25:18AM -0500, Vivek Goyal wrote: > In general, do not use blkcg on faster storage. In current form it > is at best suitable for single rotational SATA/SAS disk. I have not > been able to figure out how to provide fairness without group idling. I think cfq is just the wrong approach for faster non-rotational devices. We should be allocating iops instead of time slices. Thanks. -- tejun