Green Threads and multiple CPUs

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Green Threads and multiple CPUs

Dmitry Kakurin
Since Dolphin is using green threads I wonder how does it utilize
multiple CPUs that are becoming more and more common even in low-end
household machines ?
For example let's say that I have a 4-CPU machine and I start 4
Processes that are doing CPU-intense encryption/decription. Will 3 of
my CPUs be basically idling (may be doing GC) ?
If my assumptions are correct is there a way around it in D6 ?


Reply | Threaded
Open this post in threaded view
|

Re: Green Threads and multiple CPUs

Fernando Rodríguez-2
Hello Dmitry,

> Since Dolphin is using green threads I wonder how does it utilize
> multiple CPUs that are becoming more and more common even in low-end
> household machines ?
> For example let's say that I have a 4-CPU machine and I start 4
> Processes that are doing CPU-intense encryption/decription. Will 3 of
> my CPUs be basically idling (may be doing GC) ?
> If my assumptions are correct is there a way around it in D6 ?

I'm afraid the only way to use those other cores or cpus is to use several
images.


Reply | Threaded
Open this post in threaded view
|

Re: Green Threads and multiple CPUs

Sean M-8
>> Since Dolphin is using green threads I wonder how does it utilize
>> multiple CPUs that are becoming more and more common even in low-end
>> household machines ?
>> For example let's say that I have a 4-CPU machine and I start 4
>> Processes that are doing CPU-intense encryption/decription. Will 3 of
>> my CPUs be basically idling (may be doing GC) ?
>> If my assumptions are correct is there a way around it in D6 ?
>
> I'm afraid the only way to use those other cores or cpus is to use several
> images.

Which works quite nicely if you combine multiple images with a single
OmniBase database.


Reply | Threaded
Open this post in threaded view
|

Re: Green Threads and multiple CPUs

Fernando Rodríguez-2
Hello Sean,

>> I'm afraid the only way to use those other cores or cpus is to use
>> several images.
>>
> Which works quite nicely if you combine multiple images with a single
> OmniBase database.
>

Could you elaborate on this?