I don't know if correct, but I've found a little trick to use HPET
In kernel config,CONFIG_HIGH_RES_TIMERS needs to be enabled (Processor type and features -> High Resolution Timer Support), and optionally, (Processor type and features -> HPET Timer Support)
Add "clocksource=hpet" to menu.lst
Recompile Dahdi
the finalt result should be:
- Code: Select all
dmesg | grep dahdi
dahdi: Telephony Interface Registered on major 196
dahdi: Version: 2.2.0.2
dahdi_dummy: Trying to load High Resolution Timer
dahdi_dummy: Initialized High Resolution Timer
dahdi_dummy: Starting High Resolution Timer
dahdi_dummy: High Resolution Timer started, good to go
dahdi: Registered tone zone 0 (United States / North America)
- Code: Select all
cat /sys/devices/system/clocksource/clocksource0/available_clocksource
tsc hpet acpi_pm jiffies
- Code: Select all
cat /sys/devices/system/clocksource/clocksource0/current_clocksource
hpet
They says that kernel has to be > 28, but I can't understand why.
Obviously my dahdi_test continues to be very poor

- Code: Select all
--- Results after 515 passes ---
Best: 100.000 -- Worst: 99.994 -- Average: 99.997800, Difference: 99.997808