Skip to contentSkip to conversation

latencytest for PPC (and maybe others)

PATCH New Martin Habets 1 participant 1 message Apr 8, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 latencytest for PPC (and maybe others)

I have been able to do some latency testing on my powerbook using 2.6.11 and a number of patches:

[1] A patch for the genrtc kernel driver

    http://www.mph.eclipse.co.uk/pub/linux/patches/2.6.11/genrtc.c.patch

The ioctls added can be tested using
http://www.mph.eclipse.co.uk/pub/linux/patches/rtctest2.c
It is important to run to this to find out the accuracy of the clock on your platform. On PPC 1024Hz is probably the highest accurate frequency. Any machine using genrtc should be able to use these ioctls, not just PPC.

[2] A patch against latencytest.0.5.5
http://www.mph.eclipse.co.uk/pub/linux/patches/latencytest.patch
With USE_GENERIC_TIMER selected in the makefile, this should work on any platform. For PPC I'd recommend setting USE_PPC_VEA_TIMEBASE in the Makefile.
Takashi, would you be willing to include this patch?

Results: Initial testing showed serious latency from the X11 tests, but the rest looks okay.
[3] http://www.mph.eclipse.co.uk/pub/linux/latency/test3/index.html
With a (questionable) DRM patch for the Radeon driver the results become:
[4] http://www.mph.eclipse.co.uk/pub/linux/latency/test7/index.html
Jack shows 11.6msec latency with -r44100 -p128 -n4.

I hope this will be of use to other machines using genrtc.

Signature · 8 lines
Martin


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click