 | | 
21 Sep 08, 10:58 AM

21 Sep 08, 11:11 AM
 | Steroids Member | | Join Date: Mar 2008 Location: Hyderabad
Posts: 304
| | Re: Vista fools users with SP1 | | dude this has been discussed many times till date. wether it shows 3 or 4 GB, a 32 bit computer cannot address more than 4GB of memory space. now, why 3GB then?
Since 32bit machines can address only 4GB of memory (32 bit address bus) and in pre-xp era ram used to be very less; The OS used to divide 4GB of space into two parts. 2GB for User space and 2GB for kernel space. but after the xp era, computers started having more ram; so they tweaked this logic so that 3GB can be addressed by the userspace and 1GB by kernel. This is known as PAE or physical address extention. thats why the systems used to show 3GB of memory since user space cannot see the kernel memory.
Now, in vista they addressed the problem of "incorrect calculation" of memory as 3GB.
On the other hand, linux does not have any concept of paging in kernel space. so linux doesnt reserve any memory for kernel. but if there is any app that allocates more than 2GB in kernel space, then you will see only 2GB available to userspace. (i.e., physical memory-kernel memory=user memory) bottomline: if you have 4GB of memory, 1GB is exclusive to kernel and 3GB is for userspace. | 
21 Sep 08, 11:42 AM
 | Nuclear Member | | Join Date: Mar 2005 Location: The dark side of the moon
Posts: 3,486
| | Re: Vista fools users with SP1 | | ^^The above explanation makes no sense.
BTW, the linux kernel has a 3/1 split. The split refers to the virtual address, not physical.
Don't confuse physical and virtual memory.
32 bit computers used to have only a 32 bit physical address space. Which would theoretically allow for 4GB of physical memory. Practically however, a lot of that space is used by devices (memory mapped I/O). Later, x86 procs had PAE added to them. This allowed a 36 bit address space which allowed for more than 4GB of physical address space. This means that you can address 4 GB of physical memory (and more) plus the memory mapped I/O too.
Only issue? A lot of 32 bit drivers wouldn't be able to handle the extra address space (even though some would appear to do so, they would silently fail). So Microsoft decided that if you wanted the extra memory, you could use a 64 bit OS. Hence they only reported the amount of memory they mapped into the physical address space (which was less than 4GB). However this was a bad UI decision - everyone looks at it and starts freaking out ("oh no! One of my DIMMs has gone bad! Must contact Dell NOW!"). So in Vista SP1 they fixed it to show the memory present in the system. | 
21 Sep 08, 12:03 PM
 | Overloaded Member | | Join Date: Aug 2008 Location: Pune
Posts: 515
| | Re: Vista fools users with SP1 | | Usually you share some amount of RAM with your onboard GFX card, so windows used to always show less than the actual amount of RAM in the system.
Come SP1, MS announced that instead of the RAM being used by windows, it would show how much RAM is there in windows.
So vista does not fool users, how can anyone fool those who are already fool and cant read the release notes. | 
21 Sep 08, 12:17 PM
 | Steroids Member | | Join Date: May 2008 Location: Muvattupuzha,Kerala Age: 29
Posts: 366
| | Re: Vista fools users with SP1 | | Linux does have better memory management.check your facts. | 
21 Sep 08, 12:32 PM
 | Nuclear Member | | Join Date: Mar 2005 Age: 22
Posts: 3,143
| | Re: Vista fools users with SP1 | |
Originally Posted by alsiladka
Usually you share some amount of RAM with your onboard GFX card, so windows used to always show less than the actual amount of RAM in the system.
Come SP1, MS announced that instead of the RAM being used by windows, it would show how much RAM is there in windows.
So vista does not fool users, how can anyone fool those who are already fool and cant read the release notes.
|
wrong. NOT ALL gfx cards are onboard. the reasoning has been perfectly put out by kingkrool. i suggest you read up on that. | 
21 Sep 08, 12:37 PM
 | Overloaded Member | | Join Date: Jun 2007 Location: Chennai
Posts: 714
| | Re: Vista fools users with SP1 | |
Originally Posted by alsiladka
Usually you share some amount of RAM with your onboard GFX card, so windows used to always show less than the actual amount of RAM in the system.
Come SP1, MS announced that instead of the RAM being used by windows, it would show how much RAM is there in windows.
So vista does not fool users, how can anyone fool those who are already fool and cant read the release notes.
| dont fool yourself, it has nothing to do with Onboard GFX...  | 
21 Sep 08, 12:45 PM
 | Overloaded Member | | Join Date: Aug 2008 Location: Pune
Posts: 515
| | Re: Vista fools users with SP1 | |
Originally Posted by sTALKEr
wrong. NOT ALL gfx cards are onboard. the reasoning has been perfectly put out by kingkrool. i suggest you read up on that.
| Where did i say about the normal GFX cards? I just spoke about the onboard ones.
Originally Posted by pcgamer
dont fool yourself, it has nothing to do with Onboard GFX... | The reasoning given by kingkrool is correct. But on my PC, with 2 GB RAM, and 256MB shared memory with the onboard GFX, the amount of RAM shown is 1790 MB. Prior to SP1, even System properties would display only 1790MB. But post SP1, microsoft changed it, to display the amount of RAM in the system, not the amound of RAM available.
I am not at all talking about the 3GB limitation of the 32bit architecture. | 
21 Sep 08, 12:47 PM
 | Steroids Member | | Join Date: Mar 2008 Location: Hyderabad
Posts: 304
| | Re: Vista fools users with SP1 | |
PAE, 4-gigabyte tuning (4GT), and Address Windowing Extensions (AWE) serve different purposes and can be used independently of each other: - PAE allows the operating system to access and use more than 4 GB of physical memory.
- 4GT extends the 32-bit user virtual address space from 2 GB to up to 3 GB.
- AWE is a set of APIs that allows a process to allocate nonpaged physical memory and then dynamically map portions of this memory into the virtual address space of the process.
When neither 4GT nor AWE are being used, the amount of physical memory that a single 32-bit process can use is limited by the size of its address space (2 GB). In this case, a PAE-enabled system can still make use of more than 4 GB of RAM to run multiple processes at the same time or to cache file data in memory.
4GT can be used with or without PAE. However, some versions of Windows limit the maximum amount of physical memory that can be supported when 4GT is used. On such systems, booting with 4GT enabled causes the operating system to ignore any memory in excess of the limit. For details, see Memory Limits for Windows Releases.
AWE does not require PAE or 4GT but is often used together with PAE to allocate more than 4 GB of physical memory from a single 32-bit process.
| okay, I was confused between PAE and 4GT. but again, 1GB is locked to the kernel. I knew only the /PAE switch to the boot.ini it seems they seperated these things to PAE 4GB and AWE.
Source: Physical Address Extension (Windows)
PS: by 4GB space, I meant virtual space.
Last edited by booo : 21 Sep 08 at 12:49 PM.
| 
21 Sep 08, 01:26 PM
 | Nuclear Member | | Join Date: Mar 2005 Location: The dark side of the moon
Posts: 3,486
| | Re: Vista fools users with SP1 | | 1 GB of Virtual address space (and not 1 GB of physical address space) is locked to the kernel.
@praka: Who should check his facts? Me? I've had enough of your obnoxiousness. Unlike you, I've programmed for the Linux kernel (and Windows kernel too, for that matter).
The Linux kernel has a 3GB/1GB virtual address split (by default) on x86 procs. Physical memory support beyond 4GB is possible in Linux by using PAE (on x86 that is). You can do that in Windows too - they just don't support it for non server systems since too many drivers are flaky on client systems.
Oh, by the way Praka, a little factoid for you: the Linux kernel does not allow kernel mode code to be paged out. It cannot handle that situation. The Windows kernel does allow a lot of kernel mode code to be paged out if necessary. How is that memory management for you?
I've said it a hundred times before - there are lots of things each of these kernels has right and a lot of things they don't. But stop your foolishness and discuss the issue rather than act as a fanboi who parrots stuff without knowing what the hell he is saying.
Last edited by KingKrool : 21 Sep 08 at 01:31 PM.
| 
21 Sep 08, 03:41 PM
 | Steroids Member | | Join Date: May 2008 Location: Muvattupuzha,Kerala Age: 29
Posts: 366
| | Re: Vista fools users with SP1 | | @KingKrool : I see.I dont know programming or even Mathematics.
Isnt swap space the paging equivalent in Linux?
But ,I just defended the wrong words
Originally Posted by booo
On the other hand, linux does not have any concept of paging in kernel space. so linux doesnt reserve any memory for kernel. but if there is any app that allocates more than 2GB in kernel space, then you will see only 2GB available to userspace. (i.e., physical memory-kernel memory=user memory)
| bold part is not correct?.just head into this page: LinuxMMInternals - linux-mm.org Wiki |
The Linux page allocator, from mm/page_alloc.c, is the main memory allocation mechanism in the Linux kernel. It has to deal with allocations from many parts of the Linux kernel, under many different circumstances. Consequently the Linux page allocator is fairly complex, and easiest to understand in the context of its environment. Because of this, this wiki article begins with an explanation of exactly what the page allocator needs to do, before going into the details of how things are done.
| and Linux memory management : LinuxMM - linux-mm.org Wiki
@Kingkrool:I may not be a programmer ,but a user for more than 7 years ,if it counts.
Last edited by praka123 : 21 Sep 08 at 04:02 PM.
| 
22 Sep 08, 12:00 AM
 | Nuclear Member | | Join Date: Mar 2005 Location: The dark side of the moon
Posts: 3,486
| | Re: Vista fools users with SP1 | | The term paging is overloaded. Booo was right when he talked of no paging in kernel mode in that dynamically allocated kernel data (using kmalloc, vmalloc) is not swapped out (nor is code). The kernel can swap out user mode code and data quite easily. There are some disadvantages to this, but many people claim there are not... I don't agree with them, but to each his own. | 
22 Sep 08, 11:18 AM
 | Overloaded Member | | Join Date: Sep 2007 Location: Bangalore Age: 23
Posts: 713
| | Re: Vista fools users with SP1 | | As far as i know guys, Vista 32 bit uses 3325MB memory out of the 4GB. So, the limit for a 32 bit OS should be 3325MB. The rest of the memory is wasted , to use which we need a 64 bit OS, so that even those ~675MB of memory can be used. Am i right in these simple words?
And Visa does not fool people. It just displays the total amount of RAM in the system properties. Dat's it. If it would have shown 4GB as 3GB, that would be a bug, not this.  | 
22 Sep 08, 11:25 AM
 | Nuclear Member | | Join Date: Mar 2005 Age: 22
Posts: 3,143
| | Re: Vista fools users with SP1 | | ^^wrong. there is no hard and fast rule like that. it can vary based on what other devices you have. read kingkrools posts to understand | 
22 Sep 08, 11:41 AM
 | Overloaded Member | | Join Date: Jun 2007 Location: Chennai
Posts: 714
| | Re: Vista fools users with SP1 | | Thanks Kingkrool and others for your explanations
@king - in simple terms, can we say that - In Vista 32 bit OS, apps will be able to use only 3GB of RAM max,
only Vista 64 can use 4+ GB | | Thread Tools | | | | Display Modes | Linear Mode | | |