From: Robert Hancock <hancockr@shaw.ca>
To: linux <linux@celticblues.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: disabling interupts
Date: Tue, 20 Jan 2009 23:34:11 -0600 [thread overview]
Message-ID: <4976B3D3.70501@shaw.ca> (raw)
In-Reply-To: <49760A60.7040804@celticblues.com>
linux wrote:
> 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
You haven't provided nearly enough details in order to answer this
question. What kind of frame grabber, what driver is it using? Where do
you think the frames are being dropped?
prev parent reply other threads:[~2009-01-21 5:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-20 17:31 disabling interupts linux
2009-01-21 5:34 ` Robert Hancock [this message]
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=4976B3D3.70501@shaw.ca \
--to=hancockr@shaw.ca \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@celticblues.com \
/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.