Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Aug 2016 17:12:17 -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:  <25db87ef-97d8-8351-a848-528fdc2e84e1@bsd.com.br>
In-Reply-To: <9f3f6656-bfab-2fe4-8831-f5f3dab9b734@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> <dd773d6f-2e47-2334-1733-9d6f0349d184@bsd.com.br> <9f3f6656-bfab-2fe4-8831-f5f3dab9b734@selasky.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Em 19/08/2016 16:53, Hans Petter Selasky escreveu:
> On 08/19/16 21:38, Otacílio wrote:
>> irq23: ahci0 ohci0+ 36858         56
>
> Can you check this IRQ. How much is the counter changing per second.
>
> It looks like the VM is sharing IRQs.
>
> You might try to set:
>
> hw.usb.ohci.debug=16; sleep 1; hw.usb.ohci.debug=0
>
> Same for ehci and xhci. And see if there are interrupts with STATUS=0, 
> which means spurious IRQs.
>
> --HPS

no camera plugged in USB irq23: ahci0 ohci0+ is about  1 interrupts/s

camera plugged in USB irq23: ahci0 ohci0+ is about 1 interrupts/s (no 
sensitive change)

camera plugged in USB and shared via Webcams menu irq23: ahci0 ohci0+ is 
about 3 interrupts/s

camera plugged in USB and shared via Webcams menu and opened irq23: 
ahci0 ohci0+ is about 85 interrupts/s

when shared via USB is about 64/interrupts/s

but the system CPU usage is very low:

last pid:  1232;  load averages:  0.66,  1.07,  0.68    up 0+00:31:51  
17:10:41
78 processes:  1 running, 77 sleeping
CPU:  3.7% user,  0.0% nice,  2.8% system,  0.4% interrupt, 93.1% idle
Mem: 168M Active, 151M Inact, 186M Wired, 37M Buf, 3441M Free
Swap: 3072M Total, 3072M Free

   PID USERNAME    THR PRI NICE   SIZE    RES STATE   C   TIME WCPU COMMAND
  1223 ota           1  22    0   280M 45300K sbwait  0   0:03 4.66% 
decapture
   845 root          3  21    0   545M   197M select  0   1:05 4.31% Xorg
   936 ota           4  20    0   186M 27860K select  1   0:08 2.88% 
xfce4-ter
  1221 ota           1  21    0 98940K 14664K cuse-c  1   0:02 2.73% 
cameraser
  1204 root         10 -44   r8 34244K  7328K cuse-s  1   0:01 1.11% webcamd
   970 ota           3  52    0 52876K  5368K uwait   1   0:05 0.14% 
VBoxClien




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?25db87ef-97d8-8351-a848-528fdc2e84e1>