Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: <miki.miska@email.si>
Subject: Re: How to bind a POSIX thread to a specific CPU?
Date: Thu, 16 Jun 2005 10:45:29 +0200	[thread overview]
Message-ID: <MPG.1d1b5a981ee715f7989693@news.siol.net> (raw)
In-Reply-To: d8pqkc$f4u$1@ulysses.noc.ntua.gr

In article <d8pqkc$f4u$1@ulysses.noc.ntua.gr>, 
iev@hpclab.ceid.upatras.gr says...
> Dear all,
> 
> I am developing a multithreaded application using POSIX threads and I 
> would like to bind each thread to a different processor. I found that 
> there is the pthread_use_only_cpu() function which does what I need, but 
> it is available only under Tru64 5.1A and later.
> 
> Unfortunately, the system I am using has Tru64 5.1 and this function is 
> not available. Is there another way to do this? I read some things about 
> RADs (Resource Affinity Domains), but I am not certain whether they can 
> be used to achieve what I like to do. To be honest, I am quite confused 
> about what RADs are and how they are used and I would like to have some 
> more information about them. Are RADs managed only by administrators? 
> Can I create RADs from inside my application and bind the threads to 
> specific processors in a RAD? If so, how is this done? Is there a 
> pointer to documantation that explains step-by-step the usage of RADs? 
> Or am I on a totally wrong path to implement binding of threads on 
> processors?
> 
> Thank you in advance for your help,
> 
> Ioannis
> 
Hm, I remember somthing like pthread_set_concurency()... see man page


  reply	other threads:[~2005-06-16  8:45 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-15 18:05 How to bind a POSIX thread to a specific CPU? Ioannis E. Venetis
2005-06-16  8:45 ` miki.miska [this message]
2005-06-16 10:12   ` Ioannis E. Venetis
2005-06-17 16:50     ` miki.miska
2005-06-19 19:06 ` Loic Domaigne
2005-06-20 12:13   ` David Butenhof
2005-06-20 12:28     ` Dragan Cvetkovic
2005-06-20 12:38       ` loic-dev
2005-06-20 12:45         ` Dragan Cvetkovic
2005-06-20 16:25           ` loic-dev
2005-06-20 16:43             ` Dragan Cvetkovic
2005-06-20 13:40         ` David Butenhof
2005-06-20 13:26       ` David Butenhof
2005-06-21 13:01     ` Ioannis E. Venetis
read-only archive

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