[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: getting number of processors on user machine
From:       Roger Larsson <roger.larsson () norran ! net>
Date:       2006-08-28 11:19:15
Message-ID: 200608281319.15399.roger.larsson () norran ! net
[Download RAW message or body]

On Monday 28 August 2006 13:07, Allan Sandfeld Jensen wrote:
> On Monday 28 August 2006 04:00, Nasser wrote:
> > this is because i would like to create QThreads depending on how many
> > processors they have, so as to balance the load as much as possible
>
> Just to give you the point-of-view from a kernel developer:
>
> Create as many threads as to maximize the concurrency of your application
> and leave load balancing to the kernel please.

Maximum concurrency of an image rendering program would than be (atleast) one
thread per pixel - i.e. millions...
The kernel would nighter like nor accept that many.

/RogerL
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic