Aufgabenbereiche für Threading

  • Potentieller Parallelismus
    • Unterschiedliche Ressourcen werden verwendet
    • Ist unabhängig vom Resultat eines anderen Tasks
 Zu Beachten:
 Maximale Konkurrenz und minimale Synchronisation.
 Je mehr Abhängigkeiten, um so mehr geblockte Tasks, welche aufeinander warten.
  • Überschneidende oder blockierende I/O
    • Währenddessen andere Arbeit durchführbar?
    • Zuweisung einer I/O Aufgabe zu einem Thread
  • Starke CPU Beanspruchung
    • Kryptografische Funktionen, Matrizen, Kompression. etc.
    • Während ein oder mehrere Tasks Berechnungen durchführen, kann das Programm auf I/O reagieren
    • Eventuell Zuordnung einer CPU zu einer Berechnung
  • Asynchrone Ereignisse
    • Zufällige Intervalle zwischen Daten I/O
    • Benutzer I/O, Netzwerk Aktivität, Hardware Interrupts, Sensoren
    • Behandlungsroutinen können in einem Thread gekapselt werden
  • Realtime sheduling
    • Einige Aufgaben sind wichtiger (haben höhere Priorität)
    • Schnellere Reaktionszeit
    • Feste Bearbeitungszeit
    • Ausführung an spezifischen Zeitpunkten

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Use <fn>...</fn> to insert automatically numbered footnotes.
  • You can use the <go> tags just like the <a> for nicer urls.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>. Beside the tag style "<foo>" it is also possible to use "[foo]".
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Copy the characters (respecting upper/lower case) from the image.