Re: Keeping the swapfile in a separate partition

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Tom (noway_at_nothere.com)
Date: 12/26/04


Date: Sun, 26 Dec 2004 12:10:18 -0500


"Leythos" <void@nowhere.lan> wrote in message news:MPG.1c38a409305bed00989d7e@news-server.columbus.rr.com...
> In article <ul8ts05r5utkgcv8d170amgo0bkh36rcp3@4ax.com>,
> alexn.mvpdts@ntlworld.delete.com says...
>> alegator wrote:
>>
>> >Thanks everyone for their answers. I currently have 2Gb of RAM and have the
>> >paging file assigned to a MAX and MIN values of 4096MB. Is this fine?.
>>
>> Very wasteful of disk space. You will hardly be using the file at all,
>> other than as a place to assign pages not yet brought into use after
>> programs have asked for the allocation (and many ask for much more than
>> they need). I would set initial 100 and max maybe 1000 to cover that
>> point. The idea that page file should be a multiple of RAM - *any*
>> multiple - is plain wrong and makes no sense at all in a single user
>> system like windows. It is an old rule of thumb from Multi-user Unix,
>> where it did make sense
>
> I run a computer in a single user environment and edit large graphics
> files all the time. When the swap file is set to vary between X & Y the
> computer takes ages to INCREASE from X to Y. With the swap file setup on
> another physical drive, and set to 2 X RAM, it made a LARGE difference
> in performance. With 2GB of RAM, the swap, on a single drive system,
> should be set to about 1GB fixed size, in an unfragmented space, to
> allow for anticipated use of the swap area - if the user is running
> memory intensive apps (which 2g of RAM might indicate), then a 2gb or
> 4gb fixed size swap area might be reasonable.

How much physical RAM do you have? It still is a bad idea, even on a separate physical drive to have the PF setup at even the same initial size as the actual physical RAM available, unless you don't mind wasting space. I have 2g of RAM, with the PF on a separate physical drive set @150min/900max. I can see that my swap file is only using 7mgs of actual physical memory when I am running Windows, even using a lot of normal apps. I can edit a 650mg WAV file in Sound Recorder (which will take oodles of memory), and my PF usage only goes up to 11mgs usage, and I still have 1.2gs of RAM to be used when needed! As you can see, the swap file really didn't come into play.

>
> My news reader will use 1GB of ram from time to time, it's amazing at
> how much RAM non-business apps can use.

I would get another NR if I were you; that doesn't sound correct. I use OE, and the biggest it ever got was 25-30mgs!



Relevant Pages

  • Re: running Linux with no swap space (but lots of RAM)
    ... |>| It's a statement of fact: You are advocating to save disk space at the ... |>| expense of RAM. ... what would have to be running to make use of 256 GB of swap? ... |>A page that is dirty and would get swapped out can instead take up RAM ...
    (comp.os.linux.development.system)
  • Re: Keeping the swapfile in a separate partition
    ... > Very wasteful of disk space. ... I run a computer in a single user environment and edit large graphics ... When the swap file is set to vary between X & Y the ... With 2GB of RAM, the swap, on a single drive system, ...
    (microsoft.public.windowsxp.general)
  • Re: running Linux with no swap space (but lots of RAM)
    ... |>> to dirty, but inactive pages associated with some applications. ... | It's a statement of fact: You are advocating to save disk space at the ... | expense of RAM. ... what would have to be running to make use of 256 GB of swap? ...
    (comp.os.linux.development.system)
  • Re: Keeping the swapfile in a separate partition
    ... I just purchased a 120 GB HD for 33 cents a GB. ... You guys are debating wheater to use 10, 15 or 25 cents worth of disk space ... Make it 1.5X the RAM and be done with it. ... When the swap file is set to vary between X & Y the ...
    (microsoft.public.windowsxp.general)
  • Re: Linux: how to reclaim memory
    ... that process ate up most of my memory plus some SWAP(about ... memory so that I don't have to use SWAP?? ... use the available RAM as disk cache than to being unneeded application ... allocate swap area larger than amount of RAM. ...
    (comp.unix.shell)