• HEXUS
  • HEXUS.tv
  • channel
  • gaming
  • lifestyle
  • trust
  • community
  • ESReality
  • HEXUS.community discussion forums

    Welcome to the HEXUS.community discussion forums forums.

    You are currently viewing our boards as a guest which gives you limited access to view most discussions and other features. By joining our free community you will have access to post topics, respond to polls and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

    Go Back   HEXUS.community discussion forums > HEXUS.help - buying advice & technical queries > HEXUS.hardware

    HEXUS.hardware Discuss everything hardware. Need to chat tech stuff or want to tell us about the stuff in your rig? Here’s your best bet! Add RSS Feed

    Reply
     
    LinkBack Thread Tools
    Old 22-02-2007, 05:37 PM   #1 (permalink)
    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?
    Snookieboy is offline   Reply With Quote
    Old 22-02-2007, 05:40 PM   #2 (permalink)
    Senior Member
     
    kalniel's Avatar
     
    Join Date: Aug 2005
    Posts: 12,581
    Thanks: 163
    Thanked 481 Times in 424 Posts
    kalniel's system
    Vista precaches into RAM. This is a good thing.
    kalniel is offline   Reply With Quote
    Old 22-02-2007, 05:41 PM   #3 (permalink)
    radix lecti
     
    dave87's Avatar
     
    Join Date: Sep 2005
    Location: Norwich (UEA), Essex Home :)
    Posts: 9,052
    Thanks: 109
    Thanked 279 Times in 170 Posts
    dave87's system
    View dave87's Twitter Profile
    What Kalniel said.

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


    ʎɐqǝ uo pɹɐoqʎǝʞ ɐ ʎnq ı ǝɯıʇ ʇsɐן ǝɥʇ sı sıɥʇ.
    dave87 is offline   Reply With Quote
    Old 22-02-2007, 06:00 PM   #4 (permalink)
    Registered+
     
    Join Date: Feb 2007
    Posts: 35
    Thanks: 0
    Thanked 0 Times in 0 Posts
    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
    Snookieboy is offline   Reply With Quote
    Old 22-02-2007, 06:05 PM   #5 (permalink)
    Administrator
     
    Moby-Dick's Avatar
     
    Join Date: Jul 2003
    Location: There's no place like 127.0.0.1
    Posts: 8,992
    Thanks: 14
    Thanked 157 Times in 132 Posts
    View Moby-Dick's Twitter Profile
    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



    Moby-Dick is offline   Reply With Quote
    Old 22-02-2007, 08:48 PM   #6 (permalink)
    Does he need a reason?
     
    Funkstar's Avatar
     
    Join Date: Aug 2005
    Location: Aberdeen
    Posts: 15,969
    Thanks: 324
    Thanked 614 Times in 516 Posts
    Funkstar's system
    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
    Funkstar is offline   Reply With Quote
    Old 23-02-2007, 05:17 AM   #7 (permalink)
    Registered User
     
    Join Date: May 2006
    Location: London, UK
    Posts: 5
    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.
    LordOfLA is offline   Reply With Quote
    Old 23-02-2007, 05:40 AM   #8 (permalink)
    Gentoo Ricer
     
    Join Date: Jan 2005
    Location: /var/portage
    Posts: 5,619
    Thanks: 57
    Thanked 256 Times in 239 Posts
    aidanjt's system
    Windows has always needlessly paged memory, this is nothing new, drop the pagefile size and you'll force it to keep things in ram.

    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...
    Server Box -> Asus P5B-E Plus | C2D E6320 | 2x2GB GieL PC2-6400 | 6x500GB (md-raid5) | nVidia 7300LE | Ubuntu Server 9.10 (for now)
    Test Box -> P4E 3.2Ghz Rev. E0 | Asus P4C800-E Deluxe | 2x1GB PC3200 | 2x160Gb | nVidia TNT 2 | Gentoo (X86)

    Currently breaking: eINIT
    aidanjt is offline   Reply With Quote
    Old 23-02-2007, 06:09 AM   #9 (permalink)
    Registered User
     
    Join Date: May 2006
    Location: London, UK
    Posts: 5
    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?
    LordOfLA is offline   Reply With Quote
    Old 23-02-2007, 06:11 AM   #10 (permalink)
    Registered User
     
    Join Date: May 2006
    Location: London, UK
    Posts: 5
    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
    LordOfLA is offline   Reply With Quote
    Old 23-02-2007, 10:31 AM   #11 (permalink)
    Senior Member
     
    kalniel's Avatar
     
    Join Date: Aug 2005
    Posts: 12,581
    Thanks: 163
    Thanked 481 Times in 424 Posts
    kalniel's system
    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.
    kalniel is offline   Reply With Quote
    Reply

    Breadcrumb
    Go Back   HEXUS.community discussion forums > HEXUS.help - buying advice & technical queries > HEXUS.hardware


    Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
     
    Thread Tools

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off
    Trackbacks are On
    Pingbacks are On
    Refbacks are On


    Similar Threads
    Thread Thread Starter Forum Replies Last Post
    BF2 Page FIle Usage :s muddyfox470 HEXUS.gaming 3 02-12-2006 05:38 PM
    2GB of RAM vs 1GB of RAM latrosicarius HEXUS.hardware 19 19-06-2006 01:47 PM



    All times are GMT. The time now is 07:38 PM.

    Any representations/statements made on the HEXUS.community discussion forums are the representations/statements of the author i.e. the person/organisation making them. If any such representations/statements are disputed they are a matter between the parties concerned. HEXUS Limited accepts no responsibility for any misrepresentations, inaccurate or false statements made by any person/organisation other than HEXUS Limited employees.

    Hosted Exchange

    Powered by vBulletin® Version 3.8.4
    Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
    Content Relevant URLs by vBSEO 3.3.2
    © Copyright 2009 HEXUS® Limited. All rights reserved. Unauthorised reproduction strictly prohibited.