TechEnclave
Register Now

Registration is free.
Join us today.

Vista fools users with SP1

This is a discussion on Vista fools users with SP1 within the Operating Systems forums, part of the Software Zone category; Vista 32bit conveniently fools users by displaying that it can use 4GB of installed RAM in the system properties, whereas ...

TechEnclave > Software Zone > Operating Systems


Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 21 Sep 08, 10:58 AM
pcgamer's Avatar
Overloaded Member
 
Join Date: Jun 2007
Location: Chennai
Posts: 714
pcgamer is very Notablepcgamer is very Notable
Default Vista fools users with SP1

Vista 32bit conveniently fools users by displaying that it can use 4GB of installed RAM in the system properties, whereas it cant use use more than 3GB

to find it out, go to msinfo32
Total physical memory is the one OS actually uses
see for urself

My computer --> Properties


Msinfo32



Source: 4sysops - Why Windows Vista only sees 3GB memory in a PC with 4GB RAM and how Vista SP1 fools its users

Reply With Quote
  #2   booo's Rig  
Old 21 Sep 08, 11:11 AM
booo's Avatar
Steroids Member
 
Join Date: Mar 2008
Location: Hyderabad
Posts: 304
booo is very Respectablebooo is very Respectablebooo is very Respectable
Default 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.

Reply With Quote
  #3  
Old 21 Sep 08, 11:42 AM
KingKrool's Avatar
Nuclear Member
 
Join Date: Mar 2005
Location: The dark side of the moon
Posts: 3,486
KingKrool is extremely IllustriousKingKrool is extremely IllustriousKingKrool is extremely IllustriousKingKrool is extremely IllustriousKingKrool is extremely IllustriousKingKrool is extremely IllustriousKingKrool is extremely IllustriousKingKrool is extremely IllustriousKingKrool is extremely IllustriousKingKrool is extremely IllustriousKingKrool is extremely Illustrious
Default 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.

Reply With Quote
  #4  
Old 21 Sep 08, 12:03 PM
alsiladka's Avatar
Overloaded Member
 
Join Date: Aug 2008
Location: Pune
Posts: 515
alsiladka is very Respectablealsiladka is very Respectablealsiladka is very Respectablealsiladka is very Respectable
Default 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.

Reply With Quote
  #5  
Old 21 Sep 08, 12:17 PM
praka123's Avatar
Steroids Member
 
Join Date: May 2008
Location: Muvattupuzha,Kerala
Age: 29
Posts: 366
praka123 is very Honorablepraka123 is very Honorablepraka123 is very Honorablepraka123 is very Honorablepraka123 is very Honorable
Send a message via Yahoo to praka123
Default Re: Vista fools users with SP1

Linux does have better memory management.check your facts.

Reply With Quote
  #6   sTALKEr's Rig  
Old 21 Sep 08, 12:32 PM
sTALKEr's Avatar
Nuclear Member
 
Join Date: Mar 2005
Age: 22
Posts: 3,143
sTALKEr is just GreatsTALKEr is just GreatsTALKEr is just GreatsTALKEr is just GreatsTALKEr is just GreatsTALKEr is just GreatsTALKEr is just GreatsTALKEr is just GreatsTALKEr is just GreatsTALKEr is just GreatsTALKEr is just Great
Send Message via Google Talk to sTALKEr
Default Re: Vista fools users with SP1

View Post
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.

Reply With Quote
  #7  
Old 21 Sep 08, 12:37 PM
pcgamer's Avatar
Overloaded Member
 
Join Date: Jun 2007
Location: Chennai
Posts: 714
pcgamer is very Notablepcgamer is very Notable
Default Re: Vista fools users with SP1

View Post
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...

Reply With Quote
  #8  
Old 21 Sep 08, 12:45 PM
alsiladka's Avatar
Overloaded Member
 
Join Date: Aug 2008
Location: Pune
Posts: 515
alsiladka is very Respectablealsiladka is very Respectablealsiladka is very Respectablealsiladka is very Respectable
Default Re: Vista fools users with SP1

View Post
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.

View Post
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.

Reply With Quote
  #9   booo's Rig  
Old 21 Sep 08, 12:47 PM
booo's Avatar
Steroids Member
 
Join Date: Mar 2008
Location: Hyderabad
Posts: 304
booo is very Respectablebooo is very Respectablebooo is very Respectable
Default 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.
Reply With Quote
  #10  
Old 21 Sep 08, 01:26 PM
KingKrool's Avatar
Nuclear Member
 
Join Date: Mar 2005
Location: The dark side of the moon
Posts: 3,486
KingKrool is extremely IllustriousKingKrool is extremely IllustriousKingKrool is extremely IllustriousKingKrool is extremely IllustriousKingKrool is extremely IllustriousKingKrool is extremely IllustriousKingKrool is extremely IllustriousKingKrool is extremely IllustriousKingKrool is extremely IllustriousKingKrool is extremely IllustriousKingKrool is extremely Illustrious
Default 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.
Reply With Quote
  #11  
Old 21 Sep 08, 03:41 PM
praka123's Avatar
Steroids Member
 
Join Date: May 2008
Location: Muvattupuzha,Kerala
Age: 29
Posts: 366
praka123 is very Honorablepraka123 is very Honorablepraka123 is very Honorablepraka123 is very Honorablepraka123 is very Honorable
Send a message via Yahoo to praka123
Default 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.
Reply With Quote
  #12  
Old 22 Sep 08, 12:00 AM
KingKrool's Avatar
Nuclear Member
 
Join Date: Mar 2005
Location: The dark side of the moon
Posts: 3,486
KingKrool is extremely IllustriousKingKrool is extremely IllustriousKingKrool is extremely IllustriousKingKrool is extremely IllustriousKingKrool is extremely IllustriousKingKrool is extremely IllustriousKingKrool is extremely IllustriousKingKrool is extremely IllustriousKingKrool is extremely IllustriousKingKrool is extremely IllustriousKingKrool is extremely Illustrious
Default 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.

Reply With Quote
  #13   clown_abhi's Rig  
Old 22 Sep 08, 11:18 AM
clown_abhi's Avatar
Overloaded Member
 
Join Date: Sep 2007
Location: Bangalore
Age: 23
Posts: 713
clown_abhi is very Notableclown_abhi is very Notableclown_abhi is very Notable
Send a message via Yahoo to clown_abhi
Default 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.

Reply With Quote
  #14   sTALKEr's Rig  
Old 22 Sep 08, 11:25 AM
sTALKEr's Avatar
Nuclear Member
 
Join Date: Mar 2005
Age: 22
Posts: 3,143
sTALKEr is just GreatsTALKEr is just GreatsTALKEr is just GreatsTALKEr is just GreatsTALKEr is just GreatsTALKEr is just GreatsTALKEr is just GreatsTALKEr is just GreatsTALKEr is just GreatsTALKEr is just GreatsTALKEr is just Great
Send Message via Google Talk to sTALKEr
Default 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

Reply With Quote
  #15  
Old 22 Sep 08, 11:41 AM
pcgamer's Avatar
Overloaded Member
 
Join Date: Jun 2007
Location: Chennai
Posts: 714
pcgamer is very Notablepcgamer is very Notable
Default 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

Reply With Quote
Reply


Thread Tools
Display Modes


Welcome, Unregistered.

  
Search
Advertisement


From FunEnclave
Quick Navigation

All times are GMT +5.5. The time now is 01:47 AM.


Style by Safin, exclusive for TechEnclave
Copyright ©2005 - 2008 TechEnclave.com, All Rights Reserved.
Powered by vBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0