Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752899AbbHRUWK (ORCPT ); Tue, 18 Aug 2015 16:22:10 -0400 Received: from mail-pa0-f46.google.com ([209.85.220.46]:34352 "EHLO mail-pa0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751616AbbHRUWG (ORCPT ); Tue, 18 Aug 2015 16:22:06 -0400 Message-ID: <55D393EB.7020506@kernel.dk> Date: Tue, 18 Aug 2015 13:22:03 -0700 From: Jens Axboe User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.8.0 MIME-Version: 1.0 To: Jeff Moyer , hch@infradead.org CC: ed.cashin@acm.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/2] block: Reinstate BLK_DEF_MAX_SECTORS References: <1439492277-14638-1-git-send-email-jmoyer@redhat.com> In-Reply-To: <1439492277-14638-1-git-send-email-jmoyer@redhat.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1209 Lines: 28 On 08/13/2015 11:57 AM, Jeff Moyer wrote: > Commit 34b48db66e08 (block: remove artificial max_hw_sectors cap) > caused performance regressions for streaming I/O workloads across > a range of storage from SATA disks to enterprise storage arrays. > I was unable to actually show a performance gain for any storage > I have access to. However, the patch was introduced to boost > performance on software RAID over SATA disks, and I don't have > access to such a configuration. > > The compromise is to reinstate BLK_DEF_MAX_SECTORS, but to bump it > up to 2560 from 1024. This number should allow full stripe writes > to 10 data disks with a chunk size of 128KB, and at the same time > does not regress the storage I have access to. > > [PATCH 1/2] Revert "block: remove artifical max_hw_sectors cap" > [PATCH 2/2] block: bump BLK_DEF_MAX_SECTORS to 2560 Thanks, I added both. A bit annoying though, but better to fix up the perf regression now. -- Jens Axboe -- 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/