Results 1 to 11 of 11

Thread: 4GB of Ram - Yet usage is only around 1gb and page file is still used...

  1. #1
    Registered+
    Join Date
    Feb 2007
    Posts
    35
    Thanks
    0
    Thanked
    0 times in 0 posts

    4GB of Ram - Yet usage is only around 1gb and page file is still used...

    Hey,

    I got myself another 2gb ddr2 ram for my PC in hoping it would stop Vista ever using a page file on the hard drive in the idea things would speed up even more (and for the ability to multitask over dual monitors and eventually quad monitors)

    One thing I noticed now with Vista is that the ram usage is usually around 1000mb-1200mb yet looking in Task Manager the page file shows as 1700mb / 8400 mb which I assume means its using 1.7gb of a total available 8.4gb.

    What I dont get is why if theres 3gb of ram currently available, why does it even bother using the page file when theres tons of ram available for it to use?

    Is there any tweaks or ways to make Windows effectivly use the ram available to it?

  2. #2
    Banhammer in peace PeterB kalniel's Avatar
    Join Date
    Aug 2005
    Posts
    31,036
    Thanks
    1,877
    Thanked
    3,378 times in 2,715 posts
    • kalniel's system
      • Motherboard:
      • Gigabyte Z390 Aorus Ultra
      • CPU:
      • Intel i9 9900k
      • Memory:
      • 32GB DDR4 3200 CL16
      • Storage:
      • 1TB Samsung 970Evo+ NVMe
      • Graphics card(s):
      • nVidia GTX 1060 6GB
      • PSU:
      • Seasonic 600W
      • Case:
      • Cooler Master HAF 912
      • Operating System:
      • Win 10 Pro x64
      • Monitor(s):
      • Dell S2721DGF
      • Internet:
      • rubbish
    Vista precaches into RAM. This is a good thing.

  3. #3
    radix lecti dave87's Avatar
    Join Date
    Sep 2005
    Location
    England
    Posts
    12,806
    Thanks
    657
    Thanked
    931 times in 634 posts
    • dave87's system
      • Motherboard:
      • Asus
      • CPU:
      • i5 3470k under Corsair H80 WC
      • Memory:
      • 8gb DDR3
      • Storage:
      • 240gb SSD + 120gb SSD
      • Graphics card(s):
      • Asus HD7950
      • PSU:
      • XFX 600w Modular
      • Case:
      • Lian Li PC-A05FNB + Acoustipack
      • Operating System:
      • Windows 10 Pro
      • Monitor(s):
      • 2x Dell S2309W (1920x1080)
      • Internet:
      • BT Infinity Option 2
    What Kalniel said.

    Otherwise try turning off the pagefile, see what affect that has on system performance/memory usage..

  4. #4
    Registered+
    Join Date
    Feb 2007
    Posts
    35
    Thanks
    0
    Thanked
    0 times in 0 posts
    Quote Originally Posted by kalniel View Post
    Vista precaches into RAM. This is a good thing.
    Sorry for asking this, but what exactly do you mean by this?

    Forgive me for asking this if its something simple and easy, I just dont understand

  5. #5
    Administrator Moby-Dick's Avatar
    Join Date
    Jul 2003
    Location
    There's no place like ::1 (IPv6 version)
    Posts
    10,665
    Thanks
    53
    Thanked
    384 times in 313 posts
    Pagefiles isn't always a bad thing - the server I run use 10Gb + memory and still run a page file of the recommended 1.5 phys memory size
    my Virtualisation Blog http://jfvi.co.uk Virtualisation Podcast http://vsoup.net

  6. #6
    Does he need a reason? Funkstar's Avatar
    Join Date
    Aug 2005
    Location
    Aberdeen
    Posts
    19,874
    Thanks
    629
    Thanked
    962 times in 813 posts
    • Funkstar's system
      • Motherboard:
      • Gigabyte EG45M-DS2H
      • CPU:
      • Intel Core2Quad Q9550 (2.83GHz)
      • Memory:
      • 8GB OCZ PC2-6400C5 800MHz Quad Channel
      • Storage:
      • 650GB Western Digital Caviar Blue
      • Graphics card(s):
      • 512MB ATI Radeon HD4550
      • PSU:
      • Antec 350W 80+ Efficient PSU
      • Case:
      • Antec NSK1480 Slim Mini Desktop Case
      • Operating System:
      • Vista Ultimate 64bit
      • Monitor(s):
      • Dell 2407 + 2408 monitors
      • Internet:
      • Zen 8mb
    As i understand it, Windows sends stuff out to page file that it doesn't need, but has to keep loaded. This means there is more physical ram for things that do need it and for dynamic caching. This cache won't appear in Task Manager.

    Apparently Vista is far more aggressive in the amount of memory it uses for caching. It basically tries to use every last piece of memory it can get it's grubby little hands on. The memory manager it pretty sophisticated so it will decide it is more important to cache a certain block of data than to have this other piece of data in memory. It can't unload that other data, so it sends it to the page file.

    perhaps that is over simplifying things, but as i said, that's how i understand it. If anyone else has a better (or indeed more accurate) description, then feel free to correct me

  7. #7
    Registered User
    Join Date
    May 2006
    Location
    London, UK
    Posts
    6
    Thanks
    0
    Thanked
    0 times in 0 posts
    Last I read from a reliable source was that windows will page. Period. No matter what you try and do to stop it.

    Best bet is to have 1.5 times physical ram as swap or just tell vista to manage it and be done with it. Paging isn't going to kill you on a system with 2+GB ram.

    Edit: Since I don't meet the requirement for posting urls. Head over to OSNN.net and click articles on the main menu, then guides, and understanding virtual memory.

  8. #8
    Gentoo Ricer
    Join Date
    Jan 2005
    Location
    Galway
    Posts
    11,048
    Thanks
    1,016
    Thanked
    944 times in 704 posts
    • aidanjt's system
      • Motherboard:
      • Asus Strix Z370-G
      • CPU:
      • Intel i7-8700K
      • Memory:
      • 2x8GB Corsiar LPX 3000C15
      • Storage:
      • 500GB Samsung 960 EVO
      • Graphics card(s):
      • EVGA GTX 970 SC ACX 2.0
      • PSU:
      • EVGA G3 750W
      • Case:
      • Fractal Design Define C Mini
      • Operating System:
      • Windows 10 Pro
      • Monitor(s):
      • Asus MG279Q
      • Internet:
      • 240mbps Virgin Cable
    Windows has always needlessly paged memory, this is nothing new, drop the pagefile size and you'll force it to keep things in ram.
    Quote Originally Posted by Agent View Post
    ...every time Creative bring out a new card range their advertising makes it sound like they have discovered a way to insert a thousand Chuck Norris super dwarfs in your ears...

  9. #9
    Registered User
    Join Date
    May 2006
    Location
    London, UK
    Posts
    6
    Thanks
    0
    Thanked
    0 times in 0 posts
    I don't think its needless. It'd be somewhat akin to carrying your bookshelf everywhere because you might need a book sometime and calling people who leave their bookshelves at home silly.

    Why keep unused data in ram when that ram could be available for disk caching or active foreground applications like games or other such ram intensive applications?

  10. #10
    Registered User
    Join Date
    May 2006
    Location
    London, UK
    Posts
    6
    Thanks
    0
    Thanked
    0 times in 0 posts
    Oh and it's just occured to me that XP users complain about XP keeping data out of RAM and then complaining that Vista keeps too much data in ram.... Hypocritical I think

  11. #11
    Banhammer in peace PeterB kalniel's Avatar
    Join Date
    Aug 2005
    Posts
    31,036
    Thanks
    1,877
    Thanked
    3,378 times in 2,715 posts
    • kalniel's system
      • Motherboard:
      • Gigabyte Z390 Aorus Ultra
      • CPU:
      • Intel i9 9900k
      • Memory:
      • 32GB DDR4 3200 CL16
      • Storage:
      • 1TB Samsung 970Evo+ NVMe
      • Graphics card(s):
      • nVidia GTX 1060 6GB
      • PSU:
      • Seasonic 600W
      • Case:
      • Cooler Master HAF 912
      • Operating System:
      • Win 10 Pro x64
      • Monitor(s):
      • Dell S2721DGF
      • Internet:
      • rubbish
    Quote Originally Posted by LordOfLA View Post
    Oh and it's just occured to me that XP users complain about XP keeping data out of RAM and then complaining that Vista keeps too much data in ram.... Hypocritical I think
    Not really - people complain that XP pages to the hard drive, and the complaint here about Vista is that it's also putting data in the pagefile in the hard drive.

    Funkster explains pre-caching pretty well. Basically the idea is that it's so quick to flush data from RAM you might as well fill it with things you might need, because loading things from the hard drive into RAM isn't as quick. If you need to put something else into RAM that isn't there then you just flush as much room as you need. Linux has been using a similar system for years.

    Regarding page files, first thing to note is that 'page file usage' under task manager isn't quite accurate (under xp at least) - it's reporting the window of accessible memory that's being used - so this includes physical RAM as well. Actually separating out usage of the virtual memory on the hard drive is trickier. Secondly windows will always have some files paged to the hard drive - in Vista's case stuff it thinks it won't need immediately, but still wants to cache because it's quicker than searching the hard drive for the file.

    What does this mean? Well because XP doesn't have this pre-caching ability (to the same extent at least) it tends to think stuff that's in RAM needs to stay in RAM, and it's a bit paranoid about keeping space in physical RAM so can be a bit virtual memory happy. There are some simple registry tweaks to adjust this behavior and indeed it's usually quite happy running without a specified page file as well. Now Vista with it's pre-caching has a different philosophy - flood the physical RAM and maybe use a bit of page file as well. However the consequences of doing so are not negative in Vista, as it's quite happy to chuck stuff out of physical RAM to make room for what you are running. End result - more stuff you're running will be running from physical RAM, and less stuff will need to be loaded up from the hard drive.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. BF2 Page FIle Usage :s
    By muddyfox470 in forum Gaming
    Replies: 3
    Last Post: 02-12-2006, 06:38 PM
  2. 2GB of RAM vs 1GB of RAM
    By latrosicarius in forum PC Hardware and Components
    Replies: 19
    Last Post: 19-06-2006, 02:47 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •