Talk:Virtual memory

From Citizendium
Revision as of 01:05, 20 January 2008 by imported>Stephen Ewen (→‎swap file distribution across disks: let's not let this issue grow)
Jump to navigation Jump to search
This article is a stub and thus not approved.
Main Article
Discussion
Related Articles  [?]
Bibliography  [?]
External Links  [?]
Citable Version  [?]
 
To learn how to update the categories for this article, see here. To update categories, edit the metadata template.
 Definition A concept in computer science whereby an operating system can use alternate (usually slower) data storage to impersonate real memory and run programs that ordinarily would not fit into real memory (RAM) [d] [e]
Checklist and Archives
 Workgroup category computers [Categories OK]
 Talk Archive none  English language variant American English

swap file distribution across disks

I don't think RAID is required to distribute a Windows paging file across two disks, only a second available disk (partition) is required, whether RAID or not.Pat Palmer 10:14, 19 January 2008 (CST)

Another odd phenomenon: if the swap file is moved entirely to a second drive, say D:, a Windows machine may well boot up faster. I think that happens because the loading of boot programs from the primary partition (C: drive) can then go on in parallel with the loading of running program parts into the page file (D: drive), so overall, everything gets ready quicker. This is the kind of crap I learned from doing a lot of system administration and spending too many hours of my life watching Windows reboot (smile). It's typically 3 minutes per reboot (still) on practically any machine, because even though machines got faster, the amount of stuff that wants to load itself on startup has gotten correspondingly greater.Pat Palmer 10:19, 19 January 2008 (CST)
A RAID or stripe set is required. And no, moving the swap file to another drive doesn't make windows boot up faster, because the bandwidth across the IDE/SATA channel is slower between two discs. --Robert W King 11:03, 19 January 2008 (CST)
Robert, I not sure that I agree with this. I have the swap file on my D: drive (right here on my laptop) and it is certainly not a RAID. I know you think it's so, but would you please try it and make sure that you're correct?Pat Palmer 19:53, 19 January 2008 (CST)
To say that you're going to "distribute a paging file across disks" implies that you're allocating an amount of drive space on every drive for a portion of the swap, which requires a stripe or raid. If you're simply MOVING it to another drive all together, no you don't need a stripe then. But that is still a foolish thing to do because when you seperate your system files from the swap, it means now you have to transfer data between two hard drives over the relatively slow IDE/SATA channel and into RAM, versus right from the system disk into RAM. --Robert W King 20:36, 19 January 2008 (CST)
Folks, this article has come along very nicely. Stephen Ewen 23:11, 19 January 2008 (CST)
Robert, I see where we are misunderstanding each other now, I think. OK, here's the deal. I can have a part of my swap file on C: and a part on D: if I want to; Windows allows it (all versions of Windows, I do believe). There is no requirement that a RAID disk of any sort be present, only two partitions with different drive letters assigned. Some years ago I noticed that if I put ALL the swap file on a different physical drive that the system files, Windows booted faster. May not be true any longer; disk tech updates all the time. However, there is NO requirement for a RAID stripe to use more than one disk, or a non system disk, as the location of the swap file. So I would like to remove the implication from the article that a RAID drive is required. Perhaps we can find a wording that satisfies you. I really don't see what RAID has to do with this at all.Pat Palmer 23:25, 19 January 2008 (CST)

Barring the compromise over wording that Pat suggested, might I suggest another possible way forward here?

  • Robert, for now, defer on this matter to Pat, since she is editor. She may be wrong and has stated so, so this is just a practical step
  • Contact User:Greg Woodhouse, a computers editor, and get a third opinion.
  • Meanwhile:
    • Very sucinctly state the question for Greg here so he does not have to dig for the issue that needs addressing upon arrival (hopefully)
    • Collaborate, collaborate. Just set this one issue on the shelf for now and go on to other areas of the article. It is really shaping up nicely, it seems to me. If Greg cannot decide the matter, it will be revisitied again prior this article's approval, when the whole article is reviewed.

How's that sound?

Stephen Ewen 01:05, 20 January 2008 (CST)