Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
thousands of CPU cores
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2008-07-19 (12:06)
From: Oliver Bandel <oliver@f...>
Subject: Re: [Caml-list] thousands of CPU cores
Zitat von J C <>:

> On Fri, Jul 11, 2008 at 5:23 PM, Oliver Bandel
> <> wrote:
> > For example, if you have a non-profit research project,
> > you can use the BOINC infrastructure, which provides
> > about 580000 PCs to help you :)
> >
> >
> >
> > There is no Shared-Mem as we know it from our local PCs, there
> > is distributed calculation around the whole planet.
> >
> > Threads will not help there ;-)
> But on each of those PCs there may be 1000 cores in the near future.

Yes, maybe.
I don't say that global networked computer power substitutes
But on multicore-machines one could use multiple processes.

And I don't say that threads will not help sometimes,
I just think, they are over estimated.

BTW: I've forgotten where the article was, but there was an
introductional article on programming of encryption algoritms,
and the author said: "don't use multithreaded code", because
it's too easy to have weak code that makes the whole system

I agree with him.
But I also think, not only in encryption-programs
threads should be avoided, if possible. I don't mean
never use threads, I just mean: use only, if really necessary.

Multiple processes are less sensitive to programming errors
than multithreaded code.
processes give you encapsulation. If one process crashes,
the others do not. If you crash one thread, the whole application
is affected.