Christian Marker schrieb am Freitag den 14. September 2001:
ich hab in einem (älteren?) Einsteiger-Buch mal davon gelesen, dass mehr als 128 MB Swap auf einer Partition keinen Sinn machen, da Linux nicht mehr MB über dieser Grenze nutzt/verwalten kann. Wenn man dennoch mehr als die 128 MB Swap nutzen möchte, sollte man mehrere Swap-Partitionen anlegen.
Kommt darauf an, welchen Kernel Du einsetzt. Aus dem Changelog für den 2.2er Kernel: Among other changes made in the development of Linux kernel 2.2, the 128 meg limit on IA32 swap partition sizes has been eliminated.
jenseits der 128 MB-Grenze spricht (sondern nur die Bemerkung, dass die alte Regel Swap=2*RAM inzwischen etwas in die Jahre gekommen ist...).
IMHO wird an der Swap-Verwaltung noch viel gebastelt. Ich habe hier einen 2.4.7er Kernel laufen und komme bei normaler Arbeit nicht über 9MB Swap. Testweise hatte ich mal einen 2.4.9 laufen und der erzeugte bei in etwa gleicher Arbeit einen Swap von 300MB. Sinnvoll ist natürlich, wenn entprechendes Swapping zu erwarten ist, die Swappartitions auf mehrere pysikalische Festplatten zu verteilen und die gleiche Swappriorität zu verpassen. Wie das Swapverhalten im Kernel weiter entwickelt wird, kann ich leider nicht sagen. Gruß Jens -- .. may the Tux be with you! #130250