Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Computing > Windows 64bit > Quick Q .. 32bit v 64bit (2003) system memory space

Reply
Thread Tools

Quick Q .. 32bit v 64bit (2003) system memory space

 
 
NuTCrAcKeR
Guest
Posts: n/a
 
      08-30-2006
Hello All,

This may have been asked before, but I searched the postings and did not
find what i was looking for.

In the 32bit world, the OS gets 2GB of ram, and then the rest of the memory
is diced up into 2GB chunks for applications. This can be changed from 2/2
to 1/3 when using 4GT.

Now, under 2003 x64, does that same rule hold true? Is there a limited
amount of " OS Memeory " space that is reserved for system operations, and
the rest is available for applications (like SQL and Exchange) ?

The end I am trying to reach is whether an IIS, or File and Print, server
would actually benefit from more than 2GB of ram.

Thanks,

- NuTs


 
Reply With Quote
 
 
 
 
Charlie Russel - MVP
Guest
Posts: n/a
 
      08-30-2006
Well and thoroughly covered on the 64bit pages at microsoft.com, but the
short answer is that in x64 user processes have 8TB of memory address space
available to 64bit applications. The OS has 8TB as well.

Note that RAM and Address Space are NOT the same, and you're not strictly
correct as you described 32-bit. Also note that in x64 Edition, applications
which are written to take advantage of >2GB of memory address space will
automatically get a full 4GB of memory address space - no switch required.
Ordinary applications, which could NOT take advantage of this extra memory
address space in 32-bit Windows will still not be able to.


--
Charlie.
http://msmvps.com/xperts64


NuTCrAcKeR wrote:
> Hello All,
>
> This may have been asked before, but I searched the postings and did not
> find what i was looking for.
>
> In the 32bit world, the OS gets 2GB of ram, and then the rest of the
> memory is diced up into 2GB chunks for applications. This can be changed
> from 2/2 to 1/3 when using 4GT.
>
> Now, under 2003 x64, does that same rule hold true? Is there a limited
> amount of " OS Memeory " space that is reserved for system operations,
> and the rest is available for applications (like SQL and Exchange) ?
>
> The end I am trying to reach is whether an IIS, or File and Print, server
> would actually benefit from more than 2GB of ram.
>
> Thanks,
>
> - NuTs



 
Reply With Quote
 
 
 
 
NuTCrAcKeR
Guest
Posts: n/a
 
      08-30-2006

"Charlie Russel - MVP" <> wrote in message
news:...
> Well and thoroughly covered on the 64bit pages at microsoft.com, but the
> short answer is that in x64 user processes have 8TB of memory address
> space available to 64bit applications. The OS has 8TB as well.
>
> Note that RAM and Address Space are NOT the same, and you're not strictly
> correct as you described 32-bit. Also note that in x64 Edition,
> applications which are written to take advantage of >2GB of memory address
> space will automatically get a full 4GB of memory address space - no
> switch required. Ordinary applications, which could NOT take advantage of
> this extra memory address space in 32-bit Windows will still not be able
> to.
>
>


thanks for that. Now, to specifically answer my question, if a box has 4 or
8 GB of ram, will IIS worker process spaces (aspnet_wp, etc) be able to
address and use all 4GB/8GB, for say webgardens, on x64? On 32bit systems,
such working memory spaces would be limited to 2GB because they operate in
the OS address spaces.

Thanks,

- NuTs


 
Reply With Quote
 
Charlie Russel - MVP
Guest
Posts: n/a
 
      08-30-2006
If IIS is running as 32-bit, then it will see 4GB of Virtual Memory Address
space. That's all 32bit apps can see. If it's running as a 64bit app, then
it will see 8TB of Virtual Memory Address space. How Virtual Memory Address
space relates to RAM is a somewhat different issue, but the short answer for
your purposes is that it will behave as if it can see all that RAM if it's
64bit, and 4GB if it's 32bit.

--
Charlie.
http://msmvps.com/xperts64


NuTCrAcKeR wrote:
> "Charlie Russel - MVP" <> wrote in message
> news:...
>> Well and thoroughly covered on the 64bit pages at microsoft.com, but the
>> short answer is that in x64 user processes have 8TB of memory address
>> space available to 64bit applications. The OS has 8TB as well.
>>
>> Note that RAM and Address Space are NOT the same, and you're not strictly
>> correct as you described 32-bit. Also note that in x64 Edition,
>> applications which are written to take advantage of >2GB of memory
>> address space will automatically get a full 4GB of memory address space
>> - no switch required. Ordinary applications, which could NOT take
>> advantage of this extra memory address space in 32-bit Windows will
>> still not be able to.
>>
>>

>
> thanks for that. Now, to specifically answer my question, if a box has 4
> or 8 GB of ram, will IIS worker process spaces (aspnet_wp, etc) be able to
> address and use all 4GB/8GB, for say webgardens, on x64? On 32bit systems,
> such working memory spaces would be limited to 2GB because they operate in
> the OS address spaces.
>
> Thanks,
>
> - NuTs



 
Reply With Quote
 
NuTCrAcKeR
Guest
Posts: n/a
 
      08-31-2006
I was under the impression that IIS isnt run as an application, per se, and
therefore can only get its hooks into 2GB of that windows core memory. The
MS support site even cautions about turning on 4GT when using IIS ... why
else would that be?


"Charlie Russel - MVP" <> wrote in message
news:...
> If IIS is running as 32-bit, then it will see 4GB of Virtual Memory
> Address space. That's all 32bit apps can see. If it's running as a 64bit
> app, then it will see 8TB of Virtual Memory Address space. How Virtual
> Memory Address space relates to RAM is a somewhat different issue, but the
> short answer for your purposes is that it will behave as if it can see all
> that RAM if it's 64bit, and 4GB if it's 32bit.
>
> --
> Charlie.
> http://msmvps.com/xperts64
>
>
> NuTCrAcKeR wrote:
>> "Charlie Russel - MVP" <> wrote in message
>> news:...
>>> Well and thoroughly covered on the 64bit pages at microsoft.com, but the
>>> short answer is that in x64 user processes have 8TB of memory address
>>> space available to 64bit applications. The OS has 8TB as well.
>>>
>>> Note that RAM and Address Space are NOT the same, and you're not
>>> strictly
>>> correct as you described 32-bit. Also note that in x64 Edition,
>>> applications which are written to take advantage of >2GB of memory
>>> address space will automatically get a full 4GB of memory address space
>>> - no switch required. Ordinary applications, which could NOT take
>>> advantage of this extra memory address space in 32-bit Windows will
>>> still not be able to.
>>>
>>>

>>
>> thanks for that. Now, to specifically answer my question, if a box has 4
>> or 8 GB of ram, will IIS worker process spaces (aspnet_wp, etc) be able
>> to
>> address and use all 4GB/8GB, for say webgardens, on x64? On 32bit
>> systems,
>> such working memory spaces would be limited to 2GB because they operate
>> in
>> the OS address spaces.
>>
>> Thanks,
>>
>> - NuTs

>
>



 
Reply With Quote
 
Admiral Q
Guest
Posts: n/a
 
      08-31-2006
"NuTCrAcKeR" <> wrote in message
news:...
>I was under the impression that IIS isnt run as an application, per se, and
>therefore can only get its hooks into 2GB of that windows core memory. The
>MS support site even cautions about turning on 4GT when using IIS ... why
>else would that be?
>
>
> "Charlie Russel - MVP" <> wrote in message
> news:...
>> If IIS is running as 32-bit, then it will see 4GB of Virtual Memory
>> Address space. That's all 32bit apps can see. If it's running as a 64bit
>> app, then it will see 8TB of Virtual Memory Address space. How Virtual
>> Memory Address space relates to RAM is a somewhat different issue, but
>> the short answer for your purposes is that it will behave as if it can
>> see all that RAM if it's 64bit, and 4GB if it's 32bit.
>>
>> --
>> Charlie.
>> http://msmvps.com/xperts64
>>
>>
>> NuTCrAcKeR wrote:
>>> "Charlie Russel - MVP" <> wrote in
>>> message
>>> news:...
>>>> Well and thoroughly covered on the 64bit pages at microsoft.com, but
>>>> the
>>>> short answer is that in x64 user processes have 8TB of memory address
>>>> space available to 64bit applications. The OS has 8TB as well.
>>>>
>>>> Note that RAM and Address Space are NOT the same, and you're not
>>>> strictly
>>>> correct as you described 32-bit. Also note that in x64 Edition,
>>>> applications which are written to take advantage of >2GB of memory
>>>> address space will automatically get a full 4GB of memory address space
>>>> - no switch required. Ordinary applications, which could NOT take
>>>> advantage of this extra memory address space in 32-bit Windows will
>>>> still not be able to.
>>>>
>>>>
>>>
>>> thanks for that. Now, to specifically answer my question, if a box has 4
>>> or 8 GB of ram, will IIS worker process spaces (aspnet_wp, etc) be able
>>> to
>>> address and use all 4GB/8GB, for say webgardens, on x64? On 32bit
>>> systems,
>>> such working memory spaces would be limited to 2GB because they operate
>>> in
>>> the OS address spaces.
>>>
>>> Thanks,
>>>
>>> - NuTs

>>
>>

>
>


Depending on mode (x86 or x64) IIS has access to 4GB or 8TB, where you keep
coming up with 4GT is beyond me?

--
Star Fleet Admiral Q @ your service!

Google is your Friend!
http://www.google.com


 
Reply With Quote
 
NuTCrAcKeR
Guest
Posts: n/a
 
      08-31-2006
when i say 4GT, im talking about 4 Gigabyte RAM Tuning ... utilizing the
/3GB switches in the boot.ini. (among other methods)

Why is 4GT significant? because in a box with 4GB of ram, windows will take
2GB (Kernal Memory)and then start giving applications thier own memory, up
to 2GB (virtual) each. This is strictly a 32bit convnetion. When you use
4GT, you limit the Kernel to 1GB of physical memory, there by increasing
application memory by 50% to 3GB instead of 2 (and each application gets 2GB
of virtual memory that is mapped to the physical memory on the box).

http://search.microsoft.com/results....=4GT+2000+2003

I know that 4GT only applies to 32bit systems, and with everyones help I
have come to understand that up to 8TB of ram can be addressed (virtually)
by each 64bit process (which i would imagine IIS would be).

http://support.microsoft.com/kb/889654


now, the question is when a system is built with 8GB of ram, how much is
reserved for Kernel memory, and how much is reserved for applications?

thanks,

- NuTs


>
> Depending on mode (x86 or x64) IIS has access to 4GB or 8TB, where you
> keep coming up with 4GT is beyond me?
>
> --
> Star Fleet Admiral Q @ your service!
>
> Google is your Friend!
> http://www.google.com
>



 
Reply With Quote
 
Charlie Russel - MVP
Guest
Posts: n/a
 
      08-31-2006
The reason MS support cautions you about turning on the /3GB switch is
because it will make the situation worse. The problem with running /3GB is
that it starves the OS. This makes the OS far more vulnerable to a DOS
attack, for example, or just too many legitimate connections.

Take a look at the deployment scenarios whitepaper I wrote for the launch of
x64. http://www.microsoft.com/windowsserv...64/deploy.mspx

In x64 edition, you get the benefits of /3GB (actually, you get 4GB) without
the penalty of starving the OS.


--
Charlie.
http://msmvps.com/xperts64


NuTCrAcKeR wrote:
> when i say 4GT, im talking about 4 Gigabyte RAM Tuning ... utilizing the
> /3GB switches in the boot.ini. (among other methods)
>
> Why is 4GT significant? because in a box with 4GB of ram, windows will
> take 2GB (Kernal Memory)and then start giving applications thier own
> memory, up to 2GB (virtual) each. This is strictly a 32bit convnetion.
> When you use 4GT, you limit the Kernel to 1GB of physical memory, there
> by increasing application memory by 50% to 3GB instead of 2 (and each
> application gets 2GB of virtual memory that is mapped to the physical
> memory on the box).
> http://search.microsoft.com/results....=4GT+2000+2003
>
> I know that 4GT only applies to 32bit systems, and with everyones help I
> have come to understand that up to 8TB of ram can be addressed
> (virtually) by each 64bit process (which i would imagine IIS would be).
>
> http://support.microsoft.com/kb/889654
>
>
> now, the question is when a system is built with 8GB of ram, how much is
> reserved for Kernel memory, and how much is reserved for applications?
>
> thanks,
>
> - NuTs
>
>
>>
>> Depending on mode (x86 or x64) IIS has access to 4GB or 8TB, where you
>> keep coming up with 4GT is beyond me?
>>
>> --
>> Star Fleet Admiral Q @ your service!
>>
>> Google is your Friend!
>> http://www.google.com



 
Reply With Quote
 
Bo Persson
Guest
Posts: n/a
 
      08-31-2006

"NuTCrAcKeR" <> skrev i meddelandet
>
>
> now, the question is when a system is built with 8GB of ram, how
> much is reserved for Kernel memory, and how much is reserved for
> applications?
>


It isn't the RAM that is reserved, it is the address space.

On a 4 GB 32 bit system, the virtual address space is the same size as
the physical space. That makes the virtual addressing much less
useful, as you will run out of *virtual* addresses.

On a 64 bit system, you have 8 TB of virtual addresses that can be
mapped to your 8 GB of RAM, as needed. The parts that doesn't fit will
be swapped to disk. No problem.


Bo Persson


 
Reply With Quote
 
NuTCrAcKeR
Guest
Posts: n/a
 
      08-31-2006

"Charlie Russel - MVP" <> wrote in message
news:...
> The reason MS support cautions you about turning on the /3GB switch is
> because it will make the situation worse. The problem with running /3GB is
> that it starves the OS. This makes the OS far more vulnerable to a DOS
> attack, for example, or just too many legitimate connections.
>
> Take a look at the deployment scenarios whitepaper I wrote for the launch
> of x64. http://www.microsoft.com/windowsserv...64/deploy.mspx
>
> In x64 edition, you get the benefits of /3GB (actually, you get 4GB)
> without the penalty of starving the OS.
>
>
> --
> Charlie.
> http://msmvps.com/xperts64
>


Excellent white paper. It clarified several misconceptions for me. This is
definitely something I can use.

Thank you very, very much !

- NuTs


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Load Win7 64bit on a 32bit system - how? Martin@home.invalid Windows 64bit 2 01-18-2012 02:35 PM
windows xp 64bit and windows xp 32bit in one computer system =?Utf-8?B?dGV5bW91cg==?= Windows 64bit 3 11-14-2005 01:52 PM
Backup System State on 32bit Edition and Restoring it on 64bit Edi =?Utf-8?B?RXNjYXBlNw==?= Windows 64bit 3 09-16-2005 12:15 AM
32bit install on 64bit system Peter Hartmann Python 1 09-15-2005 03:00 PM
Stack space, global space, heap space Shuo Xiang C Programming 10 07-11-2003 07:30 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57