Hallo Andre, hallo Jan, Jan Trippler schrieb: [...]
Folgende Aufgabe:
Was versteht man unter Swapping bzw. dem Prozeß "Swapper"? Nennen Sie Vor- und Nachteile des Swappings!
Was soll denn überhaupt der zweite Teil der Frage? Wer als EDV-Dozent so ein hanebüchenes Zeug wie "Nachteile des Swappings" zu fragen wagt, gehört standrechtlich nach Redmond gebeamt :-(((( Oder ist die Frage aus dem Zusammenhang gerissen, und es war Paging mit Swapping zu vergleichen?
---------------------------------------------------- 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ß" ----------------------------------------------------
<*brr* schüttel> Das war ziemlich daneben. Ich schließe mich Bernds Ratschlag an: Besorg Dir Literatur zum Thema und lies lieber erstmal eine Weile ;-) Du hast noch ein paar _grundlegende_ Verständnis-Lücken, die man IMHO auch nicht hier im Rahmen der ML ausräumen kann.
Fully ACK!
Ich will jetzt nicht alle Fehler in Deinen paar Zeilen analysieren (dann hätte ich ziemlich zu tun), nur ein paar Hinweise: Der Swapper ist nicht der Urvater, die Prozesse werden mitnichten nach dem FIFO-Prinzip ein- und ausgelagert, der Swapper startet nicht den init, der Swapper hat nichts mit herrenlosen Prozessen zu tun (was auch immer das sein mag).
Vielleicht sind Prozesse gemeint, deren Parent ohne wait beendet wurde, und die somit von init als parent übernommen wurden?
Gut, das habe ich heraus gelesen, es gibt noch den "agetty",die Sache mit dem Paging & Frames habe ich auch heraus gefunden.
Was um Himmelswillen haben der agetty und Frames mit dem Swapping zu tun?
<StocherImNebel> Hmm, bei manchen Betriebssystemen (nicht Unices) wird beim Paging unterschieden zwischen logischen Seiten (aus der Sicht des BS als Software == Pages) und physischen Seiten des Speichers als Hardware (Frames). Bei Telefunken hieß das mal "Seiten" und "Kacheln". </StocherImNebel> [...] und noch scöne Tage! Norbert