Re: Help a new to Linux developer



On 2008-01-12, llothar <llothar@xxxxxx> wrote:
On 12 Jan., 10:06, Grant Edwards <gra...@xxxxxxxx> wrote:

That said, if the threads are I/O limited rather than CPU
limited, then Python will be fine. Also, if isntead of a multi
_thread_ application you have a multi _process_ (e.g. you fork
off server processes), it'll scale fine as well.

I just have the feeling that this is wrong. At least when i look at
python code i see a lot of unnecessary copy operations of strings
etc. raising both memory and cpu time and maybe reducing throughput.

I don't see that that has anything to do with SMP scalability
(which is the point I was addressing). Scalability refers to
how close an algorithm/implimentation comes to halving the
run-time when you double the number of processors. It's not
related to how long the run time actually is (which is what you
seem to be addresssing).

--
Grant Edwards grante Yow! I'm EXCITED!! I want
at a FLANK STEAK WEEK-END!! I
visi.com think I'm JULIA CHILD!!
.



Relevant Pages