| Subject | Re: Requirement: swap = RAM x 2.5 ?? | From | (Eric W. Biederman) | Date | 06 Jun 2001 12:42:03 -0600 |
| |
Jeff Garzik <jgarzik@mandrakesoft.com> writes:
> I'm sorry but this is a regression, plain and simple. > > Previous versons of Linux have worked great on diskless workstations > with NO swap. > > Swap is "extra space to be used if we have it" and nothing else.
Given the slow speed of disks to use them efficiently when you are using swap some additional rules apply.
In the worse case when swapping is being used you get: Virtual Memory = RAM + (swap - RAM).
That cannot be improved. You can increase your likely hood that that case won't come up, but that is a different matter entirely.
I suspect in practice that we are suffering more from lazy reclamation of swap pages than from a more aggressive swap cache.
Eric
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|