At Tue, 23 Mar 2004 22:42:05 +0100, Frank Barknecht wrote: > > Hallo, > Paul Davis hat gesagt: // Paul Davis wrote: > > > >$ measure -p ./out/x11.png -o ./out/x11.out -c 0 -f 1024 -n 2 -t 2 > > >I get this error message: "error setting freq 1024" > > > > probably a permissions problem. try it as root. > > This is while runng at root. (Sorry for the "$" I typed that one by > hand). > > A tip from Tim Goetze to do: > > # echo 2048 > /proc/sys/dev/rtc/max-user-freq > (^ sic!) > > didn't help either yet. I did a strace on the measure run now, which > showed something equally strange (to my eyes): > > mlockall(MCL_CURRENT|MCL_FUTURE) = 0 > sched_get_priority_max(0x1) = 99 > sched_setscheduler(0, 0x1, 0xbfffe254) = 0 > open("/dev/midi0", O_RDWR) = 3 > ioctl(3, 0x40047401, 0x400) = -1 ENOTTY (Inappropriate ioctl for device) > write(2, "error setting freq 1024\n", 24) = 24 > exit_group(1) = ?
please make sure that you loaded latency-test module. > I'm still puzzled. Why "/dev/midi0"? that's because the latency-test kernel module requires a device file for ioctls. i chose it simply because the file is unused (it's for tclmidi). BTW, i uploaded latencytest-0.5.3. it includes i/o workloads in parallel. http://www.alsa-project.org/~iwai/latencytest-0.5.3.tar.gz Takashi ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel