Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Jun 2009 00:25:00 -0700
From:      Yuri <yuri@rawbw.com>
To:        freebsd-hackers@freebsd.org
Subject:   top shows that multithreaded program uses 19623.14% CPU
Message-ID:  <4A33544C.1070902@rawbw.com>

next in thread | raw e-mail | index | archive | help
I ran then program with 1500 threads and in top it looked the this:

 PID USERNAME    THR PRI NICE   SIZE    RES STATE   C   TIME    CPU COMMAND
20382 yuri       1500  99    0   641M   462M umtxn   0   0:00 19623.14% 
quicksort
<skipped further>

Where can I read how CPU column is calculated?

Some time ago I saw another weird fenomenon when CPU column: 5% CPU load 
for the pocess that just cycles in CPU.

Yuri

7.2-STABLE, i7-920 (4 CPUs)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A33544C.1070902>