From owner-freebsd-emulation@freebsd.org Fri Aug 19 20:12:23 2016 Return-Path: Delivered-To: freebsd-emulation@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 77F2FBBE4B2 for ; Fri, 19 Aug 2016 20:12:23 +0000 (UTC) (envelope-from otacilio.neto@bsd.com.br) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 4D8F71F0A for ; Fri, 19 Aug 2016 20:12:23 +0000 (UTC) (envelope-from otacilio.neto@bsd.com.br) Received: by mailman.ysv.freebsd.org (Postfix) id 4C8A2BBE4B1; Fri, 19 Aug 2016 20:12:23 +0000 (UTC) Delivered-To: emulation@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4BE3BBBE4B0 for ; Fri, 19 Aug 2016 20:12:23 +0000 (UTC) (envelope-from otacilio.neto@bsd.com.br) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 27CED1F08 for ; Fri, 19 Aug 2016 20:12:23 +0000 (UTC) (envelope-from otacilio.neto@bsd.com.br) Received: by freefall.freebsd.org (Postfix) id 270911163; Fri, 19 Aug 2016 20:12:23 +0000 (UTC) Delivered-To: vbox@localmail.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by freefall.freebsd.org (Postfix) with ESMTP id 0E0591162 for ; Fri, 19 Aug 2016 20:12:23 +0000 (UTC) (envelope-from otacilio.neto@bsd.com.br) Received: from mail-yb0-x241.google.com (mail-yb0-x241.google.com [IPv6:2607:f8b0:4002:c09::241]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BBA751F04 for ; Fri, 19 Aug 2016 20:12:22 +0000 (UTC) (envelope-from otacilio.neto@bsd.com.br) Received: by mail-yb0-x241.google.com with SMTP id g67so1632054ybi.1 for ; Fri, 19 Aug 2016 13:12:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsd.com.br; s=capeta; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding; bh=AH60mrk+MZZMvdQkM/8K8JpJy5kAmQUgsiWEe2ZJRgs=; b=BenBYwjf5T79Pu8N0YQjREIvkQvHaZ3tS2nK6VEtej7DiEEnN5Q5ItiUY0BedNYNtS LgPJVFs3N6bvF2yllFO0k3vvOLDSeIR13hRpaUH9alKcOvcVKup2oT18//Cf8grvSi9f 5LAbYKjFVBmQ1ZVYjpOSlkiqYESFaWTZrKfjY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=AH60mrk+MZZMvdQkM/8K8JpJy5kAmQUgsiWEe2ZJRgs=; b=mI4LiorkFYN91HfetaUzFlpczSXLUmwqS1lw7gl38tuisXXC+gM9hiIbAWKFvtAXR4 /XUxdUDwh7xJEkie+DS9PJqVx+bNEIhFtDEJLqmyYCmEyCbALmW4OKLb1WMJHnK3uNgN oVe6njFM9J3yKdIYS2oQfymqslVwrrfXexKwazK8j7+U33Sf9p/wc0/YIyB77gfIYsqk 0rQ4d3l5Yv9BFuy+qo4gxa7YD7/Gq1Xe1bCTMYN6pjJ+saO1YGthnYqZVyWCYXhrp1wb r3GFyHWnEfGbdT0jQ6hxrzR14VXXoj71OFT/jEyEQC30oEf+VUbHu2nvv/qix8crkn1h KDKg== X-Gm-Message-State: AEkoousMR617kc9ftlXHd6eQUlMqsH/qhU8En8uDrw6cd0E1tu2YePpf4T2eIz2fnLdfog== X-Received: by 10.37.218.73 with SMTP id n70mr3634744ybf.157.1471637541908; Fri, 19 Aug 2016 13:12:21 -0700 (PDT) Received: from [10.50.208.93] ([177.20.152.129]) by smtp.googlemail.com with ESMTPSA id a68sm2321596ywh.44.2016.08.19.13.12.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 19 Aug 2016 13:12:21 -0700 (PDT) Subject: Re: [CFT] New version of webcamd, now v4.8.0.2 To: Hans Petter Selasky , vbox@FreeBSD.org, freebsd-multimedia@freebsd.org References: <308013fd-1eec-eb3b-ca89-146f816803a9@selasky.org> <919ec558-e17c-9698-4d89-6299b4045d17@bsd.com.br> <868feaf1-195b-dac8-b572-d7029a84dfdf@selasky.org> <9f3f6656-bfab-2fe4-8831-f5f3dab9b734@selasky.org> From: =?UTF-8?B?T3RhY8OtbGlv?= Message-ID: <25db87ef-97d8-8351-a848-528fdc2e84e1@bsd.com.br> Date: Fri, 19 Aug 2016 17:12:17 -0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <9f3f6656-bfab-2fe4-8831-f5f3dab9b734@selasky.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit X-Mailman-Approved-At: Fri, 19 Aug 2016 20:32:29 +0000 X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Aug 2016 20:12:23 -0000 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