Re: [patch 0/9] mutex subsystem, -V4
From: Andrew Morton
Date: Mon Dec 26 2005 - 07:26:48 EST
Arjan van de Ven <arjan@xxxxxxxxxxxxx> wrote:
>
>
> > hm. 16 CPUs hitting the same semaphore at great arrival rates. The cost
> > of a short spin is much less than the cost of a sleep/wakeup. The machine
> > was doing 100,000 - 200,000 context switches per second.
>
> interesting.. this might be a good indication that a "spin a bit first"
> mutex slowpath for some locks might be worth implementing...
If we see a workload which is triggering such high context switch rates,
maybe. But I don't think we've seen any such for a long time.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/