Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sat, 5 Oct 2002 22:10:22 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sat, 5 Oct 2002 22:10:22 -0400 Received: from packet.digeo.com ([12.110.80.53]:51844 "EHLO packet.digeo.com") by vger.kernel.org with ESMTP id ; Sat, 5 Oct 2002 22:10:21 -0400 Message-ID: <3D9F9CD5.CEB61219@digeo.com> Date: Sat, 05 Oct 2002 19:15:49 -0700 From: Andrew Morton X-Mailer: Mozilla 4.79 [en] (X11; U; Linux 2.5.40 i686) X-Accept-Language: en MIME-Version: 1.0 To: Rob Landley CC: Linus Torvalds , "Martin J. Bligh" , linux-kernel@vger.kernel.org Subject: Re: The reason to call it 3.0 is the desktop (was Re: [OT] 2.6 not 3.0 - (NUMA)) References: <200210060130.g961UjY2206214@pimout2-ext.prodigy.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 06 Oct 2002 02:15:51.0202 (UTC) FILETIME=[4AB9B820:01C26CDE] Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1731 Lines: 41 Rob Landley wrote: > > And the work that matters for the desktop is LATENCY work. 100% true. You should resist any confusion between IO latency and CPU scheduling latency. They really are worlds apart. In a stock 2.4 kernel it is hugely rare for the kernel to stall a ready-to-run task for longer than a monitor refresh interval, so I continue to disbelieve any claims that the low-latency and preemptivity patches make any difference in desktop use. (And 2.5 improves on this a _lot_. The now-departed buffer LRU and truncate list walks were the main culprits) Any attempt to link IO priority with nice is probably doomed to confused failure. It should be a clearly separated concept. There are priority inversions everywhere, too. I disagree with you on the new CPU scheduler. In my experience it is significantly worse than the old one - a `make -j3' is still sending interactive applications on extended lunch breaks. Not that I have tried to tune this away. Deadline scheduler is critical. As is a correct setting for /proc/sys/vm/dirty_async_ratio and the soon-to-be-born /proc/sys/vm/swappiness. These will boot up with sane values, as much as is humanly possible. It's not all kernel though. Application (KDE) startup is *slow*, even when zero I/O is performed. Presumably because of the vtable dynamic linking thing. I'm not sure how the prelinking work is getting along, but the initial figures I saw on that indicated that the benefit may not be sufficient. - 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/