Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Aug 2016 11:13:22 -0300
From:      =?UTF-8?B?T3RhY8OtbGlv?= <otacilio.neto@bsd.com.br>
To:        Hans Petter Selasky <hps@selasky.org>, vbox@FreeBSD.org, freebsd-multimedia@freebsd.org
Subject:   Re: [CFT] New version of webcamd, now v4.8.0.2
Message-ID:  <919ec558-e17c-9698-4d89-6299b4045d17@bsd.com.br>
In-Reply-To: <308013fd-1eec-eb3b-ca89-146f816803a9@selasky.org>
References:  <d2b588e6-33b3-9523-1551-a1d9deabdf8c@selasky.org> <de24bd76-e382-c055-8b64-3824c69d3de4@bsd.com.br> <308013fd-1eec-eb3b-ca89-146f816803a9@selasky.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Em 19/08/2016 10:52, Hans Petter Selasky escreveu:
> On 08/19/16 15:42, Otacílio wrote:
>> Dears, I'm facing a huge CPU usage in the follow scenario:
>>
>> I'm using a 11.0-RC1 amd64 in vbox guest. The virtualbox-ose-additions
>> is 5.0.26. When I'm sharing my notebook integrated webcam with guest I
>> noted a increase of kernel CPU usage.  But, when I open the webcam the
>> CPU usage increases at a point that the machine starts to freeze. The
>> camera works but the frame rate is low. I was using the version from
>> ports with this behavior but this new version stay with the same
>> problem. If I remember, with virtualbox series 4 this problem not
>> happens.  So, can it be a webcamd or is really a new version of
>> virtualbox problem?
>>
>
> What does "top" say about webcamd's CPU usage?
>
> Maybe it is a problem inside the USB emulation in VBOX, that some 
> functions become expensive.
>
> --HPS

last pid:  1063;  load averages:  3.05,  1.48, 
0.67                                                           up 
0+00:05:56  11:12:12
75 processes:  2 running, 73 sleeping
CPU:  4.6% user,  0.0% nice, 43.3% system, 48.3% interrupt,  3.8% idle
Mem: 143M Active, 146M Inact, 157M Wired, 24M Buf, 3501M Free
Swap: 3072M Total, 3072M Free

   PID USERNAME    THR PRI NICE   SIZE    RES STATE   C   TIME WCPU COMMAND
   841 root          3  79    0   549M   198M RUN     1   0:36 52.21% Xorg
  1027 root         10 -44   r8 38308K  6012K cuse-s  1   0:10 11.62% 
webcamd
  1050 ota           1  24    0    99M 11816K cuse-c  0   0:06 6.06% 
cameraserver
  1014 ota           4  22    0   186M 27820K select  0   0:07 4.17% 
xfce4-terminal
   846 haldaemon     2  22    0 54512K  8280K select  1   0:03 4.15% hald
  1054 ota           1  20    0 20112K  3616K CPU0    0   0:01 2.39% top
   676 root          6  52    0 22172K  3060K sigwai  0   0:02 2.18% 
VBoxService





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?919ec558-e17c-9698-4d89-6299b4045d17>