Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261638AbUDLSne (ORCPT ); Mon, 12 Apr 2004 14:43:34 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S263006AbUDLSne (ORCPT ); Mon, 12 Apr 2004 14:43:34 -0400 Received: from bay-bridge.veritas.com ([143.127.3.10]:32141 "EHLO MTVMIME03.enterprise.veritas.com") by vger.kernel.org with ESMTP id S261638AbUDLSnc (ORCPT ); Mon, 12 Apr 2004 14:43:32 -0400 Date: Mon, 12 Apr 2004 19:43:25 +0100 (BST) From: Hugh Dickins X-X-Sender: hugh@localhost.localdomain To: "Martin J. Bligh" cc: linux-kernel@vger.kernel.org, Andrew Morton , Rajesh Venkatasubramanian Subject: Re: [PATCH] anobjrmap 9 priority mjb tree In-Reply-To: <1906620000.1081784807@[10.10.2.4]> Message-ID: 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 Content-Length: 2020 Lines: 47 On Mon, 12 Apr 2004, Martin J. Bligh wrote: > >> Any chance of you doing the same comparison between 2.6.5-aa5 > >> 2.6.5-aa5 minus prio-tree? > > Hmm. it's halfway between the two. There does seem to be less sem > contention, though the profile ticks in __down isn't really an accurate > measure. Thanks a lot, Martin (despite my silence, I really am listening and pondering intermittently on this). So, -aa5 shows high __down count too, may not be any kind of accurate measure, but it's surely not good. Mainly I'm concentrating on getting ready the next few patches of the objrmap set for Andrew (not to be sent for a day or two). Unless we see a plausible way forward on your SDET numbers, I think it casts this project in doubt - but even so I do need to focus or I'll just mess them up. Seems as if prio tree has too high a cost there, yet we believe we need it to handle the corner cases of objrmap. What I want to investigate, when I'm far enough done, is the effect of restoring i_shared_sem to the i_shared_lock it was before 2.5.57. My fantasy is that your SDET would behave much more stably without that as a semaphore, that prio tree just pushes it over your cliff. It is easier to insert and remove vmas in the list than the tree, and you can get away with leaving them in place quite often with the list. (Expect me to shout excitedly "Hey, the __down count has gone right down, that proves I'm right!") i_shared_lock changed to i_shared_sem to allow that cond_resched_lock in unmap_vmas to solve vmtruncate latency problems? With i_mmap and i_mmap_shared as lists, isn't it easy to insert a dummy marker vma and drop the lock if we need resched? Resuming from marker after. But, sadly, I doubt that can be done with the prio tree: Rajesh? Hugh - 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/