Allocating memory below 4G

From: Greg Law (glaw_at_nexwave-solutions.com)
Date: 04/15/05

  • Next message: Patrick Lam: "Screwed up rc.local, what can I do?"
    Date: 15 Apr 2005 08:07:23 -0700
    
    

    Hi,

    I'm writing a driver for a device that requires DMA-able memory below
    4G. I'm running on an AMD x86_64 with 8GB RAM, and exausting the IOMMU
    entries. My device can't use bounce-buffers for performance reasons.
    So I'm kind-of stuck.

    Is there any way I can request the kernel give me physical memory below
    4G? I don't really want to insist on ZONE_NORMAL, since this is quite
    a limited resource, and I can quite happily have physical RAM in the 1G
    -> 4G range.

    Thanks in advance,

    Greg


  • Next message: Patrick Lam: "Screwed up rc.local, what can I do?"

    Relevant Pages

    • Re: Any reason not to user /3GB switch with 2gb+ RAM?
      ... 1- You may significantly reduce the available System Page Table entries. ... 2- RAM in excess of 16 gb will be ignored or unused. ... use the /3GB switch if you have 2gb or more physical memory? ...
      (microsoft.public.win2000.general)
    • Re: 32-bit programs on Windows x64
      ... My system requires 4 GB to store its DFA pixel pattern ... THE AMOUNT OF RAM ON THE MACHINE IS COMPLETELY, TOTALLY UNRELATED TO THE AVAILABLE ADDRESS ... on thinking about physical memory as being an operational parameter in any of this? ... Note that the L2 cache is ...
      (microsoft.public.vc.mfc)
    • Re: The Linear Address Space
      ... controller to read the data into physical memory (RAM). ... > Am I on the right track with paging? ... used as an offset into that frame. ...
      (comp.lang.asm.x86)
    • Re: Are patches eating up my memory?
      ... Patches may be eating up your hard drive space on C, but not your RAM. ... physical memory because it includes page filing. ...
      (microsoft.public.windows.mediacenter)
    • Re: Excessive Paging
      ... an automatic update pushed it over the edge. ... How much RAM memory do you have? ... commit charge isn't even half of the physical memory. ... problems (long boot times, 5 minutes to log on, etc) so perhaps ...
      (microsoft.public.windowsxp.perform_maintain)