rec.autos.simulators

Virtual Memory Settings

Carl Ribbegaard

Virtual Memory Settings

by Carl Ribbegaard » Wed, 21 Aug 2002 00:45:26

You misinterpret me.
 I'm suggesting that if you have 384Mb ram, and if you do work that requires
 you to use like 600Mb Ram, you need more ram. Comprende?

 The swap-file is used when the Ram cannot hold any more data.
From the WinXP helpfiles:
-------------------------------------
virtual memory
Temporary storage used by a computer to run programs that need more memory
than it has. For example, programs could have access to 4 gigabytes of
virtual memory on a computer's hard drive, even if the computer has only 32
megabytes of RAM. The program data that does not currently fit in the
computer's memory is saved into paging files.
-------------------------------------

As long as you use only ram for your applications, the PC will run smooth.
When you run out of ram, like if you have 128 mb ram and run WinXP along
with OutlookXP, then the PC is getting seriously slow.
If you have 512 mb, I do, and you never reach over 380 MB allocated memory
at an instance, then you do not need any virtual memory (aka swap-cache).

The virtual memory is only used for freeing up ram when the ram is full.

I hope this clears things out?

/Carl

rrevve

Virtual Memory Settings

by rrevve » Wed, 21 Aug 2002 01:00:15


>You misinterpret me.
>I'm suggesting that if you have 384Mb ram, and if you do work that requires
>you to use like 600Mb Ram, you need more ram. Comprende?

>The swap-file is used when the Ram cannot hold any more data.
>From the WinXP helpfiles:

 ...but that's not what you said, sir. You weren't referring to that
at all. Since you snipped ALL of your prior embarrasing comments
from your reply, let's review, shall we?

You said:


   :Newsgroups: rec.autos.simulators
   :Subject: Re: Virtual Memory Settings
   :Date: Mon, 19 Aug 2002 07:06:27 +0200

   :
   :Why would you want a cache-file that big?
   :I mean swapping that amount data from the memory, would make the PC so
   :slow...

You are stating that big swapfiles slow down PC's, and stating
that swapfiles are swapped into memory in their entirety.

That's bullshit, of course. Here's a tip for you. Look up the words
'paging', 'paging file',  'IBM 360', 'virtual memory' and 'thrash'.

   :If you are a simracer and has >=384 RAM you need no swap cache.

You are stating that you need no swapfile if you have 384mb of RAM

That, too, is more silliness. Real bad advice, sir.

Comprende, Carl?

Hey Carl, what would you say if I told you that I was on the
development team that originally INVENTED the concept of
virtual memory .. a.k.a. swapfiles? You wouldn't believe it
would you, Carl-ster.

Some advice: Quit while you're behind.





>> That's really cool, Chris, but you're not trying to tell us,
>> as Mr. Ribbegaardh did, that a 384MB user doesn't
>> need a swapfile ... are you?

>> Also, you don't agree with  Mr. Ribbegaardh that
>> having a large swapfile uses more RAM ... do you?

>> I hope not.

>>  :)

Carl Ribbegaard

Virtual Memory Settings

by Carl Ribbegaard » Wed, 21 Aug 2002 01:25:31

Then I'd be very impressed.
What O/S were you developing?

I'm sorry if I'm wrong. My experiences with my own PC is that all my
programs is running stable with 0MB paging size for all drives.
I'm using WinXP and 512 Mb Ram.
I'm using it for simracing, occasional programming, websurfing and graphics
editing with gimp.
I've been running 400Mb fixed swap for years, but since XP there's an option
to completely disable it.
I will continue to run 0 virtual. :-)

/Carl

rrevve

Virtual Memory Settings

by rrevve » Wed, 21 Aug 2002 01:31:48


>> Hey Carl, what would you say if I told you that I was on the
>> development team that originally INVENTED the concept of
>> virtual memory .. a.k.a. swapfiles?

>Then I'd be very impressed.
>What O/S were you developing?

I worked in labs at Palo Alto, Yorktown Heights, Kingston,
Rochester, Menlo Park, and elsewhere, for IBM Corp. as a
developer in various System 360/370, System/7, System/38,
and AS/400 projects. Path length, parsing, queueing, design,
error management. I also worked in technical marketing, and
Systems Engineering.

I'm retired after 30 years.

That's great.

Cool.

twenty-fou

Virtual Memory Settings

by twenty-fou » Wed, 21 Aug 2002 01:37:19

On Mon, 19 Aug 2002 17:39:03 +0200, "Carl Ribbegaardh"


>I'm suggesting that if you have 384Mb ram, and if you do work that requires
>you to use like 600Mb Ram, you need more ram. Comprende?

no matter how much memory you have, without a cache file windows
will run 'slower'.  even though you can disable it, the cache file is an
inherent part of the operating system.  windows is made to use a
cache file.  using a cache file frees up more RAM for your programs,
games, NR2000, etc.  also, windows uses the cache file to perform
'basic' operations like file management.  again, no matter how much
RAM you have, windows runs better with a cache file.

you are very wrong.  you really shouldnt be giving advice on this
matter.

twenty-fou

Virtual Memory Settings

by twenty-fou » Wed, 21 Aug 2002 01:41:05

you can 'completely' disable it in 95 and 98 too but that wont give
you the best performance.

On Mon, 19 Aug 2002 18:25:31 +0200, "Carl Ribbegaardh"


>I've been running 400Mb fixed swap for years, but since XP there's an option
>to completely disable it.
>I will continue to run 0 virtual. :-)

>/Carl

Carl Ribbegaard

Virtual Memory Settings

by Carl Ribbegaard » Wed, 21 Aug 2002 01:52:14

Why would I want to free up memory by storing it onto the disk, when I have
much more than 100Mb free ram?
To me it's obvious that I'd want to use ram rather than disk, if there is
ram memory left.

Maybe I'm dead wrong here?

I'm curious about the file-ops you talk about? That is something I'm not
aware of. Could you point me to some current reference-litterature? I've
been searching the MSDN but I cannot find the file-operations you mention.

Again I'm sorry if I'm giving someone bad advices. That is something I do
not want to do.

/Carl

rrevve

Virtual Memory Settings

by rrevve » Wed, 21 Aug 2002 02:10:49


>Why would I want to free up memory by storing it onto the disk, when I have
>much more than 100Mb free ram?
>To me it's obvious that I'd want to use ram rather than disk, if there is
>ram memory left.

Carl, do you monitor your system's memory/file paging needs every
few microseconds?

Windows does.

Hey, it can work under some limited circumstances, but it is
POOR advice that you're spreading around.

When a virtual-memory enabled operating system, such as Windows
gets a file/record request, it automatically -assumes- that the file
fragment is available in RAM. If it isn't, it issues a 'page-fault' and
'pages out' to the swapfile to find what it needs. If it is there it
retrieves it. If not, it issues a disk read to disk controller(s), which in
turn request the file open/fragment through the FAT system, and
eventually to the physical file.

It's cheaper, performance-wise, to use RAM, or the swapfile to
get a data fragment ('page'), than to deal with the hardware
and normal FAT file system of the computer.

Your problem is that you have it in your head that the -entire-
swapfile is brought into RAM. You stated that in your prior post.
That's ***and I pointed that out to you in my earlier reply,
but you are apparently oblivious to new knowledge.

From your comments, you have no clue as to how a VM paging
system (swapfile) works, and have decided to not use one. That's cool.
Just don't post your misguided theories about VM here and not
expect to be challenged on their voracity.

Then learn more before recommending that people not
use a swapfile.

FYI, the largest/fastest systems in the world with incredible
amounts of 'RAM' use Virtual Memory.

All the time.

twenty-fou

Virtual Memory Settings

by twenty-fou » Wed, 21 Aug 2002 02:20:55

i run several programs (with large footprints) at the same time.  the
graphics program i use needs 200megs just to start up.  i'm now using
xp pro but win95/98 can only make use of maybe 192megs of RAM at
best.

i've been running my own pc repair/ web design service for over 9 years
now and i know a little about this.  please keep reading MSDN and, 'for
now', please avoid giving technical computer advice. :\

On Mon, 19 Aug 2002 18:52:14 +0200, "Carl Ribbegaardh"


>Why would I want to free up memory by storing it onto the disk, when I have
>much more than 100Mb free ram?

twenty-fou

Virtual Memory Settings

by twenty-fou » Wed, 21 Aug 2002 02:37:56

exactly.  even a pc with a gig of ram will be more stable and efficient
with virtual memory turned on.  turning off your VM is just plain bad
advice.



Carl Ribbegaard

Virtual Memory Settings

by Carl Ribbegaard » Wed, 21 Aug 2002 04:20:10

There is imo no need for me to monitor it that often. Peak memory usage
is easily read from the system ;-)

Doesn't that imply that it has to be swapped out in the first place?
If there is always 100-300mb ram avaliable, why wouldn't the fragment be in
memory?
If you are talking about a fileserver, I'm completely with you, but this is
single user gameing-machines we talk about, with normally a maximum uptime
of 10 hours.

Of course the swapfile is positioned in the fastest sections of the disk,
but Windows (Xp) does the same with all frequently used programs.

No, I do not think that. It was a misunderstanding, probably due to my bad
english.
I said:
"Why would you want a cache-file that big?
I mean swapping that amount data from the memory, would make the PC so
slow... "

With that I mean that if you fill up your memory, maybe with a huge bitmap
or a wavefile, that is so big that it needs to be swapped out to disk, the
PC will be a pain to work with. I do not mean that the swapfile is placed
into ram, all at once. Obviously the disc-cache is used to put chunks of
data to free ram. When the cached data is needed, the current ram needs to
be cached to disk (if the ram is full), before the cached data can be moved
to ram.

I think I was unclear in my statement.
My bad.
I've hope I've explained it better above?

I do not doubt it, but it's not the same hardware as we are using. Neither
the same apps.

rrevve

Virtual Memory Settings

by rrevve » Wed, 21 Aug 2002 05:04:06


>> Carl, do you monitor your system's memory/file paging needs every
>> few microseconds?

>> Windows does.

>There is imo no need for me to monitor it that often. Peak memory usage
>is easily read from the system ;-)

>> >Maybe I'm dead wrong here?

>> Hey, it can work under some limited circumstances, but it is
>> POOR advice that you're spreading around.

>> >I'm curious about the file-ops you talk about? That is something I'm not
>> >aware of. Could you point me to some current reference-litterature? I've
>> >been searching the MSDN but I cannot find the file-operations you
>mention.

>> When a virtual-memory enabled operating system, such as Windows
>> gets a file/record request, it automatically -assumes- that the file
>> fragment is available in RAM. If it isn't, it issues a 'page-fault' and
>> 'pages out' to the swapfile to find what it needs. If it is there it
>> retrieves it. If not, it issues a disk read to disk controller(s), which
>in
>> turn request the file open/fragment through the FAT system, and
>> eventually to the physical file.

>Doesn't that imply that it has to be swapped out in the first place?
>If there is always 100-300mb ram avaliable, why wouldn't the fragment be in
>memory?
>If you are talking about a fileserver, I'm completely with you, but this is
>single user gameing-machines we talk about, with normally a maximum uptime
>of 10 hours.

>> It's cheaper, performance-wise, to use RAM, or the swapfile to
>> get a data fragment ('page'), than to deal with the hardware
>> and normal FAT file system of the computer.

>Of course the swapfile is positioned in the fastest sections of the disk,
>but Windows (Xp) does the same with all frequently used programs.

>> Your problem is that you have it in your head that the -entire-
>> swapfile is brought into RAM. You stated that in your prior post.
>> That's ***and I pointed that out to you in my earlier reply,
>> but you are apparently oblivious to new knowledge.

>No, I do not think that. It was a misunderstanding, probably due to my bad
>english.
>I said:
>"Why would you want a cache-file that big?
>I mean swapping that amount data from the memory, would make the PC so
>slow... "

>With that I mean that if you fill up your memory, maybe with a huge bitmap
>or a wavefile, that is so big that it needs to be swapped out to disk, the
>PC will be a pain to work with. I do not mean that the swapfile is placed
>into ram, all at once. Obviously the disc-cache is used to put chunks of
>data to free ram. When the cached data is needed, the current ram needs to
>be cached to disk (if the ram is full), before the cached data can be moved
>to ram.

>> From your comments, you have no clue as to how a VM paging
>> system (swapfile) works, and have decided to not use one. That's cool.
>> Just don't post your misguided theories about VM here and not
>> expect to be challenged on their voracity.

>I think I was unclear in my statement.
>My bad.
>I've hope I've explained it better above?

>> >Again I'm sorry if I'm giving someone bad advices. That is something I do
>> >not want to do.

>> Then learn more before recommending that people not
>> use a swapfile.

>> FYI, the largest/fastest systems in the world with incredible
>> amounts of 'RAM' use Virtual Memory.

>> All the time.

>I do not doubt it, but it's not the same hardware as we are using. Neither
>the same apps.

Like I said, Carl, you are oblivious to actually learning
anything about this subject.

I'm through with you.

Carl Ribbegaard

Virtual Memory Settings

by Carl Ribbegaard » Wed, 21 Aug 2002 05:42:17

It might be to stupid to follow you here.
Isn't it so that the memory is paged to disk, in order to free physical ram?
If there is plenty avaliable physical ram, will it still page the memory?
If so, why?
If it is an algorithm that assumes my memory will be drained at some time,
and frees up memory just in case, would that be beneficial?

My expectation of my setup is that as long as I do not exceed 512mb
allocated ram, my system will run pretty fast.
If my o/s tries to allocate more than 512mb memory, I assume it will either
grind down to a halt, or show a bsod.

If I'm that far off, could you please point me to something I could read up
on?
It's not like I'm thinking you are wrong, I just want to know the facts
regarding the VM.
I guess I'm not seing the whole picture?

Carl Ribbegaard

Virtual Memory Settings

by Carl Ribbegaard » Wed, 21 Aug 2002 05:43:46

Correction from previous post:
"It might be to stupid to follow you here."
should read:
"It might be I'm to stupid to follow you here."

rec.autos.simulators is a usenet newsgroup formed in December, 1993. As this group was always unmoderated there may be some spam or off topic articles included. Some links do point back to racesimcentral.net as we could not validate the original address. Please report any pages that you believe warrant deletion from this archive (include the link in your email). RaceSimCentral.net is in no way responsible and does not endorse any of the content herein.