All of lore.kernel.org
 help / color / mirror / Atom feed
* application needs fast access to physical memory
@ 2010-11-17 22:03 steven.lin
  2010-11-18 12:24 ` Michael Ellerman
  0 siblings, 1 reply; 8+ messages in thread
From: steven.lin @ 2010-11-17 22:03 UTC (permalink / raw)
  To: linuxppc-dev; +Cc: Steven_Lin

[-- Attachment #1: Type: text/plain, Size: 544 bytes --]



My application needs a fast way to access a specific physical DDR memory
region. The application runs on an MPC8548 PowerPC which has an MMU. I've
tried two approaches that are typical for Linux, mmap() and using a kernel
module that implements read()/write() into this region and I'm finding that
performance is very slow for both. It's a couple orders of magnitude slower
than, for example, copying a large buffer from one place in the
application's virtual memory to another place in the application's virtual
memory.

Steve Lin

[-- Attachment #2: Type: text/html, Size: 654 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2010-11-18 21:04 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-17 22:03 application needs fast access to physical memory steven.lin
2010-11-18 12:24 ` Michael Ellerman
2010-11-18 12:52   ` David Laight
2010-11-18 12:54   ` David Gibson
2010-11-18 16:55     ` steven.lin
2010-11-18 19:35       ` Scott Wood
2010-11-18 20:46         ` steven.lin
2010-11-18 20:48           ` Scott Wood

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.