sleep() returns about 1.95 on windows.. (1000 / 1.95ms = 512fps)
usleep() on *NIX returns closer to 1 depending on the OS.

It's a bug in HAL i believe on windows. If you don't use ACPI, it
doesn't use ACPI as a timer anymore and uses TSC..

Only way to get super high frames is to a.) not use ACPI anymore
which disables SMP on windows (i'm guessing) or b.) use *NIX


At 04:01 PM 2/14/2006, Ilya Oboznyy wrote:
--
[ Picked text/plain from multipart/alternative ]
Hello!

Firstly i will start with my hardware and software:

CPU: Dual Xeon 3200 FU
Motherboard: Intel SE7520JR2ATAD2
OS: Windows XP pro SP2 (Also tried Windows 2003 server, x64 editions of
XP/2003, even tried beta version of Vista/longhorn) but the problem is still
the same. (something about NT core?)
Program: HLDS ( Half Life Dedicated Server (using sys_ticrate 10000 (limit
number of updates))).
Drivers: I am using all latest drivers, system updates and firmware.

First of all i dont really know how to explain it technicaly, the thing i
will talk about is called Windows Multimedia timer / system timer / sleep
time. I am not sure about correct name, but you will understand it from my
future words, at least i hope so.
By default this timer is running on Windows systems with 16ms delay, when im
running my HLDS i am getting 64updates per second, and it addes around 16ms
in ping, i noticed that if i start media player with paused movie in same
time, i will get 512updates and around 3ms delay. That means that Windows
Media player making this timer lower. But its only 512updates, while limit
of HLDS is 1000. I was looking for a solution for a long time and finally
found! I changed ACPI driver to ACPI PC and yes! I got 100fps by default
(~5ms delay) and 1000fps and zero delay with Media Player on! It was working
perfect on my home PC with only 1 CPU. On my server with Dual Xeon it was
working also but... But it seems that only 1 CPU was working, ACPI PC isnt
that good for Multiprossesor system, i lost a lot of hardware power with it,
so i changed it bacl to ACPI multiprocessor and having only 512updates on my
server atm.
The question about my problem is:
How can i get 5ms delay or 0 delay with media player on, without losing any
hardware resources(With normal ACPI multiprocessor driver). I remember it
was good in old windows 9x times. (Maybe its possible to change timer over
regedit or over some services or get some specific driver).

- on Linux systems this problem can be solved by changing kernel ticrate to
1000HZ.

I hope to hear a solution for getting zero delay on Windows system.
Thank you!
--

_______________________________________________
To unsubscribe, edit your list preferences, or view the list
archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlds


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds

Reply via email to