* Long latencies in spidev device driver break real-time performance on Panda/Beagle
@ 2013-04-24 12:56 wally bkg
0 siblings, 0 replies; only message in thread
From: wally bkg @ 2013-04-24 12:56 UTC (permalink / raw)
To: linux-omap-u79uwXL29TY76Z2rM5mHXA,
spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
Cc: tony-4v6yS6AI5VpBDgjK7y7TUQ
I've been trying to run a real-time process to feed a D/A chip using the
spidev driver but am finding the call to /dev/spidevX.Y is responsible for
"random" very long latencies that do not occur if I call the "driver" to
toggle a GPIO pin instead.
My most recent attempts have been with Robert Nelson's 3.9-rc6 kernel for
the Pandaboard ES and he has suggested I contact the OMAP and SPI
maintainers, hence I am sending this message.
Details are here:
http://eewiki.net/display/linuxonarm/PandaBoard_Comments?focusedCommentId=13599653&#comment-13599653
A sample test program that will illustrate the issue can be downloaded
here:
http://eewiki.net/download/attachments/12059008/swave_spidev.c?version=1&modificationDate=1365778735227&api=v2
Robert has run this test code (after changing the GPIO and spidev name
strings for the Beagleboard) and has found the xM is much closer to usable,
but what is curious is that the worst case and number of "missed samples"
are made worse when running as root.
Hoping you have a solution.
--wally.
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-04-24 12:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-24 12:56 Long latencies in spidev device driver break real-time performance on Panda/Beagle wally bkg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).