[CFT] New version of webcamd, now v4.8.0.2

Otacílio otacilio.neto at bsd.com.br
Fri Aug 19 20:12:23 UTC 2016


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



More information about the freebsd-multimedia mailing list