Christian Marker wrote:
Hallo Liste,
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. Ich habe bei meiner Installation (SuSE 7.1, komplett) einfach mal einen großen Swap-Bereich von 512 MB angegeben und überleg' jetzt, ob das nicht vielleicht für die Katz' war...andererseits konnte ich im SuSE-Handbuch aber nichts finden, das gegen Swap-Partitionen jenseits der 128 MB-Grenze spricht (sondern nur die Bemerkung, dass die alte Regel Swap=2*RAM inzwischen etwas in die Jahre gekommen ist...).
Du mußt zwischen Swap-Datei und Swap-Partition unterscheiden. Die Swap-Datei ist nur eine entsprechend große Datei im ganz normalen Linux-Dateisystem (ähnlich wie bei Windows). Bei der Swap-Datei glaube ich gab es mal eine 128-MB-Grenze, kann ich aber nicht mit gewißheit sagen. Aber Swap-Dateien kommen kaum zu Anwendung. Bei Swap-Paritionen wird eine ganze Partition als Swap-Bereich eingerichtet. Hier gibt es theoretisch keine Grenzen. Ich selbst habe eine 256MB-Partition. Die habe ich noch nie gefüllt (gut ich habe auch 512MB RAM). Die Regel Swap=2xRAM ist aus meiner Sicht aufgehoben. SIe stammt aus einer Zeit wo sich der RAM-Speicher bei 4 bis 32 MB tummelte. Dennis