Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Fri, 26 Oct 2001 10:57:23 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Fri, 26 Oct 2001 10:57:13 -0400 Received: from inje.iskon.hr ([213.191.128.16]:57293 "EHLO inje.iskon.hr") by vger.kernel.org with ESMTP id ; Fri, 26 Oct 2001 10:57:04 -0400 To: Jens Axboe Cc: Linus Torvalds , Marcelo Tosatti , linux-mm@kvack.org, lkml Subject: Re: xmm2 - monitor Linux MM active/inactive lists graphically In-Reply-To: <20011026163958.C3324@suse.de> Reply-To: zlatko.calusic@iskon.hr X-Face: s71Vs\G4I3mB$X2=P4h[aszUL\%"`1!YRYl[JGlC57kU-`kxADX}T/Bq)Q9.$fGh7lFNb.s i&L3xVb:q_Pr}>Eo(@kU,c:3:64cR]m@27>1tGl1):#(bs*Ip0c}N{:JGcgOXd9H'Nwm:}jLr\FZtZ pri/C@\,4lW<|jrq^<):Nk%Hp@G&F"r+n1@BoH From: Zlatko Calusic Date: 26 Oct 2001 16:57:32 +0200 In-Reply-To: <20011026163958.C3324@suse.de> (Jens Axboe's message of "Fri, 26 Oct 2001 16:39:58 +0200") Message-ID: Lines: 41 User-Agent: Gnus/5.090003 (Oort Gnus v0.03) XEmacs/21.4 (Artificial Intelligence) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Jens Axboe writes: > On Fri, Oct 26 2001, Zlatko Calusic wrote: > > Linus Torvalds writes: > > > > > On 25 Oct 2001, Zlatko Calusic wrote: > > > > > > > > Yes, I definitely have DMA turned ON. All parameters are OK. :) > > > > > > I suspect it may just be that "queue_nr_requests"/"batch_count" is > > > different in -ac: what happens if you tweak them to the same values? > > > > > > > Next test: > > > > block: 1024 slots per queue, batch=341 > > That's way too much, batch should just stay around 32, that is fine. OK. Anyway, neither configuration works well, so the problem might be somewhere else. While at it, could you give short explanation of those two parameters? > > > Still very spiky, and during the write disk is uncapable of doing any > > reads. IOW, no serious application can be started before writing has > > finished. Shouldn't we favour reads over writes? Or is it just that > > the elevator is not doing its job right, so reads suffer? > > You are probably just seeing starvation due to the very long queues. > Is there anything we could do about that? I remember Linux once had a favoured reads, but I'm not sure if we do that likewise these days. When I find some time, I'll dig around that code. It is very interesting part of the kernel, I'm sure, I just didn't have enough time so far, to spend hacking on that part. -- Zlatko - 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/