Prey521
10-09-00, 03:47 PM
Interesting Article that I found:
How Large Should The Swapfile Be?
That's a question that has bugged many users. Since the good old days of DOS and Windows 3.1, many users have staunchly adhered to an old rule of the thumb that the swapfile should be 2.5 X the amount of RAM in the system.
In fact, when I read several posts in Anandtech's BBS and other forums, I noticed that many people are still quoting this old "rule". The question is... is this rule still applicable for today's systems and operating systems? Unfortunately, it's a big NO!
Why Not 2.5 X System RAM?
Back in the days when people were using Windows 3.1, computers only came with 4MB or 8MB of RAM. Even 16MB of RAM was a luxury in those days. I remember running Windows 3.1 on a i386SX-16 machine with 4MB of RAM! Because RAM in those days are horrendously expensive and only a limited amount of it was available in most systems, therefore a relatively large swapfile was needed. 2.5 X the system's RAM isn't actually a lot, considering that most systems came with 8MB of RAM. That would only amount to a swapfile size of 20MB. That already enabled most systems to run Windows 3.1 applications comfortably.
But today, most computers come with at least 64MB of RAM and many have 128MB of RAM! If the 2.5X rule is applied, that means a swapfile size of 160MB to 320MB was needed! That doesn't make sense. The purpose of buying more memory is to prevent the system from needing to use the slower swapfile. The more memory you buy, the less you need to use the swapfile. You shouldn't need to increase the swapfile size every time you increase the amount of RAM in your system! Imagine if you have follow the rule when you upgrade to 512MB of RAM in the future... you could very well end up with a 1.28GB swapfile! That's ridiculous.
The amount of hard disk space you should dedicate to a swapfile should depend on the amount of RAM you need to use, NOT the amount of RAM you have. The 2.5 X system RAM rule was flawed from the beginning and it's certainly not applicable today. You have to gauge how much swapfile is needed by the system when the most memory intensive work is underway.
How Large Should The Swapfile Be?
That's a question that has bugged many users. Since the good old days of DOS and Windows 3.1, many users have staunchly adhered to an old rule of the thumb that the swapfile should be 2.5 X the amount of RAM in the system.
In fact, when I read several posts in Anandtech's BBS and other forums, I noticed that many people are still quoting this old "rule". The question is... is this rule still applicable for today's systems and operating systems? Unfortunately, it's a big NO!
Why Not 2.5 X System RAM?
Back in the days when people were using Windows 3.1, computers only came with 4MB or 8MB of RAM. Even 16MB of RAM was a luxury in those days. I remember running Windows 3.1 on a i386SX-16 machine with 4MB of RAM! Because RAM in those days are horrendously expensive and only a limited amount of it was available in most systems, therefore a relatively large swapfile was needed. 2.5 X the system's RAM isn't actually a lot, considering that most systems came with 8MB of RAM. That would only amount to a swapfile size of 20MB. That already enabled most systems to run Windows 3.1 applications comfortably.
But today, most computers come with at least 64MB of RAM and many have 128MB of RAM! If the 2.5X rule is applied, that means a swapfile size of 160MB to 320MB was needed! That doesn't make sense. The purpose of buying more memory is to prevent the system from needing to use the slower swapfile. The more memory you buy, the less you need to use the swapfile. You shouldn't need to increase the swapfile size every time you increase the amount of RAM in your system! Imagine if you have follow the rule when you upgrade to 512MB of RAM in the future... you could very well end up with a 1.28GB swapfile! That's ridiculous.
The amount of hard disk space you should dedicate to a swapfile should depend on the amount of RAM you need to use, NOT the amount of RAM you have. The 2.5 X system RAM rule was flawed from the beginning and it's certainly not applicable today. You have to gauge how much swapfile is needed by the system when the most memory intensive work is underway.