[linux-audio-user] latency test problem

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: [linux-audio-user] latency test problem
From: anton (anton_AT_stereocilia.org)
Date: Sun Nov 10 2002 - 20:16:32 EET


Hi,
I want to measure the latency of my linux box before installing the low lat
kernel. I found the latencytest0.42-png program.
When compiling I get some warnings (see below)

anton_AT_stereocilia:~/latencytest0.42-png> make
gcc -Wall -O2 -DUSE_PENTIUM_TIMER -c latencytest.c
latencytest.c: In function `main':
latencytest.c:156: warning: passing arg 2 of `signal' from incompatible
pointer type
latencytest.c:157: warning: passing arg 2 of `signal' from incompatible
pointer type
gcc -Wall -O2 -DUSE_PENTIUM_TIMER -c gfx.c
gcc -o latencytest latencytest.o gfx.o -lm -lgd -lpng
gcc -Wall -O2 -DUSE_PENTIUM_TIMER -c rtc_latencytest.c
rtc_latencytest.c: In function `main':
rtc_latencytest.c:142: warning: passing arg 2 of `signal' from incompatible
pointer type
rtc_latencytest.c:143: warning: passing arg 2 of `signal' from incompatible
pointer type
gcc -o rtc_latencytest rtc_latencytest.o gfx.o -lm -lgd -lpng

Running ./do_tests gives me lots of errors:

anton_AT_stereocilia:~/latencytest0.42-png> ./do_tests
mlockall() failed, exiting. mlock: Operation not permitted
x11perf - X11 performance program, version 1.5
The XFree86 Project, Inc server version 40200000 on :0.0
from stereocilia
Sun Nov 10 18:03:41 2002

Sync time adjustment is 0.1274 msecs.

  20000 reps @ 0.4161 msec ( 2400.0/sec): Scroll 500x500 pixels
         [more output here]

   1200 reps @ 5.9190 msec ( 169.0/sec): ShmPutImage 500x500 square
           [more output here]

mv: cannot stat `out.png': No such file or directory
mlockall() failed, exiting. mlock: Operation not permitted
mv: cannot stat `out.png': No such file or directory
mlockall() failed, exiting. mlock: Operation not permitted
head: /dev/zero: invalid number of bytes
mv: cannot stat `out.png': No such file or directory
-rw-r--r-- 1 anton users 0 2002-11-10 18:05 tmpfile
mlockall() failed, exiting. mlock: Operation not permitted
mv: cannot stat `out.png': No such file or directory
-rw-r--r-- 1 anton users 0 2002-11-10 18:05 tmpfile
-rw-r--r-- 1 anton users 0 2002-11-10 18:05 tmpfile2
mlockall() failed, exiting. mlock: Operation not permitted
-rw-r--r-- 1 anton users 0 2002-11-10 18:05 tmpfile
-rw-r--r-- 1 anton users 0 2002-11-10 18:05 tmpfile2
mv: cannot stat `out.png': No such file or directory

I am using Suse 8.1 with the default 2.4.19 kernel. It is probably something
very stupid but I cannot figure out what. Any help would be appreciated.

Regards
Anton


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Sun Nov 10 2002 - 20:16:30 EET