lkml.org 
[lkml]   [2007]   [Jun]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: CFS-v16: top shows incorrect CPU% for multi-threaded application
On 6/13/07, Török Edvin <edwintorok@gmail.com> wrote:
> Hi,
>
> When I run a multithreaded application, consisting of a "main thread"
> that is mostly idle, and
> 3 "worker threads" (using as much CPU as they can get), 'top' and 'ps'
> show that
> the application uses 0% CPU.
> If I turn off thread details in top, and ps it correctly shows the CPU
> usage of each thread.
>
> This happens only on 2.6.22-rc4-cfs-v16, on 2.6.21-1 everything is ok
> (top shows sum-of-all-threads-CPU-usage, i.e. ~98,99%).

This has been fixed in cfs-v17.

Thanks,
Edwin
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-06-16 09:19    [W:0.025 / U:27.532 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site