[parsec-users] view different number of threads in prstat

Mahmood Naderan nt_mahmood at yahoo.com
Tue Oct 30 04:19:45 EDT 2012


Dear all
I have noticed that prstat command shows something different than what I ran.
For example I have defined 4 cpus (in simics) and I run x264 with 4 threads.


./x264 --quiet --qp 20 --partitions b8x8,i4x4 --ref 5 --direct auto 
--b-pyramid --weightb --mixed-refs --no-fast-pskip --me umh --subme 7 --analyse
 b8x8,i4x4 --threads 4 -o eledream.264 eledream_640x360_128.y4m


Then I send it to background and launch prstat. However I see:

   PID USERNAME  SIZE   RSS STATE  PRI NICE      TIME  CPU PROCESS/NLWP       
  1016 root     3936K 3072K cpu0    50    0   0:01:41  20% fc-cache/1
  1569 root       30M   17M cpu1    50    0   0:00:28  14% x264/6
     9 root     9992K 8264K sleep   59    0   0:06:08 5.5% svc.configd/20
     7 root       13M 9080K sleep   59    0   0:00:31 0.5% svc.startd/17
  1573 root     4736K 3520K cpu2    59    0   0:00:00 0.2% prstat/1


Now the question is, where are other threads on cpu1, cpu2 and cpu3?
Also, why it shows NLWP as 6?


Regards,
Mahmood
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cs.princeton.edu/pipermail/parsec-users/attachments/20121030/d4bb7ce6/attachment.htm>


More information about the parsec-users mailing list