Skip to contentSkip to conversation

latencytest for PPC?

DISCUSSION MPH Kernel 5 participants 7 messages Oct 18, 2004 – Oct 20, 2004

lore
Share & tools
lore

MPH Kernel

author
#0 lore raw

Hi,

Anyone have a latency testing tool for PPC?
The latest working version I have is latencytest 0.42, but it never detects any xruns (where alsa does). So I'm suspicious of it's output.

latencytest 0.5.5 won't work for PPC. It depends on RTC stuff not present in the gen_rtc module.

Thanks,
Martin

-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl

#1 lore raw
Quoted 6 lines · On 18-Oct-2004 MPH Kernel wrote:

Hi,

Anyone have a latency testing tool for PPC?
The latest working version I have is latencytest 0.42, but it never detects any xruns (where alsa does). So I'm suspicious of it's output.

I think you can use aplay as-is... just choose a very short buffer size to make long latencies cause an xrun.

Quoted 2 lines

latencytest 0.5.5 won't work for PPC. It depends on RTC stuff not present in the gen_rtc module.

Perhaps someone already added the required features to make latencytest work, but I'm not sure. Search in the archives.

--
Giuliano.

-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl

#2 lore raw
In reply to MPH Kernel

Takashi,

I'm looking into adding RTC_PIE support to the genrtc driver, to get latencytest working.

I noticed you added rtc_register and rtc_control to rtc.c for this. But why didn't you add another ioctl in stead?

Just wondering. Thanks,
Martin

Quoted 7 lines · MPH Kernel

Hi,

Anyone have a latency testing tool for PPC?
The latest working version I have is latencytest 0.42, but it never detects any xruns (where alsa does). So I'm suspicious of it's output.

Quoted 5 lines

latencytest 0.5.5 won't work for PPC. It depends on RTC stuff not present in the gen_rtc module.

Thanks,
Martin

-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl

#3 lore raw

At Mon, 18 Oct 2004 23:06:25 +0100,

Quoted 8 lines · Martin Habets

Takashi,

I'm looking into adding RTC_PIE support to the genrtc driver, to get latencytest working.

I noticed you added rtc_register and rtc_control to rtc.c for this. But why didn't you add another ioctl in stead?

Sorry I don't understand your question. rtc_register() and rtc_control() is a kind of replacement of open/ioctl for the kernel modules. It doesn't add any new functionalities.

I guess genrtc won't work properly for latency tests. RTC was used as a high frequenct interrupt source, but genrtc doesn't provide the interrupt fine enough.

If you need to use the soundcard's interrupt, keep the Benno's original version (0.42). In this case, you won't get stack traces, though.

ciao,

Takashi

Quoted 17 lines

Just wondering. Thanks,
Martin

Quoted 12 lines · MPH Kernel

Hi,

Anyone have a latency testing tool for PPC?
The latest working version I have is latencytest 0.42, but it never detects any xruns (where alsa does). So I'm suspicious of it's output.

latencytest 0.5.5 won't work for PPC. It depends on RTC stuff not present in the gen_rtc module.

Thanks,
Martin

-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl

#4 lore raw
In reply to MPH Kernel
Quoted 3 lines · MPH Kernel

Hi,

Anyone have a latency testing tool for PPC?

Untested on PPC but should work:

http://www.ussg.iu.edu/hypermail/linux/kernel/0409.1/0665.html

Lee

-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl

#5 lore raw
Quoted 3 lines · Lee Revell

Untested on PPC but should work:

http://www.ussg.iu.edu/hypermail/linux/kernel/0409.1/0665.html

Well, hardly! The code is in arch/i386 and rtc.c, neither of which are available for PPC. I don't see how to port this either.

Signature · 8 lines
Martin


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
#6 lore raw
Quoted 7 lines · Martin Habets
Quoted 3 lines · Lee Revell

Untested on PPC but should work:

http://www.ussg.iu.edu/hypermail/linux/kernel/0409.1/0665.html

Well, hardly! The code is in arch/i386 and rtc.c, neither of which are available for PPC. I don't see how to port this either.

HA! My mistake...

Lee

-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl