Find the answer to your Linux question:
Results 1 to 3 of 3
Hello. I want to write from the memory of a memory-mapped device directly to hard disc directly, without going through RAM (to increase efficiency). Also I need to do the ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jun 2005
    Location
    Jerusalem
    Posts
    2

    Help with writting from a memory mapped device to disc on linux


    Hello.
    I want to write from the memory of a memory-mapped device directly to hard disc directly, without going through RAM (to increase efficiency). Also I need to do the reverse, to write from disc to the memory mapped device.
    How can I do it?

    I heard that it is impossible on Linux, because there is a risk that someone will swap out to virtual memory the memory-mapped device. Is this true? Is there a way around it?
    -thanks, Alex.

  2. #2
    Linux Newbie
    Join Date
    Sep 2003
    Location
    St.Charles, Missouri, USA
    Posts
    201
    If its a memory mapped device isnt it in the RAM in the first place??
    Powered by Gentoo
    never ever ever use the hardened option in make.conf!

  3. #3
    Just Joined!
    Join Date
    Jun 2005
    Location
    Jerusalem
    Posts
    2
    Yes, I think it is in the RAM. But I heard that it can not be accessed like RAM is accessed out of fear that it will get swapped out.

  4. $spacer_open
    $spacer_close

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •