Hi,
Unfortunately we all still have to do without multicore or multi-cpu
support in pike. Even though I don't know how the stuff works at the
lowest levels I am aware it has something to do with the way pike
handles it's variable structures internally, and it is definitely not a
simple thing to change while maintaining a good performance at it. My
curiousity is about something different, but related to having some
limited multicore support.
I vaguely remember hearing, or having read something somewhere about the
way pike interacts with libmysql. My memory might be fooled by wishful
thinking, so I might be completely wrong. I believe I understood pike is
able to release some restrictions at the moment it knows it enters the
code for libmysql. This would be the case because it would be benificial
for performance; the mysql library would be able to switch to a mode
where it could manage it's memory more freely, or where it would be able
to run on a different core/cpu.
If that is possible, I wonder if libmysql is the only C-library doing
this kind of trick, or if other libraries (especially the CPU and memory
intensive ones) are doing this kind of trick too. Image libraries, zlib
and any C-library doing lots of 'library-local' memory operations
(libxslt) or any library doing CPU intensive stuff seem really nice
candidates...
Am I wrong at what I think pike is doing? If not, is this just for
libmysql or are other modules doing this too?
If I was wrong, is what I was thinking technically possible, or am I
just being too idealistic?
Regards,
Arjan
__________________________________________________________
Deze e-mail en de inhoud is vertrouwelijk en uitsluitend bestemd voor de geadresseerde(n). Indien u niet de geadresseerde bent van deze e-mail verzoeken wij u dit direct door te geven aan de verzender door middel van een reply e-mail en de ontvangen e-mail uit uw systemen te verwijderen. Als u geen geadresseerde bent, is het niet toegestaan om kennis te nemen van de inhoud, deze te kopieren, te verspreiden, bekend te maken aan derden noch anderszins te gebruiken.
The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Please notify us immediately if you have received it in error by reply e-mail and then delete this message from your system.
__________________________________________________________