Messages in this thread | | | Date | Sat, 16 Jun 2007 10:17:09 +0300 | From | "Török Edvin" <> | Subject | Re: 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/
| |