caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "Mattias Engdegård" <mattias@virtutech.se>
To: basile@starynkevitch.net
Cc: Christophe.Raffalli@univ-savoie.fr, caml-list@yquem.inria.fr
Subject: Re: [Caml-list] minithread (was OCaml on Sony PS3)
Date: Tue,  4 Dec 2007 17:25:21 +0100 (CET)	[thread overview]
Message-ID: <20071204162521.BFE245401E@kicki.hq.vtech> (raw)
In-Reply-To: <47556617.7020602@starynkevitch.net> (message from Basile STARYNKEVITCH on Tue, 04 Dec 2007 15:37:11 +0100)

>However, (one of the) the CELL coprocessor -eg SPU) might be used to 
>implemented Ocaml garbage collector.
>
>A copying GC has to move quite a lot of data, and it could be possible 
>that CELL's coprocessors could be useful for that (assuming that they 
>access memory as quickly as the processor).

They don't so it isn't, and doing GC by a coprocessor that cannot
directly access the memory it manages does not sound very practical.

The PPE has the memories of all SPUs mapped into its physical address
space, so it could possibly do the GC for them. But again, given the
limited amount of SPU-private memory, it would probably not be a useful
approach.

Better use of the SPUs would be to run computations that can use manual
memory management (perhaps not using a heap at all), operating on small
chunks of data at a time. Such computations could be described in
a simpler language that is more amenable to parallelisation.

>I still think that SPU on PS3 are only useful for games, or specialized 
>(e.g. graphical) applications.

Maybe, but there are cell blades with more reasonable amounts of
memory, and for experimentation regarding how to use the processor, a
PS3 goes quite far and is very economical. Ground-breaking science has
been made in less than 256 MB.


  reply	other threads:[~2007-12-04 16:25 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-06  6:20 More registers in modern day CPUs Tom
2007-09-06  7:17 ` [Caml-list] " skaller
2007-09-06  9:07 ` Richard Jones
2007-09-06 14:55 ` Chris King
2007-09-06 15:17   ` Brian Hurt
2007-09-06 15:54     ` Harrison, John R
2007-09-06 17:10       ` David MENTRE
2007-09-06 18:27         ` Harrison, John R
2007-09-06 18:28         ` Christophe Raffalli
2007-09-06 18:48           ` Brian Hurt
2007-09-06 18:48           ` Pal-Kristian Engstad
2007-11-20 15:32             ` [Caml-list] OCalm on Sony PS3 (was Re: More registers in modern day CPUs) Mike Hogan
2007-11-21 17:20               ` Richard Jones
2007-11-21 19:05                 ` [Caml-list] OCaml " Mike Hogan
2007-11-23  6:44                 ` Mike Hogan
2007-12-02 10:14               ` [Caml-list] OCalm " Xavier Leroy
2007-12-02 16:22                 ` Mike Hogan
2007-12-02 22:19                   ` Konrad Meyer
2007-12-03  0:09                     ` [Caml-list] OCaml " Mike Hogan
2007-12-03 20:16                       ` minithread (was OCaml on Sony PS3) Christophe Raffalli
2007-12-04 14:25                         ` [Caml-list] " David MENTRE
2007-12-04 14:37                         ` Basile STARYNKEVITCH
2007-12-04 16:25                           ` Mattias Engdegård [this message]
2007-12-04 17:33                         ` Gerd Stolpmann
2007-12-04 18:00                         ` Mike Hogan
2007-12-04  2:29                 ` [Caml-list] OCalm on Sony PS3 (was Re: More registers in modern day CPUs) Gordon Henriksen
2007-09-06 20:48   ` [Caml-list] More registers in modern day CPUs Richard Jones
     [not found]   ` <20070906204524.GB10798@furbychan.cocan.org>
2007-09-06 20:59     ` Chris King

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20071204162521.BFE245401E@kicki.hq.vtech \
    --to=mattias@virtutech.se \
    --cc=Christophe.Raffalli@univ-savoie.fr \
    --cc=basile@starynkevitch.net \
    --cc=caml-list@yquem.inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).