Re: [RFD PATCH 0/4] cpu: Bulk CPU Hotplug support.

From: Andrew Morton
Date: Tue Jun 16 2009 - 02:24:26 EST


On Tue, 16 Jun 2009 11:08:39 +0530 Gautham R Shenoy <ego@xxxxxxxxxx> wrote:

> Currently on a ppc64 box with 16 CPUs, the time taken for
> a individual cpu-hotplug operation is as follows.
>
> # time echo 0 > /sys/devices/system/cpu/cpu2/online
> real 0m0.025s
> user 0m0.000s
> sys 0m0.002s
>
> # time echo 1 > /sys/devices/system/cpu/cpu2/online
> real 0m0.021s
> user 0m0.000s
> sys 0m0.000s

Surprised. Do people really online and offline CPUs frequently enough
for this to be a problem?

--
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/