From: linux <linux@celticblues.com>
To: linux-kernel@vger.kernel.org
Subject: disabling interupts
Date: Tue, 20 Jan 2009 11:31:12 -0600 [thread overview]
Message-ID: <49760A60.7040804@celticblues.com> (raw)
Please advise if this question is OT. (If so, where can I post it or
read more about said topic?)
I have an application that grabs frames from a frame grabber. It is
dropping frames, sometimes, 30 frames at a time. I suspect this is
occuring due to background tasks or something like that interupting the
app. In the future I may go to a hard RT linux, but for now, I just
have time to try to reduce the number and frequency of frame drops.
I read on some linux websites that one can disable interrupts to
increase performance and/or reduce latencies.
My questions are
1. Is this an acceptable practice? If not, what are my other options?
2. How can I do this?
Would I use:
void local_irq_save(unsigned long flags);
void local_irq_restore(unsigned long flags);
3. What interupts should I consider disabling?
Ed
next reply other threads:[~2009-01-20 17:38 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-20 17:31 linux [this message]
2009-01-21 5:34 ` disabling interupts Robert Hancock
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=49760A60.7040804@celticblues.com \
--to=linux@celticblues.com \
--cc=linux-kernel@vger.kernel.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.