Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 24 Feb 2003 04:18:12 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 24 Feb 2003 04:18:12 -0500 Received: from mx1.elte.hu ([157.181.1.137]:32927 "HELO mx1.elte.hu") by vger.kernel.org with SMTP id ; Mon, 24 Feb 2003 04:18:11 -0500 Date: Mon, 24 Feb 2003 10:28:06 +0100 (CET) From: Ingo Molnar Reply-To: Ingo Molnar To: procps-list@redhat.com Cc: Linus Torvalds , , , Alexander Viro Subject: Re: [patch] procfs/procps threading performance speedup, 2.5.62 In-Reply-To: <200302232151.h1NLp1x260213@saturn.cs.uml.edu> 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: 826 Lines: 23 On Sun, 23 Feb 2003, Albert D. Cahalan wrote: > Surely you realize that I have seen this code? have you actually tried it? > Proper "ps m" behavior groups threads in the output. The hacked-up > procps being used by Red Hat fails to do this. You chould change that... > at the cost of reading all processes and sorting them. There goes all of > your performance improvement. Albert, the new code properly reads all threads and sorts them, in the "ps m" case. Had you truly read my emails you'd notice where the overhead lies, and what steps were taken to get rid of it. Ingo - 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/