[bf1942] Using sqlite with BF2 in Windows

Jani Partanen jiipee at sotapeli.fi
Sat Apr 22 11:16:05 EDT 2006


On Fri, 21 Apr 2006, Andreas Fredriksson wrote:

>> This is true for the 2.4 kernel, but for the 2.6 kernel it is 1ms, so a
>> couple of context switches shouldn't cause much trouble, I hope. For
>> Windows the default slice is 15.625ms, but this can easily be tweaked to
>> 0.977ms.
>
> I think the Fedora kernel uses a 200 HZ value, so it's still at 5 ms.
> The point is that unless users are prepared to reconfigure their
> systems, you can't rely on timeslicing or thread/process scheduling to
> work in a certain way. Linux suffers even more from this because it's
> not possible to change thread priorities from a non-root process (that
> is, you can't boost an I/O thread for instance, this relates to the
> nice() system call).

[root at fc4]/boot# grep HZ config-2.6.16-1.2069_FC4
# CONFIG_HZ_100 is not set
CONFIG_HZ_250=y
# CONFIG_HZ_1000 is not set
CONFIG_HZ=250
CONFIG_MACHZ_WDT=m
[root at fc4]/boot#

-- 
 	-JiiPee-	...And Justice For all



More information about the Bf1942 mailing list