From mboxrd@z Thu Jan 1 00:00:00 1970 Subject: Re: xmm2 - monitor Linux MM active/inactive lists graphically References: <20011026163958.C3324@suse.de> Reply-To: zlatko.calusic@iskon.hr 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: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-linux-mm@kvack.org Return-Path: To: Jens Axboe Cc: Linus Torvalds , Marcelo Tosatti , linux-mm@kvack.org, lkml List-ID: 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, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/