All of lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Frank Barknecht <fbar@footils.org>
Cc: ALSA development <alsa-devel@alsa-project.org>
Subject: Re: Problems running latencytest: "error setting freq 1024"
Date: Wed, 24 Mar 2004 13:58:48 +0100	[thread overview]
Message-ID: <s5hn0661jw7.wl@alsa2.suse.de> (raw)
In-Reply-To: <20040323214205.GA4382@fliwatut.scifi>

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

  parent reply	other threads:[~2004-03-24 12:58 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-23 20:53 Problems running latencytest: "error setting freq 1024" Frank Barknecht
2004-03-23 21:33 ` Paul Davis
2004-03-23 21:42   ` Frank Barknecht
2004-03-23 23:08     ` Fernando Pablo Lopez-Lezcano
2004-03-24 12:58     ` Takashi Iwai [this message]
2004-03-24 17:21       ` Frank Barknecht
2004-03-24  8:17 ` Jaroslav Kysela
2004-03-24  8:20   ` Jaroslav Kysela

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=s5hn0661jw7.wl@alsa2.suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=fbar@footils.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.