comp.lang.ada
 help / color / mirror / Atom feed
From: john@peppermind.com
Subject: Re: do ada tasks run accross 16 cpu boxs? or stuck on 1 cpu?
Date: Wed, 8 May 2013 06:13:11 -0700 (PDT)
Date: 2013-05-08T06:13:11-07:00	[thread overview]
Message-ID: <50982430-11d8-4fa2-9cce-1d6a9a9ba62d@googlegroups.com> (raw)
In-Reply-To: <19811f9b-0fe9-449c-a082-4764a2bc66c4@googlegroups.com>

AFAIK on GNAT they are OS threads. However, when implementing my own green threads (for a virtual machine) I've found out that assigning twice than the available tasks than CPU cores (or, available hyperthreads if HT is on) for some  reason increased performance, so it seems worth experimenting rather than relying on theoretical assumptions.

Anyway, on my machine running GNAT 4.6 on Linux tasks easily max out all available cores at 100%.



  parent reply	other threads:[~2013-05-08 13:13 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-07 20:16 do ada tasks run accross 16 cpu boxs? or stuck on 1 cpu? johannes falcone
2013-05-07 20:29 ` Jeffrey Carter
2013-05-07 20:45   ` Ludovic Brenta
2013-05-07 23:10     ` johannes falcone
2013-05-08 13:13 ` john [this message]
2013-05-08 13:15   ` john
2013-05-12  7:17 ` ldries46
2013-05-12 16:35   ` Dennis Lee Bieber
2013-05-21 19:41     ` Michael Erdmann
2013-05-22 12:14       ` Marc C
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox