View Single Post
  #6  
Old 09-10-2009, 02:14
Git's Avatar
Git Git is offline
Old Git
 
Join Date: Mar 2002
Location: Torino
Posts: 1,115
Rept. Given: 220
Rept. Rcvd 265 Times in 157 Posts
Thanks Given: 108
Thanks Rcvd at 216 Times in 124 Posts
Git Reputation: 200-299 Git Reputation: 200-299 Git Reputation: 200-299
> we have to enstablish a difference between theorical limit and practical limit

Agreed, but more than that, we should also consider what jump first proposed, i.e., OS imposed limits. It is my view that :

OS Imposed Limit = none, infinite

theoretical limit = (total available memory)/((stack usage per thread) + (memory usage per thread))

practical limit <= theoretical limit as your app does not run in isolation or in a perfect environment.

It is in distinct contrast to CUDA and AMD's equivelent where there is a hardware imposed limit but the docs encourage you to run several million threads if possible to give their scheduler the best chance of doing it's job!.

Git
Reply With Quote