Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Aug 2016 16:38: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:  <dd773d6f-2e47-2334-1733-9d6f0349d184@bsd.com.br>
In-Reply-To: <868feaf1-195b-dac8-b572-d7029a84dfdf@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> <919ec558-e17c-9698-4d89-6299b4045d17@bsd.com.br> <868feaf1-195b-dac8-b572-d7029a84dfdf@selasky.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Em 19/08/2016 16:32, Hans Petter Selasky escreveu:
> On 08/19/16 16:13, Otacílio wrote:
>> 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
>
> Looks like an IRQ problem.
>
> What does "vmstat -i" say?
>
> --HPS


Virualbox has two menu options Devices->USB and Devices->Webcam.

When I share using Devices->USB then works fine. The problem happens 
when I share using Devices->Webcam


Here the comand result when the problem occurs.

[ota@nostromo /usr/home/ota/workspace/SOFTWARE_Espelho_TCP/Decapture]$ 
vmstat -i
interrupt                          total       rate
irq1: atkbd0                        1940          3
irq9: acpi0                            2          0
irq12: psm0                          920          1
irq19: em0                          7534         11
irq20: vboxguest0                   4750          7
irq21: hdac0                         835          1
irq23: ahci0 ohci0+                36858         56
cpu0:timer                        128475        195
cpu1:timer                         98041        149
Total                             279355        425
[ota@nostromo /usr/home/ota/workspace/SOFTWARE_Espelho_TCP/Decapture]$ 
vmstat -i
interrupt                          total       rate
irq1: atkbd0                        1946          3
irq9: acpi0                            2          0
irq12: psm0                          920          1
irq19: em0                          7626         11
irq20: vboxguest0                   4754          7
irq21: hdac0                         835          1
irq23: ahci0 ohci0+                37759         56
cpu0:timer                        131845        197
cpu1:timer                        101023        151
Total                             286710        429






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?dd773d6f-2e47-2334-1733-9d6f0349d184>