Re: AWE - Shared Memory

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Hi Arcady,
Thanx for your response and sorry for my delay. I need it for
interprocess communication. That means I cannot use AWE. I appreciate
your help.

Sudessh G
soviet_bloke@xxxxxxxxxxx wrote:
Hi Arcady

In fact, I think the OP was very precise - he asked whether he can
treat AWE memory as shared one. But in any case, you cannot really use
it the way you want - AWE imposes few limitations that memory,
allocated with VirtualAlloc(), is not subjected to

Anton Bassov

Arkady Frenkel wrote:
Only Sudeesh can say, if he wanted that for interprocess communications,
that not directly written. My point was how to work with it in that app
Arkady

<soviet_bloke@xxxxxxxxxxx> wrote in message
news:1154312711.271904.260400@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi Arcady

I am afraid you are totally wrong. Text below is precise quotation of
MSDN:
(http://windowssdk.msdn.microsoft.com/en-us/library/ms693507.aspx)

/////////
Virtual address ranges allocated for the AWE are not sharable with
other processes (and therefore not inheritable). In fact, two different
AWE virtual addresses within the same process are not allowed to map
the same physical page. These restrictions provide fast remapping and
cleanup when memory is freed.
///////////

In fact, as long as you map less than 4G of RAM, AWE does not even
require PAE enabled. In this case you can think of memory, mapped with
MapUserPhysicalPages(), just as of constantly resident, non-sharable
and always read-write pages

Anton Bassov


Arkady Frenkel wrote:
If you mean PAE (
http://www.microsoft.com/whdc/system/platform/server/PAE/PAEdrv.mspx )
that
should be virtual for user mode apps so for sure you can use it for your
purposes
Arkady

"Sudeesh" <gsudeesh@xxxxxxxxx> wrote in message
news:1153892721.041982.11270@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hello,

Can we use Address Windows Extension(AWE) for shard memory or Memory
Mapped File? If so, how can we implement?

Thank You and Best regards,
Sudeesh G



.



Relevant Pages

  • Re: AWE - Shared Memory
    ... treat AWE memory as shared one. ... allocated with VirtualAlloc(), is not subjected to ... Arkady Frenkel wrote: ...
    (microsoft.public.win32.programmer.networks)
  • Re: Windows 2000 Server + SQL E.Edition - Can it utilize 4GB Memory
    ... You can use the AWE enabled option with SS Enterprise Edition or Developer ... There is memory below the 4 GB, ... must swap back and forth between this space and the USER MODE memory space ... If you have just plain Win2K Server and not advanced Server you can not use the /3GB switch. ...
    (microsoft.public.sqlserver.server)
  • Re: Windows 2000 Server + SQL E.Edition - Can it utilize 4GB Memory
    ... You need to set the max memory due to the fact that when you set AWE the ... Meaning that SQL Server will grab all that it ... using ADV Server and forgetting all about AWE if all you have is 4GB. ...
    (microsoft.public.sqlserver.server)
  • Re: Allocating more memory to sql server
    ... Are you sure the AWE was set correctly? ... > for SQL server Targer Sever memory and Total Server Memory, ... YOu should not use Task Manager to monitor memory for>> SQL Server. ... >>> windows task manager total physical memory shows as memory usage ...
    (microsoft.public.sqlserver.setup)
  • Re: SQL Server user 2GB> ram
    ... I have enable the AWE using the following scripts: ... when I monitor the SQL Server Performance Monitor Total Server ... Memory counter. ...
    (microsoft.public.sqlserver.setup)