Re: [PATCH]O20int

From: Mike Fedyk
Date: Wed Sep 03 2003 - 20:55:41 EST


On Thu, Sep 04, 2003 at 10:27:29AM +1000, Con Kolivas wrote:
> On Thu, 4 Sep 2003 10:12, Mike Fedyk wrote:
> > With how many processors? 64? 128?
>
> 1 cpu = 10ms minimum
> 2 cpus = 20ms minimum
> and so on.
>
> MIN_TIMESLICE * (1 << (MAX_BONUS - CURRENT_BONUS(p))) * num_online_cpus())
>
> works out to:
> 10 * num_online_cpus()
> as the minimum
>
> and
>
> 10 * 1024 * num_online_cpus()
>
> as the maximum

Ok brain fart. I thought you were deviding based on the number of CPUs...
(misread the macro wrap for a "/" devide)
-
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/