xxx69
28-12-2002, 16:29
ok, finalmente ho trovato il miglior modo per implementare un vero multithreading a prelazione in linux...
Se qualcuno č interessato:
http://kerneltrap.org/node.php?id=422
http://kerneltrap.org/node.php?id=429
http://developers.slashdot.org/developers/02/09/21/2024247.shtml?tid=106
http://people.redhat.com/drepper/nptl-design.pdf
non č sufficiente il kernel 2.5 come mi era stato detto, riporto:
"Even the early 2.5.x development version of the Linux kernel did not provide all the
functionality needed for a good thread implementation. The changes added to the
official kernel version since that then include the following..."
č necessario utilizzare un API creata da RedHat e regalata a GNU,
chiamata NPTL, richiede almeno il kernel 2.5.36 per funzionare.
La versione preliminare ha performances incredibili:
100mila threads in un dual XEON 450 vengono creati in 2 secondi contro i 15 minuti del kernel 2.5 senza estensione NPTL.
Ciao.
Se qualcuno č interessato:
http://kerneltrap.org/node.php?id=422
http://kerneltrap.org/node.php?id=429
http://developers.slashdot.org/developers/02/09/21/2024247.shtml?tid=106
http://people.redhat.com/drepper/nptl-design.pdf
non č sufficiente il kernel 2.5 come mi era stato detto, riporto:
"Even the early 2.5.x development version of the Linux kernel did not provide all the
functionality needed for a good thread implementation. The changes added to the
official kernel version since that then include the following..."
č necessario utilizzare un API creata da RedHat e regalata a GNU,
chiamata NPTL, richiede almeno il kernel 2.5.36 per funzionare.
La versione preliminare ha performances incredibili:
100mila threads in un dual XEON 450 vengono creati in 2 secondi contro i 15 minuti del kernel 2.5 senza estensione NPTL.
Ciao.