ORIGINAL: mwd
Ya' know Jack when you stated, via implication, that anyone that thought the pagefile might actually be a good thing was full of crap I pretty much took that as a global statement. Not so much directed at me as you had just included maybe dozens, hundreds, thousands, heck maybe hundreds of thousands of others in this revelation.
Wasn't so personal then, however in your last post you pretty well zeroed in.
let me clarify, because i think you got me wrong:
the page file is a good thing unless you are concerned only with performance. i did say as much in my last post.
i don't have anything personal against anyone who disagrees that turning off the page file improves performance given sufficient RAM. when i say "full of crap" i mean their argument. you see, there are a few simple facts which everyone can agree with, and the only logical conclusion is that given sufficient RAM it is better, from a performance standpoint, to turn off the page file. that is my only argument here, which i will fully explain later.
Not a problem. I got started in computers when DOS was in the 2's and there was no such thing as a major in computing. Now I work on them 8 hours a day and play with them another 4. Seven days a week... not five. But of course that means squat.
you know, every time i try to validate my credentials, it's a mistake.
invariably, the other person has spent more time working with computers or whatever than i have...
i'm sure there are a lot of things you could run rings around me on regarding computers. windows virtual memory and page file is not one of them. sorry. there's nothing you have said about it that could lead me to believe otherwise, in fact a couple things you've said have convinced me that windows memory management isn't something you understand completely. i don't know how else to put it, i'm not good at being nice.
I look at the original post and realize how far the topic has strayed. I re-read your post and must say there's a bunch I agree with... and then a bunch I don't.
Normally I would say "ok, there is a debate" or "here is a discussion" but I don't see this thread (between you and I) going in that direction.
Seems pointless when, in your opinion, the people that conceived, designed, implemented and explained the operating system you use... are full of crap.
the people aren't but their opinions on the page file stem from a financial need to sell software.
if you don't have to buy more RAM to upgrade windows, you will be more likely to upgrade windows. it's a simple economic fact, and so anything coming out of microsoft will naturally be favorably slanted in their own direction. do you think they'll say that the page file sucks? of course not! will they say their memory manager isn't as good as linux? of course not!
I mean, really, what could I offer?
to be honest? in this discussion, there's nothing you can say to me that will change my mind. i know that the page file hinders performance like i know that the sun rises in the east and sets in the west. i know that it can be turned off without causing problems because i've done it.
ORIGINAL: jacktheexcynic ~ i'm sorry, but i don't think you know what you are talking about.
No apology necessary... can't be the first time I've heard that... I've been married before and have a kid.
You seem to be blunt so please allow me the same.
It's not hard for me to admit error, especially from the comfort of my own home, to a bunch of people that don't know me. I just look at it as learning something new. Nothing lost and everything to gain. I read your views, that you don't have the time to validate, and it's sure hard to take them as anything but your own opinion or theories. Your validation is you have diploma's on your wall and some knowledge of Linux. Thing is, where we are identical, I hate misinformation too and I don't believe everything I read. Including forum post.
they
are my opinions and theories. i've tested them at home and know they are fact, at least in my own environment. maybe my copy of windows is special but i doubt it, so i feel that extending those opinions and theories to other windows XP pro operating systems is valid. since windows 2000 and vista aren't fundamentally different in terms of memory management i feel pretty confident in extending belief in my theory to those OSes as well.
If I tell someone their full of crap I usually feel compelled to offer some tangible evidence that lends credence to, or concurs with, my observation.
what tangible thing would you like me to do? i could fill up this thread with screenshots but that wouldn't prove anything. i could set up a web cam on my computer at home, turn off the page file, buy some benchmarking software, but then i think my wife would probably divorce me.
In lack thereof (from you) I even sought this information out, from one end of the internet to the other, that might support this pagefile theory of yours.
I just can't find it. Can you send me a link?
i'd send you a link to this thread but i don't think you'd find it funny. =) seriously though, what makes someone else's opinion better than mine? do you think microsoft is going to agree with me? where do you think everyone else gets their opinions from? some guy on the internet, or microsoft? it's very unlikely you'll find anyone to agree with me who also has the tangible evidence you seek. in lieu of that, i offer you these simple facts:
1. the windows virtual memory manager sees the page file and physical memory combined as virtual memory. the two are interchangeable from a virtual memory standpoint.
2. the page file is stored on disk.
3. disk latency and access time are much slower than RAM.
4. windows does know the difference between RAM and the page file, and swaps out seldom used pages of memory to the page file.
based on these four facts (and if you disagree with any of them, feel free to research them), it is clear to me at least that
maximum performance can be gained by turning off the page file.
the only question left is, will windows still use the page file given sufficient physical RAM? the answer is yes, and i've proven it to myself by trying it out on my own computer. again, some facts (which for the most part you have to believe that i'm telling the truth or not):
1. i have 1GB of RAM on my computer.
2. the "commit charge" number in task manager refers to all OS and programs in memory. (it does not include the system cache, which is swapped out to disk as needed and not necessarily part of this discussion.)
3. during the test i conducted, the commit charge was approximately 360MB.
4. pfmon.exe (available with the windows 2003 resource kit) determined that firefox had several hard page faults during operation (i would say less than two minutes of usage, but i didn't have a stopwatch).
so with an overhead of more than 60%, windows still hits the page file
on the currently active process. bearing this in mind, how can someone argue that using the page file doesn't affect performance?
finally, i add these last facts in light of the link you provided regarding DAWs and virtual memory, which you can verify by research if you don't believe me:
1. each program in windows is told it has 4GB of memory to work with, but the windows virtual memory manager actually decides how to allocate real memory (physical RAM + page file) to those programs. this method was devised to protect important sections of memory (like physical devices and the OS kernel) from idiot programs.
2. the windows virtual memory manager alone decides what pages of RAM get sent to the page file for all programs.
3. the programs themselves simply ask for memory and have no idea where it will actually come from.
this means that sonar or any other DAW has no way to say "i want to use physical RAM only." it simply cannot happen, and what will happen is that the windows virtual memory manager
will make sonar swap to disk if it feels like it. again, my purpose here isn't to educate, i simply don't have time to find references for all these things as quite a lot of them stem from the senior level course i had on operating systems, over half of which was spent discussing virtual memory management. i suppose if you dig through the internet you can find support for each of these facts or try it out for yourself. i hope that's what you decide to do, and if you actually find out that i'm wrong, and can explain it logically to me, i'll gladly change my mind. if i don't have to buy 4GB of RAM for my next DAW i can spend that money on something else.
i honestly do not mean to insult anyone here, and "full of crap" was definitely a bad choice of words so i apologize for that. misinformed is a better way to put it.