Science Forums
User Name
Password
Science Social Network
home    members    help/rules    who is online    contact   

Go Back   Science Forums > Physical Sciences Forums > Computer Science
Become a science forums sponsor today
Reply
 
LinkBack Thread Tools
Old 09-03-2008   #1 (permalink)
alexander's Avatar
Resident USSRian

Hypography Staff Member
Administrator
Gallery Curator
Dev Team Member

Latest blog entry:
Open-Source HIDS
 
alexander has a brilliant futurealexander has a brilliant futurealexander has a brilliant futurealexander has a brilliant futurealexander has a brilliant futurealexander has a brilliant futurealexander has a brilliant futurealexander has a brilliant futurealexander has a brilliant futurealexander has a brilliant future
Send a message via AIM to alexander
 



Use All the Memory You are Entitled to Have on Windows

Yes, you are probably sitting there, confused, thinking "Huh, what in the world does he mean?"

Well, let me clear some fog for you, so you understand what i am talking about.

But first, a history lesson

Back in time, when Windows 3.0 came out, people thought they wanted a bit more out of their memory. It supported 16 megs, but some people wanted more, much more, so Microsoft came up with a work around, an XMS driver that replaced Highmem DOS module and enabled addressing up from 16 megs of ram, and as reported, up to 512 megs... (astronomical values at the time)

Soon Microsoft did away with the 8096k bit descriptors and 64K possible combinations (which bring the theoretical limit of such a system to 512mb (multiply the two))

Fast forward to today's world of XP and Vista (and Standard Server Editions) memory support has been greatly improved. We are now reaching the theoretical maxims of the 32 bit processors, which can not use more then 4GB of ram, by design. (2 bits 32 registers equates to 2^32 or 4GB)
64 bit processors are in the petabyte ranges, 128 bit processors limits are so astronomical, doubt there is enough silicon to fill it for now anyways. (3.1691265*10^{29}Gb)

Anyhow, there have been methods devised that allow one to access more then the hardware limit of memory and we have discussed those here at some point, if you are still wodnering, just Google for highmem.

Anyways, so what i have come to find is that windows memory drivers, by default, do not allow you to have access to full 4GB, and no process can take up more then 2GB of Ram (i think microsoft is limiting itself there) and the system, can only access 3.5GB of memory (no matter what it tells you). Luckily they have created Physical Address Extension (PAE), and even though on most systems it does not increase support of signifficant amount of memory, it alows you to use the memory you already have, to its fullest (assuming i'm not the only person who has multiple systems pushing the limits)

Enabling PAE is pretty straight forward:
Edit the boot up line in C:\boot.ini and add /PAE to the line

ex:

Before
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Windo ws Server 2003, Standard" /noexecute=optout /fastdetect

After
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Windo ws Server 2003, Standard" /noexecute=optout /fastdetect /PAE

This enables you to use:
4Gb windows xp
4Gb windows vista
4Gb windows server 2003 standard
4Gb windows server 2008 standard
64Gb on enterprise and datacenter editions for both 2003 and 2008
8GB on 2000 advanced server
and 32Gb on 2000 datacenter edition

Enjoy :| err, well, whatever


----------------
And remember that great question that Pierre-Simon Laplace and Sir Isaac Newton, Andrei Markov and David Hilbert, Richard Feynman and Enrico Fermi, Albert Einstein and Edmund Halley did not come to ask throughout all of their dedication and work: "Who the hell is IMing me?"


This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 License.

Last edited by Tormod; 09-24-2008 at 05:44 PM.
Reply With Quote
Old 09-03-2008   #2 (permalink)
Boerseun's Avatar
Holy cow!

Hypography Staff Member
Moderator

 



Re: Use All the Memory You are Entitled to Have on Windows

...and change the /noexecute=optout to /noexecute=alwaysoff while you're at it. Gratuitous system crashes and freezes down by 99%!

Thanks for the info, btw. On a 4Gb RAM box, why would Windows limit itself to 3.5Gb? If that's bad design, and it can be cleared with a single boot.ini switch, why would current-edition vanilla installs still default to the previous state? Why not make the /PAE switch the default, with currently-shipping versions of Windoze?

Am I just dumb, or am I missing something here?


----------------
Hypography Forums Moderator

IIIIIIIIIIIIIIIII
IIIIIIIIIIIIIIIII
IIIIIIIIIIIIIIIII



Bovinely blessed be thee.
Reply With Quote
Old 09-04-2008   #3 (permalink)
Donk's Avatar
Thinking


 



Re: Use All the Memory You are Entitled to Have on Windows

Quote:
Originally Posted by alexander View Post
Enabling PAE is pretty straight forward:
Edit the boot up line in C:\boot.ini and add \PAE to the line

...

After
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Windo ws Server 2003, Standard" /noexecute=optout /fastdetect /PAE
\PAE or /PAE ?
Or doesn't it make a difference?
Reply With Quote
Old 09-04-2008   #4 (permalink)
Buffy's Avatar
Resident Slayer

Hypography Staff Member
Administrator

 



Re: Use All the Memory You are Entitled to Have on Windows

Windows flags are always forward-slash, so in this case /PAE is correct.

Yes, it matters a lot!

Keyboard work creates a class of unwanted things - one-letter typos, failures of phrasing, bad punctuation. If you don't want to delete these entirely, you can use the Return key to push them to the bottom of the screen,
Buffy


----------------
"If you do not agree with anything I say, I'll not only retract it, but deny under oath that I ever said it!"
__________________________________________________ ______________-- Tom Lehrer

"The shrinks diagnosed me a sociopath with paranoid delusions. But they’re just out to get me cause I threatened to kill them."


Forum Administrator
Hypography Science Forums - Science for Boys and Girls! Its not for nothing that we hang out here.
Reply With Quote
Old 09-04-2008   #5 (permalink)
alexander's Avatar
Resident USSRian

Hypography Staff Member
Administrator
Gallery Curator
Dev Team Member

Latest blog entry:
Open-Source HIDS
 
alexander has a brilliant futurealexander has a brilliant futurealexander has a brilliant futurealexander has a brilliant futurealexander has a brilliant futurealexander has a brilliant futurealexander has a brilliant futurealexander has a brilliant futurealexander has a brilliant futurealexander has a brilliant future
Send a message via AIM to alexander
 



Re: Use All the Memory You are Entitled to Have on Windows

oooops typo there, i fixed it, ofcourse it is /PAE

Quote:
Originally Posted by Boerseun
Why not make the /PAE switch the default
because the problem is that they like to not have to create virtual memory tables, as it complicates the kernel a little bit.... and also there is no need for the PAE support for MOST, meaning 98% of Windows users... (hope that answers that)


----------------
And remember that great question that Pierre-Simon Laplace and Sir Isaac Newton, Andrei Markov and David Hilbert, Richard Feynman and Enrico Fermi, Albert Einstein and Edmund Halley did not come to ask throughout all of their dedication and work: "Who the hell is IMing me?"


This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 License.
Reply With Quote
Old 09-04-2008   #6 (permalink)
Boerseun's Avatar
Holy cow!

Hypography Staff Member
Moderator

 



Re: Use All the Memory You are Entitled to Have on Windows

Won't a Windoze machine running 4Gb with virtual memory tables adressing the initial missing 0.5Gb run a tad slower than the same machine using the default 3.5Gb with all the memory tables in RAM?


----------------
Hypography Forums Moderator

IIIIIIIIIIIIIIIII
IIIIIIIIIIIIIIIII
IIIIIIIIIIIIIIIII



Bovinely blessed be thee.
Reply With Quote
Old 09-05-2008   #7 (permalink)
alexander's Avatar
Resident USSRian

Hypography Staff Member
Administrator
Gallery Curator
Dev Team Member

Latest blog entry:
Open-Source HIDS
 
alexander has a brilliant futurealexander has a brilliant futurealexander has a brilliant futurealexander has a brilliant futurealexander has a brilliant futurealexander has a brilliant futurealexander has a brilliant futurealexander has a brilliant futurealexander has a brilliant futurealexander has a brilliant future
Send a message via AIM to alexander
 



Re: Use All the Memory You are Entitled to Have on Windows

not that noticeably


----------------
And remember that great question that Pierre-Simon Laplace and Sir Isaac Newton, Andrei Markov and David Hilbert, Richard Feynman and Enrico Fermi, Albert Einstein and Edmund Halley did not come to ask throughout all of their dedication and work: "Who the hell is IMing me?"


This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 License.
Reply With Quote
Reply

Bookmarks

Tags
highmem, howto, memory, pae, server, support, windows


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows Vista geokker Computer Science 4 09-17-2005 04:24 AM
Is windows just another virus? dirty.deeds Computer Science 4 08-28-2005 12:17 PM
Everyone's entitled to my opinion, creation majordinkydau Theology forum 26 07-20-2005 07:48 AM
Linux & Windows pgrmdave Computer Science 22 01-19-2005 06:26 PM
SP2, the Nightmare on Windows St. Freethinker Computer Science 3 08-28-2004 10:57 AM


All times are GMT -8. The time now is 02:39 PM.

Hypography?

Hypography [n.]: A combination of "hyperlink" and "bibliography" - ie, a list of links to electronic documents. Comparable to discography and bibliography, but not cartography.

We have been online since May 2000, and aim to be the best place to find and share science-related content of all kinds.

Share the love!

Please add more science to your life. Use our RSS feeds on your blog, your portal, or your favorite feedreader!

Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc. Copyright © 2000-2008 Hypography
Part of the Hypography - Science for Everyone Network