Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I cant find any documentation or articles online online for this...

how does Windows handle page files on multiple hard drives? Does windows treat them as a concatenation, writing to one till its full then moving to the next? Or does it treat them like a stripe, writing to each one incrementally? Does it write to the first one free? Or perhaps some other method?

share|improve this question
Very good question. My guess is Microsoft treats them as two separate page files and uses the drive that isn't in use. There is no way Microsoft would risk splitting whole pages among the drives. – surfasb Jan 18 '12 at 3:37
Best speed would be to write to both, but not to split pages up, I think. – soandos Jan 18 '12 at 3:42
From what I can see when I search on Google (no authentic links though), it seems to treat them like a stripe, which makes sense if you think about it. Though it's all guesswork. – user3463 Jan 18 '12 at 4:55
there is a test on the web (I couldnt find it) thier benchmark for a system that was starved to need paging to disk, was tiny tiny bits faster , not worth it for me.… – Psycogeek Jan 18 '12 at 6:03
up vote 9 down vote accepted

The most relevant information I could find was an article on optimal configuration of the page file under Windows XP.

The article states that Windows will use the page file located on the volume with the least activity. This means that there is no pattern defined.

So, it is arguable that the most likely way that Windows handles multiple page files is by maintaining a table of where each memory page is located. Where a page winds up depends largely on which volume was least active when it got paged out.

share|improve this answer
interesting article. However does this still hold true? – Keltari Jan 18 '12 at 14:46
There's no guarantee that this theory holds true at all, even for XP. It is based entirely on supposition. – Andrew Lambert Jan 18 '12 at 17:40
It's doubtful they've changed their handling of multiple page files. I'd bet it still holds true. The memory manager isn't exactly something you make wholesale changes to every version. – surfasb Jan 18 '12 at 20:36
@surfasb True, but as I said this is only speculation to begin with. – Andrew Lambert Jan 18 '12 at 21:33
@Amazed: Plus I see little reason to change it. With the addition of Superfetch, it still makes more sense that the pagefile on the drive with the least activity will see the most action. – surfasb Jan 19 '12 at 6:02

In Windows 8.1 for me it totally ignores the second drive and only swap onto the first one.

Not really useful. That's why I got here since I was googling on it.

share|improve this answer
How are you measuring this? I'm not doubting you, just wondering what tool you're using. Perfmon is one way to do it (Pagefile object, % usage counter). – Jamie Hanrahan Aug 30 '14 at 19:42

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .