How musch RAM will Vista 32 use?

Page: < 12 Showing page 2 of 2
Author
thomasabarnes
Max Output Level: -43 dBFS
  • Total Posts : 3234
  • Joined: 2003/11/11 03:19:17
  • Location: Milwaukee, WI USA
  • Status: offline
RE: How musch RAM will Vista 32 use? 2008/12/08 09:46:56 (permalink)
When you say anything John takes as being negative about Vista, it seems he loses all sense of orientation about a simple view of anybody saying something negative about Vista. When saying something negative about Vista, he appears to be a lost case. Might as well don't try to communicate with him about it.
post edited by thomasabarnes - 2008/12/08 09:50:57


"It's not a song till it touches your heart. It's not a song till it tears you apart!" Lyrics of Amy Grant.

SONAR Platinum X64 (jBridge), Windows 10 Pro 64-Bit, Core i7 990X Extreme Edition Processor 3.46 GHz 6 Cores, Gigabyte EX58-UD5, Crucial Ballistix 24GB 1333MHz DDR3 @1333 MHz, TASCAM UH-7000, Behringer X-Touch, EVGA GTX 980TI Superclocked 6GB, 1TB Samsung EVO 850 SSD, 150GB, 320GB, 1TB 7200rpm HDDs
#31
John
Forum Host
  • Total Posts : 30467
  • Joined: 2003/11/06 11:53:17
  • Status: offline
RE: How musch RAM will Vista 32 use? 2008/12/08 09:58:02 (permalink)
When you say anything John takesas being negative about Vista, it seems he loses all sense of orientation about a simple view of anybody saying something negative about Vista. When saying something negative about Vista, he appears to be a lost case. Might as well don't try to communicate with him about it.
What are you saying here? This attitude is ridiculous and contemptible. You don't care to check what I am saying for its truth but you dismiss me as a fan that will lie about things in order to accomplish what?

Not only is this insulting to me but its insulting to the notion of this forum. If you can find where I am wrong in this it is your duty to expose it. But attacking me because you don't like what I say is wrong. Nor is it going to resolve this issue. Produce proof that I lie and then be done with it but don't you ever question my motives or my credibility again. You don't have the right to do that.

Best
John
#32
jcschild
Max Output Level: -41 dBFS
  • Total Posts : 3409
  • Joined: 2003/11/08 00:20:10
  • Location: Kentucky y'all
  • Status: offline
RE: How musch RAM will Vista 32 use? 2008/12/08 10:19:59 (permalink)
well guys i realize i dont know much about OS' and such. or hardware i wont bother quoting any MS white papers etc.
however here is the facts in Scott world.

1) using the Exact same computer setup and programs (my personal office computer)

2) knowing what i do everyday on that system with 2gig of ram and XP PRo

3) installing Vista 32 with same 2 gig ram , same TSRs running same programs same workflow day in day out.
right off the bat i had FAR LESS RAM Available, and i dont mean just on boot up (that was 250Meg in XP vs 900Meg in vista32)
i mean in actual use.
i am a serious multitasker right now i have 20 webpages open, Photoshop, Quckbooks, several Macromedia products open like dreamweaver/homesite and downloading from another FTP program my Access database and access is open as well
MS word, outlook, 4 excel pages, Quickbooks, a program called Mailwasher (a spam filter), my compter acts as a server for a timeclock program and several other programs we dont host on our real servers
and its 10 am here and i have yet to really start working hard. (more stuff open)

when i went to vista i would have to close some stuff down that i could previously use at the same time with XP.

4) adding 2 more gig of ram did very little to solve this issue, in fact evne with 4gig in vista 32 i could do less at the same time than i could with XP and 2gig ram

5) going to Vista 64 with 8Gig i solved the issue by overpowering my system. i can now do more in vista 64 than i could in XP and by far in Vista 32.

so DONT tell me idont have a clue. i have seen it first hand and not by just running benchmarks.

i am sure hard2hear will comment on vista for audio.

Scott
ADK
Home of the Kentucky Fried DAW!
#33
John
Forum Host
  • Total Posts : 30467
  • Joined: 2003/11/06 11:53:17
  • Status: offline
RE: How musch RAM will Vista 32 use? 2008/12/08 11:11:47 (permalink)
One thing Scott are all your programs Vista versions? Also How have you configured the Vista 32 version? Are you using it with all its security provisions? I also have XP on a separate HD that I can swap out or in at any time. I find that I can run the exact same things in it as I do with Vista. Same number of apps and same type. Spam blocker, why? I use Thunderbird and have no problems with spam. Or you could run MS mail for Vista it has built in spam blocking as well. None the less the idea is that Vista is a memory hog when its not for the reasons said in previous posts and with the supporting links. Either I and all these other people are or you are. Also I am all eyes if you can point to an MS white paper that states the Vista is in fact a memory hog.

Best
John
#34
jcschild
Max Output Level: -41 dBFS
  • Total Posts : 3409
  • Joined: 2003/11/08 00:20:10
  • Location: Kentucky y'all
  • Status: offline
RE: How musch RAM will Vista 32 use? 2008/12/08 11:21:31 (permalink)
do you think i dont know how to "tweak" a system for vista?

spam blocker? you have to be kidding.... we are an open to the public biz.
we send and recieve 100"s of email a week.
the issue comes from our clients having our email addy in thier systems and then they get spoofed. not from us not being completely protected.

i get over 100 spam emails a day or more.

lastly unless you did exacxtly what i did go from the exact same system xp to vista and used the exact same programs
any comments made to Vista not being a resource hog is NULL.
post edited by jcschild - 2008/12/08 11:29:24

Scott
ADK
Home of the Kentucky Fried DAW!
#35
John
Forum Host
  • Total Posts : 30467
  • Joined: 2003/11/06 11:53:17
  • Status: offline
RE: How musch RAM will Vista 32 use? 2008/12/08 11:33:29 (permalink)
do you think i dont know how to "tweak" a system for vista?

What I think has no relevance to the question or the answer. Again outside of anecdotal evidence please refute the links I offered in the other posts. This is not a question of how I "feel" its a question of fact. Either you can show this is so or you can't. Arguing about it is fruitless. BTW just as an aside if you are running Vista I will assume you are using Vista drivers for the most part. These may or may not be as small as the XP versions. Same goes for applications. If you are running applications that are Vista compatible and are updates its very likely they will use more resources as Sonar will on the same machine architecture and same basic resources. Also are you running Aero? This along can reduce the CPU usage of an app such as Sonar. Benchmarks can be very useful here because they can eliminate these variables.

Best
John
#36
jcschild
Max Output Level: -41 dBFS
  • Total Posts : 3409
  • Joined: 2003/11/08 00:20:10
  • Location: Kentucky y'all
  • Status: offline
RE: How musch RAM will Vista 32 use? 2008/12/08 11:45:14 (permalink)
your links have been refuted
i dont give a rats butt what some webpage says about vista being coded differnetly if its true or not and i know it is
the fact remains regardless of coding

i can do more in XP with 2 gig of ram than Vista 32 and 4gig of ram. you cannot refute that

again if you upgraded your system and went to vista you cant comment and particualrly if you are not doing serious multi-tasking.

unless you did what i did same system, same programs just a different OS dont bother posting your very weak rebutals.

Scott
ADK
Home of the Kentucky Fried DAW!
#37
John
Forum Host
  • Total Posts : 30467
  • Joined: 2003/11/06 11:53:17
  • Status: offline
RE: How musch RAM will Vista 32 use? 2008/12/08 11:55:11 (permalink)
I guess you don't know what is meant by a swappable HD. It is not a dual boot setup but two independent HDs that can be changed out for either Vista or XP. I have three of one for Vista 32 one Vista 64 and one for XP Pro 32. Each is configured with similar apps and setups. That give me the option to run those OSs on the same machine at any time.

So my rebuttal is weak but you offer nothing to backup your position where as I do. But according to you I have the weaker position. Funny you are able to dismiss facts with "I don't care" about them. Yet you stand by your undocumented assertions. Brilliant tactic except it wont wash.

Best
John
#38
thomasabarnes
Max Output Level: -43 dBFS
  • Total Posts : 3234
  • Joined: 2003/11/11 03:19:17
  • Location: Milwaukee, WI USA
  • Status: offline
RE: How musch RAM will Vista 32 use? 2008/12/08 12:06:02 (permalink)
This guy is a lost case. It's a darn shame.


"It's not a song till it touches your heart. It's not a song till it tears you apart!" Lyrics of Amy Grant.

SONAR Platinum X64 (jBridge), Windows 10 Pro 64-Bit, Core i7 990X Extreme Edition Processor 3.46 GHz 6 Cores, Gigabyte EX58-UD5, Crucial Ballistix 24GB 1333MHz DDR3 @1333 MHz, TASCAM UH-7000, Behringer X-Touch, EVGA GTX 980TI Superclocked 6GB, 1TB Samsung EVO 850 SSD, 150GB, 320GB, 1TB 7200rpm HDDs
#39
John
Forum Host
  • Total Posts : 30467
  • Joined: 2003/11/06 11:53:17
  • Status: offline
RE: How musch RAM will Vista 32 use? 2008/12/08 12:10:46 (permalink)
This guy is a lost case. It's a darn shame.

This guy? Yes Scott is way out there. He will see the light at some point. I hope.

Best
John
#40
thomasabarnes
Max Output Level: -43 dBFS
  • Total Posts : 3234
  • Joined: 2003/11/11 03:19:17
  • Location: Milwaukee, WI USA
  • Status: offline
RE: How musch RAM will Vista 32 use? 2008/12/08 12:17:52 (permalink)
How a person can get so heated up over an operating system's performance is ,,,,,,, well, you choose the term.

I don't hate John, it's just a matter of a difference of opinion here.

I sure hope he can see this shouldn't be as intense as he seems to be pushing it to be.
post edited by thomasabarnes - 2008/12/08 12:22:49


"It's not a song till it touches your heart. It's not a song till it tears you apart!" Lyrics of Amy Grant.

SONAR Platinum X64 (jBridge), Windows 10 Pro 64-Bit, Core i7 990X Extreme Edition Processor 3.46 GHz 6 Cores, Gigabyte EX58-UD5, Crucial Ballistix 24GB 1333MHz DDR3 @1333 MHz, TASCAM UH-7000, Behringer X-Touch, EVGA GTX 980TI Superclocked 6GB, 1TB Samsung EVO 850 SSD, 150GB, 320GB, 1TB 7200rpm HDDs
#41
John
Forum Host
  • Total Posts : 30467
  • Joined: 2003/11/06 11:53:17
  • Status: offline
RE: How musch RAM will Vista 32 use? 2008/12/08 12:25:22 (permalink)
How a person can get so heated up over an operating syatem performnace is ,,,,,,, well, you choose the term.

I don't hate John, it's just a matter of a difference of opinion here.

I sure hope he can see this is not as intense as he seems to be pushing it to be.

Now you address your replies to me and use the third person in them as if you are talking to some one else. That is most confusing.

Opinion is one thing stating something as fact without providing proof is another. I hope you can see the difference.

You are commenting on the nature of my posts but you fail to comment on the substance of them. Either I am wrong or I am right. You however want to target style. I don't care about style as long as its readable but I do care about substance.

Best
John
#42
jcschild
Max Output Level: -41 dBFS
  • Total Posts : 3409
  • Joined: 2003/11/08 00:20:10
  • Location: Kentucky y'all
  • Status: offline
RE: How musch RAM will Vista 32 use? 2008/12/08 12:28:44 (permalink)
well John,
you say 1 thing and i say the other.

which of us people to choose to believe well i really dont care.
the OPs question was about Vista 32 which i know to be near pointless to upgrade from XP due to said issues.

on the other hand i love Vista 64 as you can overcompensate for its being a HOG. Vista64 and 8gig of ram is great, vista 32 and 4gig sucks.

FYI EVERY new OS has been more a hog than the previous, same with any software. new ver new larger resource hog.

its about to be moot anyway with in a month.

Scott
ADK
Home of the Kentucky Fried DAW!
#43
thomasabarnes
Max Output Level: -43 dBFS
  • Total Posts : 3234
  • Joined: 2003/11/11 03:19:17
  • Location: Milwaukee, WI USA
  • Status: offline
RE: How musch RAM will Vista 32 use? 2008/12/08 12:31:18 (permalink)
I'm rolling over here!

Whoa!!!!!!


"It's not a song till it touches your heart. It's not a song till it tears you apart!" Lyrics of Amy Grant.

SONAR Platinum X64 (jBridge), Windows 10 Pro 64-Bit, Core i7 990X Extreme Edition Processor 3.46 GHz 6 Cores, Gigabyte EX58-UD5, Crucial Ballistix 24GB 1333MHz DDR3 @1333 MHz, TASCAM UH-7000, Behringer X-Touch, EVGA GTX 980TI Superclocked 6GB, 1TB Samsung EVO 850 SSD, 150GB, 320GB, 1TB 7200rpm HDDs
#44
John
Forum Host
  • Total Posts : 30467
  • Joined: 2003/11/06 11:53:17
  • Status: offline
RE: How musch RAM will Vista 32 use? 2008/12/08 12:34:09 (permalink)
FYI EVERY new OS has been more a hog than the previous, same with any software. new ver new larger resource hog.

its about to be moot anyway with in a month.

Yes I am aware of that little tidbit. Yet you are wrong in your assertion about Vista 32. That is my main OS and it works just fine here as have others noted on this thread. Please check the thread on this that I linked to called Sonar and Vista. Read it and then you and I will talk.

Best
John
#45
yorolpal
Max Output Level: 0 dBFS
  • Total Posts : 13829
  • Joined: 2003/11/20 11:50:37
  • Status: offline
RE: How musch RAM will Vista 32 use? 2008/12/08 12:46:53 (permalink)
Perhaps a quote from one of the works of the great Ring Lardner is appropriate here:

"shut up, he explained".

https://soundcloud.com/doghouse-riley/tracks 
https://doghouseriley1.bandcamp.com 
Where you come from is gone...where you thought you were goin to weren't never there...and where you are ain't no good unless you can get away from it.
 
SPLAT 64 bit running on a Studio Cat Pro System Win 10 64bit 2.8ghz Core i7 with 24 gigs ram. MOTU Audio Express.
#46
Desperate Dan
Max Output Level: -59.5 dBFS
  • Total Posts : 1554
  • Joined: 2003/11/08 12:56:17
  • Location: Lysithea
  • Status: offline
RE: How musch RAM will Vista 32 use? 2008/12/08 13:00:10 (permalink)
If you get Vista Ultimate you get both 32 bit and 64 bit versions. This is not true of the other versions. Now outside of Vista Basic you are able to get the 64 bit version from MS free for the most part


You make it sound like you get both versions on your Ultimate disc?? You don't, it simply allows the 64Bit OS to run 32 Bit apps in like a wrapper environment.

As regards RAM and CPU usage, yes if you are using a Quad core with 8 Gb of RAM it might be better. But on my Vista 64 it uses 1.3 Gb of Ram doing hardly anything wherereas XP uses less than 350 That's why they reccomend a minimum of 2 Gigs cause that's what Vista needs to run it's +-60 Services as opposed to the +-30 on XP. My tests aren't scientifi by any means just simply what Users will experience, but Scott from ADK can normally back up his responses with facts, I'd like to see yours and his because one of the two of you is misleading other users

I only have an E-6600 with 4 Gb of RAM and Sonar 64 Sucks to be honest, plenty of bugs, documented to Cakewalk and ignored (cause they don't have an answer) On XP or Server 2003 it isn't too much better, still lot's of bugs and stupid rudimentary things that a sequencer should be able to do without owning a Quad with 8 Gb of Ram.

To prove my Point I spent the weekend reloading XP and busy re-loading Vista 64 now and with no tweaking Sonar limps out of the Box whereas Cubase Studio 4 can play the same project and can loop out of the box in Vista 64 (in X86 mode) . No-one can explain that

Windows 7 Professional  64 bit - Intel Q-9550 2.83 CPU, 8Gb DDR800, Gigabyte EP35-DS3R, M-Audio Delta 44, Yamaha HS-80M Monitors, UAD-1 Ultra Pack

I'm reading a book about anti-gravity at the moment and I just can't put it down
#47
John
Forum Host
  • Total Posts : 30467
  • Joined: 2003/11/06 11:53:17
  • Status: offline
RE: How musch RAM will Vista 32 use? 2008/12/08 13:08:31 (permalink)
You make it sound like you get both versions on your Ultimate disc?? You don't, it simply allows the 64Bit OS to run 32 Bit apps in like a wrapper environment.
Thas not what I was saying. I was talking about what you get in the box with the different versions. Not what can be done with them. The Ultimate version comes with two DVDs one is the 32 bit version and the other is the 64 bit version.
My tests aren't scientifi by any means just simply what Users will experience, but Scott from ADK can normally back up his responses with facts, I'd like to see yours and his because one of the two of you is misleading other users
Did you go to the links I posted?

Best
John
#48
Desperate Dan
Max Output Level: -59.5 dBFS
  • Total Posts : 1554
  • Joined: 2003/11/08 12:56:17
  • Location: Lysithea
  • Status: offline
RE: How musch RAM will Vista 32 use? 2008/12/08 13:41:09 (permalink)
My Vista 64 Ultimate came with one 64bit DVD that's why I am confused. I have since read some more of the thread and I can't run half of what Scott can as far as Multitasking is concerned without Vista64 complaining I am running out of RAM (I only have 4Gb Plus a 4Gb Permanent swap file on a dedicated Fast Swap Drive) I have yet to have my XP tell me it's running out of RAM (With a /3GB switch in the Boot.ini and similar 4Gb Permanent swap file) I don't really care about the Science behind it, on face value Vista 64 is a power and memory Hog, tweaked or untweaked. You can't argue with 30 Services/Processes running in XP against 60+ in Vista 64. I also Boot from Multiple Hard drives with different OS'es on them. While some things in Vista Impress me, I have to move multiple files around and what it takes XP to do in 30 seconds it takes roughly double that in Vista 64, incredibly sluggish. But then I don't have a Quad.

Windows 7 Professional  64 bit - Intel Q-9550 2.83 CPU, 8Gb DDR800, Gigabyte EP35-DS3R, M-Audio Delta 44, Yamaha HS-80M Monitors, UAD-1 Ultra Pack

I'm reading a book about anti-gravity at the moment and I just can't put it down
#49
mmarton
Max Output Level: -77 dBFS
  • Total Posts : 666
  • Joined: 2006/01/26 13:23:30
  • Location: White Rock, B.C. Canada
  • Status: offline
RE: How musch RAM will Vista 32 use? 2008/12/08 13:41:31 (permalink)
What's happening in a month?

Happy Sonar Platinum 64 bit Registered Owner
Epi Casino, Les Paul, Strat, Martin GPCPA3, Cort C4Z bass, Roland D20 Synth, TC Konnekt48, Sansamp BDDI, Roland JDXI, APS Klasiks, Windows 10 64bit
#50
John
Forum Host
  • Total Posts : 30467
  • Joined: 2003/11/06 11:53:17
  • Status: offline
RE: How musch RAM will Vista 32 use? 2008/12/08 14:03:14 (permalink)
My Vista 64 Ultimate came with one 64bit DVD that's why I am confused. I have since read some more of the thread and I can't run half of what Scott can as far as Multitasking is concerned without Vista64 complaining I am running out of RAM (I only have 4Gb Plus a 4Gb Permanent swap file on a dedicated Fast Swap Drive) I have yet to have my XP tell me it's running out of RAM (With a /3GB switch in the Boot.ini and similar 4Gb Permanent swap file) I don't really care about the Science behind it, on face value Vista 64 is a power and memory Hog, tweaked or untweaked. You can't argue with 30 Services/Processes running in XP against 60+ in Vista 64. I also Boot from Multiple Hard drives with different OS'es on them. While some things in Vista Impress me, I have to move multiple files around and what it takes XP to do in 30 seconds it takes roughly double that in Vista 64, incredibly sluggish. But then I don't have a Quad.

Did you get it as an OEM or full version or upgrade? It matters.

Best
John
#51
InstrEd
Max Output Level: -65 dBFS
  • Total Posts : 1276
  • Joined: 2004/10/13 20:55:03
  • Status: offline
RE: How musch RAM will Vista 32 use? 2008/12/08 14:16:50 (permalink)
What's happening in a month?


My guess is AMD Phenom II X4. Suppose to be Jan 8 at CES showing.
But I thought December 14th is when NDA is lifted.

Hoping anyway that they finally have something to compete against Intel, show Intel has to lower prices.
Getting new DAW next year by the end of March. I think AMD might have a winner on there hands with Value/price.

Ed
#52
jcschild
Max Output Level: -41 dBFS
  • Total Posts : 3409
  • Joined: 2003/11/08 00:20:10
  • Location: Kentucky y'all
  • Status: offline
RE: How musch RAM will Vista 32 use? 2008/12/08 14:54:40 (permalink)
nope thats not it FYI they are releasing this week...
i meant that XP will no longer be sold after Jan




Scott
ADK
Home of the Kentucky Fried DAW!
#53
InstrEd
Max Output Level: -65 dBFS
  • Total Posts : 1276
  • Joined: 2004/10/13 20:55:03
  • Status: offline
RE: How musch RAM will Vista 32 use? 2008/12/08 15:08:16 (permalink)
Thanks, Scott.

Darn, I was hoping Intel might finally have some competition. Hope AMD survives, Don't want to go back to the old days of only Intel.


Ed
#54
jcschild
Max Output Level: -41 dBFS
  • Total Posts : 3409
  • Joined: 2003/11/08 00:20:10
  • Location: Kentucky y'all
  • Status: offline
RE: How musch RAM will Vista 32 use? 2008/12/08 15:13:22 (permalink)
i dont see how AMD could counter Core i7 we are not talking 10-20% here. more like 100%

even in AMDs hayday that were not that far ahead of Intel other than a brief time with Opterons vs older Xeon
and mostly on the memory bandwidth side of things...

Scott
ADK
Home of the Kentucky Fried DAW!
#55
thomasabarnes
Max Output Level: -43 dBFS
  • Total Posts : 3234
  • Joined: 2003/11/11 03:19:17
  • Location: Milwaukee, WI USA
  • Status: offline
RE: How musch RAM will Vista 32 use? 2008/12/08 17:38:38 (permalink)
ORIGINAL: kubalibre

ORIGINAL: thomasabarnes
I was using 2 GB RAM, at 1st, and Vista was using almost all my RAM, then, I upgraded to 8 GB and it still used almost all of the RAM. XP didn't do that.

You know what I call that? Resource hog, resource hog, resource hog.



that´s the worst bullcrap I´ve ever read. Vista 64 almost used up all your 8 GIG of RAM.. dream on!
I work on Vista 64, it never went much over 1 GIG of usage of my 16 GIG, I can load more samples on Vista than ever before on XP. You better put XP in the museum where it belongs



I'm refering to the amount of free RAM that the task manager says I have free.

With Vista 32 bit it only see's about 3 GB, but a very small amount is left free something like 400 MB. With Vista 64, It see's all 8 GB but only 1309 MB is free. Most of the RAM Vista see's is cached. I'm calling Vista a resource hog because wether it caches my RAM or whatever it's not showing much as free. Windows XP didn't snatch my RAM like this. For your information Vista 64 shows only 1.5 GB in actual use when my PC is idle.
post edited by thomasabarnes - 2008/12/08 17:44:02


"It's not a song till it touches your heart. It's not a song till it tears you apart!" Lyrics of Amy Grant.

SONAR Platinum X64 (jBridge), Windows 10 Pro 64-Bit, Core i7 990X Extreme Edition Processor 3.46 GHz 6 Cores, Gigabyte EX58-UD5, Crucial Ballistix 24GB 1333MHz DDR3 @1333 MHz, TASCAM UH-7000, Behringer X-Touch, EVGA GTX 980TI Superclocked 6GB, 1TB Samsung EVO 850 SSD, 150GB, 320GB, 1TB 7200rpm HDDs
#56
John
Forum Host
  • Total Posts : 30467
  • Joined: 2003/11/06 11:53:17
  • Status: offline
RE: How musch RAM will Vista 32 use? 2008/12/08 17:54:13 (permalink)
Vista memory usage explanation

I complained in my recent review of my HP 2710P that the memory usage in Vista seemed really high, especially when compared to my usage in Windows XP. Today I came across an article describing the memory management in Vista and how it differs from Windows XP. Although I had heard about the new SuperFetch technology in Vista, it hadn’t ever really clicked that the memory usage I saw in Task Manager might be related to SuperFetch. The basic concept that Jeff from CodingHorror describes is to think of your system memory as available cache. When your open processes are using up just a small amount of memory, Vista uses some additional amount of memory as something like a "level 3" cache to speed up the general usage of the system. This memory usage is reported in Task Manager as in use and makes it look like you’re using a lot of memory.

The best quote: "The question shouldn’t be "Why does Vista use all my memory?", but "Why the heck did previous versions of Windows use my memory so ineffectively?""

Certainly made me understand the memory management on my Vista system much better!


Windows Administration
Inside the Windows Vista Kernel: Part 2
Mark Russinovich

At a Glance:

* Memory management
* Startup and shutdown
* Power management


Last month, in the first installment of this three-part series, I looked at Windows Vista kernel enhancements in the areas of processes and I/O.
This time I'll cover advances in the way Windows Vista manages memory, as well as major improvements to system startup, shutdown, and power management (Part One).
Every release of Windows® improves scalability and performance, and Windows Vista™ is no different. The Windows Vista Memory Manager includes numerous enhancements, like more extensive use of lock-free synchronization techniques, finer-grained locking, tighter data-structure packing, larger paging I/Os, support for modern GPU memory architectures, and more efficient use of the hardware Translation Lookaside Buffer. Plus, Windows Vista memory management now offers dynamic address space allocation for the requirements of different workloads.
Four performance-enhancing features that use new technologies make their operating system debut on Windows Vista: SuperFetch, ReadyBoost, ReadyBoot, and ReadyDrive. I'll discuss them in detail later in this article.

Dynamic Kernel Address Space
Windows and the applications that run on it have bumped their heads on the address space limits of 32-bit processors. The Windows kernel is constrained by default to 2GB, or half the total 32-bit virtual address space, with the other half reserved for use by the process whose thread is currently running on the CPU. Inside its half, the kernel has to map itself, device drivers, the file system cache, kernel stacks, per-session code data structures, and both non-paged (locked-in physical memory) and paged buffers allocated by device drivers. Prior to Windows Vista, the Memory Manager determined at boot time how much of the address space to assign to these different purposes, but this inflexibility sometimes led to situations where one of the regions became full while others still had plenty of available space. The exhaustion of an area can lead to application failures and prevent device drivers from completing I/O operations.
In 32-bit Windows Vista, the Memory Manager dynamically manages the kernel's address space, allocating and deallocating space to various uses as the demands of the workload require. Thus, the amount of virtual memory used to store paged buffers can grow when device drivers ask for more, and it can shrink when the drivers release it. Windows Vista will therefore be able to handle a wider variety of workloads and likewise the 32-bit version of the forthcoming Windows Server® code-named "Longhorn," will scale to handle more concurrent Terminal Server users.
Of course, on 64-bit Windows Vista systems, address space constraints are not currently a practical limitation and therefore require no special treatment as they are configured to their maximums.

Memory Priorities
Just as Windows Vista adds I/O priorities (as I discussed in the last installment), it also implements memory priorities. Understanding how Windows uses memory priorities requires grasping how the Memory Manager implements its memory cache, called the Standby List. On all versions of Windows prior to Windows Vista, when a physical page (which is typically 4KB in size) that's owned by a process was reclaimed by the system, the Memory Manager typically placed the page at the end of the Standby List. If the process wanted to access the page again, the Memory Manager took the page from the Standby List and reassigned it to the process. When a process wanted to use a new page of physical memory and no free memory was available, the Memory Manager gave it the page at the front the Standby List. This scheme treated all pages on the standby essentially as equals, using only the time they were placed on the list to sort them.
On Windows Vista, every page of memory has a priority in the range of 0 to 7, and so the Memory Manager divides the Standby List into eight lists that each store pages of a particular priority. When the Memory Manager wants to take a page from the Standby List, it takes pages from low-priority lists first. A page's priority usually reflects that of the thread that first causes its allocation. (If the page is shared, it reflects the highest of memory priorities of the sharing threads.) A thread inherits its page-priority value from the process to which it belongs. The Memory Manager uses low priorities for pages it reads from disk speculatively when anticipating a process's memory accesses.
By default, processes have a page-priority value of 5, but functions allow applications and the system to change process and thread page-priority values. The real power of memory priorities is realized only when the relative priorities of pages are understood at a macro-level, which is the role of SuperFetch.

SuperFetch
A significant change to the Memory Manager is in the way that it manages physical memory. The Standby List management used by previous versions of Windows has two limitations. First, the prioritization of pages relies only on the recent past behavior of processes and does not anticipate their future memory requirements. Second, the data used for prioritization is limited to the list of pages owned by a process at any given point in time. These shortcomings can result in scenarios like the "after lunch syndrome," where you leave your computer for a while and a memory-intensive system application runs (such as an antivirus scan or disk defragmentation). This application forces the code and data that your active applications had cached in memory to be overwritten by the memory-intensive activities. When you return, you experience sluggish performance as applications have to request their data and code from disk.
Windows XP introduced prefetching support that improved boot and application startup performance by performing large disk I/Os to preload memory with code and file system data that it expected, based on previous boots and application launches. Windows Vista goes a big step further with SuperFetch, a memory management scheme that enhances the least-recently accessed approach with historical information and proactive memory management.
SuperFetch is implemented in %SystemRoot%\System32\Sysmain.dll as a Windows service that runs inside a Service Host process (%SystemRoot%\System32\Svchost.exe). The scheme relies on support from the Memory Manager so that it can retrieve page usage histories as well as direct the Memory Manager to preload data and code from files on disk or from a paging file into the Standby List and assign priorities to pages. The SuperFetch service essentially extends page-tracking to data and code that was once in memory, but that the Memory Manager has reused to make room for new data and code. It stores this information in scenario files with a .db extension in the %SystemRoot%\Prefetch directory alongside standard prefetch files used to optimize application launch. Using this deep knowledge of memory usage, SuperFetch can preload data and code when physical memory becomes available.
Whenever memory becomes free-for example, when an application exits or releases memory-SuperFetch asks the Memory Manager to fetch data and code that was recently evicted. This is done at a rate of a few pages per second with Very Low priority I/Os so that the preloading does not impact the user or other active applications. Therefore, if you leave your computer to go to lunch and a memory-intensive background task causes the code and data from your active applications to be evicted from memory while you're gone, SuperFetch can often bring all or most of it back into memory before you return. SuperFetch also includes specific scenario support for hibernation, standby, Fast User Switching (FUS), and application launch. When the system hibernates, for example, SuperFetch stores data and code in the hibernation file that it expects (based on previous hibernations) will be accessed during the subsequent resume. In contrast, when you resume Windows XP, previously cached data must be reread from the disk when it is referenced.
See the sidebar "Watching SuperFetch" for a glimpse of how SuperFetch impacts available memory.
Watching SuperFetch
After you’ve used a Windows Vista system a while, you’ll see a low number for the Free Physical Memory counter on Task Manager’s Performance page. That’s because SuperFetch and standard Windows caching make use of all available physical memory to cache disk data. For example, when you first boot, if you immediately run Task Manager you should notice the Free Memory value decreasing as Cached Memory number rises. Or, if you run a memory-hungry program and then exit it (any of the freeware “RAM optimizers” that allocate large amounts of memory and then release the memory will work), or just copy a very large file, the Free number will rise and the Physical Memory Usage graph will drop as the system reclaims the deallocated memory. Over time, however, SuperFetch repopulates the cache with the data that was forced out of memory, so the Cached number will rise and the Free number will decline.
Watching memory(Click the image for a larger view)


ReadyBoost
The speed of CPUs and memory are fast outpacing that of hard disks, so disks are a common system performance bottleneck. Random disk I/O is especially expensive because disk head seek times are on the order of 10 milliseconds-an eternity for today's 3GHz processors. While RAM is ideal for caching disk data, it is relatively expensive. Flash memory, however, is generally cheaper and can service random reads up to 10 times faster than a typical hard disk. Windows Vista, therefore, includes a feature called ReadyBoost to take advantage of flash memory storage devices by creating an intermediate caching layer on them that logically sits between memory and disks.
ReadyBoost consists of a service implemented in %SystemRoot%\System32\Emdmgmt.dll that runs in a Service Host process, and a volume filter driver, %SystemRoot%\System32\Drivers\Ecache.sys. (Emd is short for External Memory Device, the working name for ReadyBoost during its development.) When you insert a flash device like a USB key into a system, the ReadyBoost service looks at the device to determine its performance characteristics and stores the results of its test in HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\Currentversion\Emdmgmt, seen in Figure 1.
Figure 1 ReadyBoost device test results in the registry (Click the image for a larger view)
If you aren't already using a device for caching, and the new device is between 256MB and 32GB in size, has a transfer rate of 2.5MB/s or higher for random 4KB reads, and has a transfer rate of 1.75MB/s or higher for random 512KB writes, then ReadyBoost will ask if you'd like to dedicate up to 4GB of the storage for disk caching. (Although ReadyBoost can use NTFS, it limits the maximum cache size to 4GB to accommodate FAT32 limitations.) If you agree, then the service creates a caching file named ReadyBoost.sfcache in the root of the device and asks SuperFetch to prepopulate the cache in the background.
After the ReadyBoost service initializes caching, the Ecache.sys device driver intercepts all reads and writes to local hard disk volumes (C:\, for example), and copies any data being written into the caching file that the service created. Ecache.sys compresses data and typically achieves a 2:1 compression ratio so a 4GB cache file will usually contain 8GB of data. The driver encrypts each block it writes using Advanced Encryption Standard (AES) encryption with a randomly generated per-boot session key in order to guarantee the privacy of the data in the cache if the device is removed from the system.
When ReadyBoost sees random reads that can be satisfied from the cache, it services them from there, but because hard disks have better sequential read access than flash memory, it lets reads that are part of sequential access patterns go directly to the disk even if the data is in the cache.

ReadyBoot
Windows Vista uses the same boot-time prefetching as Windows XP did if the system has less than 512MB of memory, but if the system has 700MB or more of RAM, it uses an in-RAM cache to optimize the boot process. The size of the cache depends on the total RAM available, but is large enough to create a reasonable cache and yet allow the system the memory it needs to boot smoothly.
After every boot, the ReadyBoost service (the same service that implements the ReadyBoost feature just described) uses idle CPU time to calculate a boot-time caching plan for the next boot. It analyzes file trace information from the five previous boots and identifies which files were accessed and where they are located on disk. It stores the processed traces in %SystemRoot%\Prefetch\Readyboot as .fx files and saves the caching plan under HKLM\System\CurrentControlSet\Services\Ecache\Parameters in REG_BINARY values named for internal disk volumes they refer to.
The cache is implemented by the same device driver that implements ReadyBoost caching (Ecache.sys), but the cache's population is guided by the ReadyBoost service as the system boots. While the boot cache is compressed like the ReadyBoost cache, another difference between ReadyBoost and ReadyBoot cache management is that while in ReadyBoot mode, other than the ReadyBoost service's updates, the cache doesn't change to reflect data that's read or written during the boot. The ReadyBoost service deletes the cache 90 seconds after the start of the boot, or if other memory demands warrant it, and records the cache's statistics in HKLM\System\CurrentControlSet\Services\Ecache\Parameters\ReadyBootStats, as shown in Figure 2. Microsoft performance tests show that ReadyBoot provides performance improvements of about 20 percent over the legacy Windows XP prefetcher.
Figure 2 ReadyBoot Performance statistics (Click the image for a larger view)

ReadyDrive
ReadyDrive is a Windows Vista feature that takes advantage of new hybrid hard disk drives called H-HDDs. An H-HDD is a disk with embedded nonvolatile flash memory (also known as NVRAM). Typical H-HDDs include between 50MB and 512MB of cache, but the Windows Vista cache limit is 2TB.
Windows Vista uses ATA-8 commands to define the disk data to be held in the flash memory. For example, Windows Vista will save boot data to the cache when the system shuts down, allowing for faster restarting. It also stores portions of hibernation file data in the cache when the system hibernates so that the subsequent resume is faster. Because the cache is enabled even when the disk is spun down, Windows can use the flash memory as a disk-write cache, which avoids spinning up the disk when the system is running on battery power. Keeping the disk spindle turned off can save much of the power consumed by the disk drive under normal usage.

Boot Configuration Database
Windows Vista has enhanced several aspects of startup and shutdown. Startup has improved with the introduction of the Boot Configuration Database (BCD) for storing system and OS startup configuration, a new flow and organization of system startup processes, new logon architecture, and support for delayed-autostart services. Windows Vista shutdown changes include pre-shutdown notification for Windows services, Windows services shutdown ordering, and a significant change to the way the OS manages power state transitions.
One of the most visible changes to the startup process is the absence of Boot.ini from the root of the system volume. That's because the boot configuration, which on previous versions of Windows was stored in the Boot.ini text file, is now stored in the BCD. One of the reasons Windows Vista uses the BCD is that it unifies the two current boot architectures supported by Windows: Master Boot Record (MBR) and Extensible Firmware Interface (EFI). MBR is generally used by x86 and x64 desktop systems, while EFI is used by Itanium-based systems (though desktop PCs are likely to ship with EFI support in the near future). The BCD abstracts the firmware and has other advantages over Boot.ini, like its support for Unicode strings and alternate pre-boot executables.
The BCD is actually stored on disk in a registry hive that loads into the Windows registry for access via registry APIs. On PCs, Windows stores it in \Boot\Bcd on the system volume. On EFI systems, it's on the EFI system partition. When the hive is loaded, it appears under HKLM\Bcd00000000, but its internal format is undocumented so editing it requires the use of a tool like %SystemRoot%\System32\Bcdedit.exe. Interfaces for manipulating the BCD are also made available for scripts and custom editors through Windows Management Instrumentation (WMI) and you can use the Windows System Configuration Utility (%SystemRoot%\System32\Msconfig.exe) to edit or add basic parameters, like kernel debugging options.
The BCD divides platform-wide boot settings, like the default OS selection and the boot menu timeout, from OS-specific settings such as OS boot options and the path to the OS boot loader. For example, Figure 3 shows that when you run Bcdedit with no command-line options, it displays platform settings in the Windows Boot Manager section at the top of the output, followed by OS-specific settings in the Windows Boot Loader section.
Figure 3 Settings displayed in BCDEdit (Click the image for a larger view)
When you boot a Windows Vista installation, this new scheme divides the tasks that were handled by the operating system loader (Ntldr) on previous versions of Windows into two different executables: \BootMgr and %SystemRoot%\System32\Winload.exe. Bootmgr reads the BCD and displays the OS boot menu, while Winload.exe handles operating-system loading. If you're performing a clean boot, Winload.exe loads boot-start device drivers and core operating system files, including Ntoskrnl.exe, and transfers control to the operating system; if the system is resuming from hibernation, then it executes %SystemRoot%\System32\Winresume.exe to load the hibernation data into memory and resume the OS.
Bootmgr also includes support for additional pre-boot executables. Windows Vista comes with the Windows Memory Diagnostic (\Boot\Memtest.exe) pre-configured as an option for checking the health of RAM, but third parties can add their own pre-boot executables as options that will display in Bootmgr's boot menu.

Startup Processes
In previous versions of Windows, the relationship between various system processes was unintuitive. For example, as the system boots, the interactive logon manager (%SystemRoot%\System32\Winlogon.exe) launches the Local Security Authority Subsystem Service (Lsass.exe) and the Service Control Manager (Services.exe). Further, Windows uses a namespace container called a Session to isolate processes running in different logon sessions. But prior to Windows Vista, the user logged into the console shared Session 0, the session used by system processes, which created potential security issues. One such issue was introduced, for example, when a poorly written Windows service running in Session 0 displayed a user interface on the interactive console, allowing malware to attack the window through techniques like shatter attacks and possibly gain administrative privileges.
To address these problems, several system processes were re-architected for Windows Vista. Session Manager (Smss.exe) is the first user-mode process created during the boot as in previous versions of Windows, but on Windows Vista the Session Manager launches a second instance of itself to configure Session 0, which is dedicated solely to system processes. The Session Manager process for Session 0 launches the Windows Startup Application (Wininit.exe), a Windows subsystem process (Csrss.exe) for Session 0, and then it exits. The Windows Startup Application continues by starting the Service Control Manager, the Local Security Authority Subsystem, and a new process, Local Session Manager (Lsm.exe), which manages terminal server connections for the machine.
When a user logs onto the system, the initial Session Manager creates a new instance of itself to configure the new session. The new Smss.exe process starts a Windows subsystem process and Winlogon process for the new session. Having the primary Session Manager use copies of itself to initialize new sessions doesn't offer any advantages on a client system, but on Windows Server "Longhorn" systems acting as terminal servers, multiple copies can run concurrently to allow for faster logon of multiple users.
With this new architecture, system processes, including Windows services, are isolated in Session 0. If a Windows service, which runs in Session 0, displays a user interface, the Interactive Services Detection service (%SystemRoot%\System32\UI0Detect.exe) notifies any logged-on administrator by launching an instance of itself in the user's security context and displaying the message shown in Figure 4. If the user selects the "Show me the message" button, the service switches the desktop to the Windows service desktop, where the user can interact with the service's user interface and then switch back to their own desktop. For more on what happens at startup, see the sidebar "Viewing Startup Process Relationships."
Figure 4 Service has displayed a window (Click the image for a larger view)
Viewing Startup Process Relationships
You can use Process Explorer from Sysinternals (microsoft.com/technet/sysinternals) to see the process startup tree of Windows Vista.
The screenshot includes the Session column, which you can add through Process Explorer’s column dialog. The highlighted process is the initial Smss.exe. Below it is the Session 0 Csrss.exe and Wininit.exe, which are left-justified because their parent process, the instance of Smss.exe that configured Session 0, has exited. Wininit’s three children are Services.exe, Lsass.exe, and Lsm.exe.
Process Explorer identifies a set of processes as running in Session 1 and that’s the session I’m logged into through a Remote Desktop connection. Process Explorer displays processes running in the same account as itself with a blue highlight color. Finally, Session 2 was initialized to prepare for a user logging into the console and creating a new logon session. It’s in that session that Winlogon is running and using LogonUI to ask a new console user to “Press Ctrl+Alt+DELETE to Log on”, and in which Logonui.exe will ask the user for his credentials.
Startup process and session information(Click the image for a larger view)


Credential Providers
Even the logon architecture is changed on Windows Vista. On previous versions of Windows, the Winlogon process loaded the Graphical Identification and Authentication (GINA) DLL specified in the registry to display a logon UI that asked users for their credentials. Unfortunately, the GINA model suffers from several limitations, including the fact that only one GINA can be configured, writing a complete GINA is difficult for third parties, and custom GINAs that have non-standard user interfaces change the Windows user experience.
Instead of a GINA, Windows Vista uses the new Credential Provider architecture. Winlogon launches a separate process, the Logon User Interface Host (Logonui.exe), that loads credential providers that are configured in HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\Currentversion\Authentication\Credential Providers. Logonui can host multiple credential providers concurrently; in fact, Windows Vista ships with interactive (Authui.dll) and smartcard (Smart-cardcredentialprovider.dll) providers. To ensure a uniform user experience, LogonUI manages the user interface that is displayed to end users, but it also allows credential providers to specify custom elements like text, icons, and edit controls.

Delayed-Autostart Services
If you've ever logged onto a Windows system immediately after it starts, you've probably experienced delays before your desktop is fully configured and you can interact with the shell and any applications you launch. While you're logging on, the Service Control Manager is starting the many Windows services that are configured as automatic start services and therefore activate at boot time. Many services perform CPU and disk-intensive initializations that compete with your logon activities. To accommodate this, Windows Vista introduces a new service start type called delayed automatic start, which services can use if they don't have to be active immediately after Windows boots.
The Service Control Manager starts services configured for delayed automatic start after the automatic-start services have finished starting and it sets the priority of their initial thread to THREAD_PRIORITY_LOWEST. This priority level causes all the disk I/O the thread performs to be Very Low I/O priority. After a service finishes initializing, the Service Control Manager sets its priority to normal. The combination of the delayed start, low CPU and memory priority, and background disk priority greatly reduce interference with a user's logon. Many Windows services, including Background Intelligent Transfer, Windows Update Client, and Windows Media® Center, use the new start type to help improve the performance of logons after a boot.

Shutdown
A problem that's plagued Windows service writers is that during a Windows shutdown they have, by default, a maximum of twenty seconds to perform cleanup. Versions of Windows prior to Windows Vista haven't supported a clean shutdown that waits for all services to exit because a buggy service can hold up a shutdown indefinitely. Some services, like those that have network-related shutdown operations or have to save large amounts of data to disk, might require more time and so Windows Vista allows a service to request pre-shutdown notification.
When Windows Vista shuts down, the Service Control Manager first notifies those services asking for pre-shutdown notification. It will wait indefinitely for these services to exit, but if they have a bug and don't respond to queries, the Service Control Manager gives up and moves on after three minutes. Once all those services have exited or the timeout has expired, the Service Control Manager proceeds with legacy-style services shutdown for the rest of the services. The Group Policy and Windows Update services register pre-shutdown notification in a fresh Windows Vista installation.
The Group Policy and Windows Update services also use another Windows Vista services feature: shutdown ordering. Services have always been able to specify startup dependencies that the Service Control Manager honors to start services in an order that satisfies them, but until Windows Vista they have been unable to specify shutdown dependencies. Now services that register for pre-shutdown notification can also insert themselves into the list stored at HKLM\System\CurrentControlSet\Control\PreshutdownOrder and the Service Control Manager will shut them down according to their order. See the sidebar "Identifying a Delayed-Autostart and Pre-Shutdown Service" for more on these services.

Power Management
Sleep and hibernate are other forms of shutdown, and buggy power management in drivers and applications has been the curse of road warriors since Windows 2000 introduced power management to the Windows NT®-based line of Windows operating systems. Many users have expected their laptop system to suspend or hibernate when they closed the lid before embarking on a trip, only to arrive at their destination with a hot carrying case, a dead battery, and lost data. That's because Windows has always asked device drivers and applications for their consent to change power state and a single unresponsive driver or application could prevent a transition.
In Windows Vista, the kernel's Power Manager still informs drivers and applications of power-state changes so that they can prepare for them, but it no longer asks for permission. In addition, the Power Manager waits, at most, 20 seconds for applications to respond to change notifications, rather than the two minutes it waited on previous versions of Windows. As a result, Windows Vista users can be more confident that their systems are honoring hibernations and suspends.

Next Up
As mentioned earlier, this is the second installment in a three-part series. The first part covered Windows Vista kernel improvements in the areas of I/O and processes. This time, I looked at Windows Vista enhancements in memory management, startup, and shutdown. Next time, I'll conclude the series by describing changes to the kernel in the areas of reliability and security.
Identifying a Delayed-Autostart and Pre-Shutdown Service
The built-in SC command is updated in Windows Vista to show services configured as delayed autostart services:
Using SC to display start type(Click the image for a larger view)
Unfortunately, the SC command does not report services that have requested pre-shutdown notification, but you can use the PsService utility from Sysinternals to see that a service accepts pre-shutdown notification:
Viewing pre-shutdown status(Click the image for a larger view)


Mark Russinovich is a Technical Fellow at Microsoft in the Platform and Services Division. He is a coauthor of Microsoft Windows Internals (Microsoft Press, 2004) and a frequent speaker at IT and developer conferences. He joined Microsoft with the recent acquisition of the company he cofounded, Winternals Software. He also created Sysinternals, where he published the Process Explorer, Filemon, and Regmon utilities.
© 2008 Microsoft Corporation and CMP Media, LLC. All rights reserved; reproduction in part or in whole without permission is prohibited.

Best
John
#57
razor
Max Output Level: -59.5 dBFS
  • Total Posts : 1557
  • Joined: 2004/05/10 16:53:27
  • Location: Irvine, CA
  • Status: offline
RE: How musch RAM will Vista 32 use? 2008/12/08 19:04:39 (permalink)
ORIGINAL: Chris in Indy

When you do a first time install of Vista, do you get a choice of a 32 or 64 bit operating system?

Also ........... has anybody in this group had any experience with Alienware computers?

Alienware? Nice to look at. Designed for gamers. Owned by Dell. Horrible service. Overpriced.

Stephen Davis
 
Cakewalk by Bandlab
Windows 7 Pro 64-Bit
ADK DAW - (out of business 2018)
Intel i7 4930K CPU
Core i7 SB-E MOBO
16 GB DDR3 RAM
7 TB Storage
Layla 3G SoundCard (11.5 ms Roundtrip Latency)
UAD-2 DSP
WaveLab 8 Pro 64-bit 
Sound Forge 10 Pro
#58
Page: < 12 Showing page 2 of 2
Jump to:
© 2024 APG vNext Commercial Version 5.1