[PATCH 0/13] Multiprocessor CPU scheduler patches

2005-02-23 Thread Nick Piggin
Hi, I hope that you can include the following set of CPU scheduler patches in -mm soon, if you have no other significant performance work going on. There are some fairly significant changes, with a few basic aims: * Improve SMT behaviour * Improve CMP behaviour, CMP/NUMA scheduling (ie. Opteron)

[PATCH 1/13] timestamp fixes

2005-02-23 Thread Nick Piggin
1/13 Some fixes for unsynchronised TSCs. A task's timestamp may have been set by another CPU. Although we try to adjust this correctly with the timestamp_last_tick field, there is no guarantee this will be exactly right. Signed-off-by: Nick Piggin <[EMAIL PROTECTED]> Index: linux-2.6/kernel/sche

[PATCH 2/13] improve pinned task handling

2005-02-23 Thread Nick Piggin
2/13 John Hawkes explained the problem best: A large number of processes that are pinned to a single CPU results in every other CPU's load_balance() seeing this overloaded CPU as "busiest", yet move_tasks() never finds a task to pull-migrate. This condition occurs during module unload, but ca

[PATCH 3/13] rework schedstats

2005-02-23 Thread Nick Piggin
3/13 I have an updated userspace parser for this thing, if you are still keeping it on your website. Move balancing fields into struct sched_domain, so we can get more useful results on systems with multiple domains (eg SMT+SMP, CMP+NUMA, SMP+NUMA, etc). Signed-off-by: Nick Piggin <[EMAIL PROTEC

[PATCH 4/13] find_busiest_group fixlets

2005-02-23 Thread Nick Piggin
4/13 Fix up a few small warts in the periodic multiprocessor rebalancing code. Signed-off-by: Nick Piggin <[EMAIL PROTECTED]> Index: linux-2.6/kernel/sched.c === --- linux-2.6.orig/kernel/sched.c 2005-02-24 17:31:28.431609701 +1100

[PATCH 5/13] find_busiest_group cleanup

2005-02-23 Thread Nick Piggin
5/13 Cleanup find_busiest_group a bit. New sched-domains code means we can't have groups without a CPU. Signed-off-by: Nick Piggin <[EMAIL PROTECTED]> Index: linux-2.6/kernel/sched.c === --- linux-2.6.orig/kernel/sched.c 2005-02-24

[PATCH 7/13] better active balancing heuristic

2005-02-23 Thread Nick Piggin
7/13 Fix up active load balancing a bit so it doesn't get called when it shouldn't. Reset the nr_balance_failed counter at more points where we have found conditions to be balanced. This reduces too aggressive active balancing seen on some workloads. Signed-off-by: Nick Piggin <[EMAIL PROTECTED]

Re: [RFC] PCI bridge driver rewrite

2005-02-23 Thread Jon Smirl
When you start writing the PCI root bridge driver you'll run into the AGP drivers that are already attached to the bridge. I was surprised by this since I expected AGP to be attached to the AGP bridge but now I learned that it is a root bridge function. An ISA LPC bridge driver would be nice too.

[PATCH 9/13] less affine wakups

2005-02-23 Thread Nick Piggin
9/13 Do less affine wakeups. We're trying to reduce dbt2-pgsql idle time regressions here... make sure we don't don't move tasks the wrong way in an imbalance condition. Also, remove the cache coldness requirement from the calculation - this seems to induce sharp cutoff points where behaviour will

[PATCH 8/13] generalised CPU load averaging

2005-02-23 Thread Nick Piggin
8/13 Do CPU load averaging over a number of different intervals. Allow each interval to be chosen by sending a parameter to source_load and target_load. 0 is instantaneous, idx > 0 returns a decaying average with the most recent sample weighted at 2^(idx-1). To a maximum of 3 (could be easily incr

[PATCH 12/13] schedstats additions for sched-balance-fork

2005-02-23 Thread Nick Piggin
12/13 Add SCHEDSTAT statistics for sched-balance-fork. Signed-off-by: Nick Piggin <[EMAIL PROTECTED]> Index: linux-2.6/include/linux/sched.h === --- linux-2.6.orig/include/linux/sched.h 2005-02-24 17:39:07.616911007 +1100 +++ linux

[PATCH 10/13] remove aggressive idle balancing

2005-02-23 Thread Nick Piggin
10/13 Remove the very aggressive idle stuff that has recently gone into 2.6 - it is going against the direction we are trying to go. Hopefully we can regain performance through other methods. Signed-off-by: Nick Piggin <[EMAIL PROTECTED]> Index: linux-2.6/include/asm-i386/topology.h =

[PATCH 11/13] sched-domains aware balance-on-fork

2005-02-23 Thread Nick Piggin
11/13 Reimplement the balance on exec balancing to be sched-domains aware. Use this to also do balance on fork balancing. Make x86_64 do balance on fork over the NUMA domain. The problem that the non sched domains aware blancing became apparent on dual core, multi socket opterons. What we want is

[PATCH 13/13] basic tuning

2005-02-23 Thread Nick Piggin
13/13 Do some basic initial tuning. Signed-off-by: Nick Piggin <[EMAIL PROTECTED]> Index: linux-2.6/include/asm-x86_64/topology.h === --- linux-2.6.orig/include/asm-x86_64/topology.h 2005-02-24 17:39:07.615911131 +1100 +++ linux-2.6

Re: [8/14] Orinoco driver updates - PCMCIA initialization cleanups

2005-02-23 Thread Jeff Garzik
Dominik Brodowski wrote: @@ -184,6 +186,7 @@ dev_list = link; client_reg.dev_info = &dev_info; + client_reg.Attributes = INFO_IO_CLIENT | INFO_CARD_SHARE; That's not needed any longer for 2.6. So who wants to send the incremental update patch? :) Jeff - To unsubscri

Re: [Lse-tech] Re: A common layer for Accounting packages

2005-02-23 Thread Guillaume Thouvenin
On Wed, 2005-02-23 at 11:11 -0800, Jay Lan wrote: > Guillaume Thouvenin wrote: > > It's what I'm proposing. The problem is to be alerted when a new process > > is created in order to add it in the correct group of processes if the > > parent belongs to one (or several) groups. The notification can

netdev-2.6, wireless-2.6 queues updated

2005-02-23 Thread Jeff Garzik
See attached changelog. I'm too slack to post a patch tonight. Please do a bk pull bk://gkernel.bkbits.net/netdev-2.6 This will update the following files: drivers/net/bagetlance.c| 1368 - include/linux/dp83840.h | 41 Documentati

Re: [PATCH 1/13] timestamp fixes

2005-02-23 Thread Ingo Molnar
* Nick Piggin <[EMAIL PROTECTED]> wrote: > 1/13 > ugh, has this been tested? It needs the patch below. Ingo Signed-off-by: Ingo Molnar <[EMAIL PROTECTED]> --- linux/kernel/sched.c.orig +++ linux/kernel/sched.c @@ -2704,11 +2704,11 @@ need_resched_nonpreemptible: schedstat_i

[PATCH] Non-DMA mode for floppy on PowerPC, new version

2005-02-23 Thread Pavel Fedin
Here is a cleaned up version of my 2.6.8 kernel patch. This patch allows to use floppy drive in non-DMA mode on PegasosPPC and AmigaOne machines. To use it: 1. Do not build floppy driver as a module, link it statically. Transferring parameters to it from insmod is still problematic, at least

<    1   2   3   4