Moin,
* Andre Heine schrieb am 07.Mai.2001:
[Hier fehlt eine Autorenangabe]
* Andre Heine:
was genau ist der Swapper??
Ich weiß, der Swapper ist für das Ein/Auslagern von Prozessen verantwortlich, aber ich benötige detailierter Informationen darüber.
Genau. Der Swapper ist der Prozess, der swappt. Obwohl da inzwischen
Nein, der Swapper ist kein eigener Prozess, sondern Teil des Kernels.
wohl in Wirklichkeit erstmal Paging passiert, also das auslagern einzelner Speicherseiten und nicht ganzer Prozesse.
ACK.
IMHO wird auf die sogenannt "SWAP-Partition" ausgelagert!? Ist das korrekt? (Denke, sonst würde sie nicht so heißen)
Das ist korrekt. Aber auch Swap Dateien wären möglich, aber nicht so effektiv.
Z.B. Vor & Nachteile??
Wozu. Vor & Nachteil im Bezug zu was? Swapper vs. Pager, oder Swapper vs. nur Hauptspeicher oder was?
Ok, ich mache nun gerade ein Fernstudium in C/C++ unter Linux. (Habe in einer NewsGroup gelesen es sein Amtssprache!) Folgende Aufgabe: Was versteht man unter Swapping bzw. dem Prozeß "Swapper"? Nennen Sie Vor- und Nachteile des Swappings! ---------------------------------------------------- Meine Antwort: Bei dem Systemstart wird der Urprozeß (der sog. Swapper) gestartet. Er ist verantwortlich für die Ein/Auslagerung von Prozessen verantwortlich. Die Prozesse werden nach dem FIFO Prinzip Ein/Ausgelagert! Der Swapper startet den Vater aller Prozesse (sog. init). So gibt es keinen "Herrenlosen Prozeß" ---------------------------------------------------- Gut, das habe ich heraus gelesen, es gibt noch den "agetty",die Sache mit dem Paging & Frames habe ich auch heraus gefunden. Nur halt nichts zu den Nachteilen. Vorteile wurden ja schon einige im Thread genannt Dank nochmal allen zusammen. Ciao Andre
Vorteile? Du kannst Programmen mehr virtuellen Speicher gaben, als du physikalischen Speicher hast.
Nachteile? Ja nach Aulagerungsmedium kann swappen seeehr lange dauern :-) Für genauere Informationen bitte genauere Fragen.
Gibt es noch mehr Nachteile?? Ist "swapping" ein Grund dafür, daß ein Multitasking System möglich macht?
Wie schon geschrieben wurde, wird durch Swapping der Speicherraum erhöht. In der Tat wäre in früheren Zeiten, wo man gerade ein paar wenige MB Hauptspeicher hatte, wenn überhaupt, Multitasking ohne Swapping nur schlecht denkbar. Grundsätzlich braucht man es aber nicht.
Wenn Du es genauer wissen willst, so kauf Dir ein Buch über das UNIX-System. Es gibt Bücher, da wird auch Swapping detaliert beschrieben. Leider habe ich kein Titel, geschweige eine ISBN Nummer zur Hand.
Bernd