Messages in this thread | | | Date | Wed, 29 Jun 2005 00:57:21 +0000 | From | Mike Richards <> | Subject | Swap partition vs swap file |
| |
Is there any significant difference these days between a swap partition and a swap file?
An exhaustive Google search turns up several conflicting answers. The consensus seems to be that a swap partition is more efficient than a swap file, but whether or not the difference is noteworthy is never definitively answered.
For the sake of argument, let's assume you've got modern hardware with ample RAM and a recent kernel (a late 2.4.x or 2.6.x), and that under normal conditions you never seeing more than 50-100MB of swap used.
Given this situation, is there any significant performance or stability advantage to using a swap partition instead of a swap file? - 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/
| |