From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753057AbaEBQnO (ORCPT ); Fri, 2 May 2014 12:43:14 -0400 Received: from bombadil.infradead.org ([198.137.202.9]:43404 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752160AbaEBQnN (ORCPT ); Fri, 2 May 2014 12:43:13 -0400 Date: Fri, 2 May 2014 09:43:05 -0700 From: Christoph Hellwig To: Jens Axboe Cc: Christoph Hellwig , Kent Overstreet , Ming Lei , Alexander Gordeev , Linux Kernel Mailing List , Shaohua Li , Nicholas Bellinger , Ingo Molnar , Peter Zijlstra Subject: Re: [PATCH RFC 0/2] percpu_ida: Take into account CPU topology when stealing tags Message-ID: <20140502164305.GA18747@infradead.org> References: <535AD235.90604@kernel.dk> <535B13D7.4050202@kernel.dk> <53601602.5060306@kernel.dk> <20140501224744.GA2285@kmo-pixel> <536300BB.5060906@kernel.dk> <20140502050523.GA21708@infradead.org> <5363CAC4.4040306@kernel.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5363CAC4.4040306@kernel.dk> User-Agent: Mutt/1.5.21 (2010-09-15) X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, May 02, 2014 at 10:41:40AM -0600, Jens Axboe wrote: > > At least for SCSI devices _tag space_ is plenty, it's just the we > > artifically limit our tag space to the queue depth to avoid having to > > track that one separately. In addition we also preallocaste a request > > for each tag, so even if we would track the queue depth separately > > we would waste a lot of memory. > > In practice it comes out to the same, it's not feasible to run a much > larger space and track on queue depth. So I don't think that changes the > conclusion for SCSI. Agreed. Just had to check if my smart ass hat still fits this morning..