From owner-freebsd-emulation@freebsd.org Fri Aug 19 14:13:38 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 7F4B3BBE4A6 for ; Fri, 19 Aug 2016 14:13:38 +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 562A7195B for ; Fri, 19 Aug 2016 14:13:38 +0000 (UTC) (envelope-from otacilio.neto@bsd.com.br) Received: by mailman.ysv.freebsd.org (Postfix) id 557C6BBE4A5; Fri, 19 Aug 2016 14:13:38 +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 55245BBE4A4 for ; Fri, 19 Aug 2016 14:13:38 +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 326B0195A for ; Fri, 19 Aug 2016 14:13:38 +0000 (UTC) (envelope-from otacilio.neto@bsd.com.br) Received: by freefall.freebsd.org (Postfix) id 3175B1978; Fri, 19 Aug 2016 14:13:38 +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 16F3D1977 for ; Fri, 19 Aug 2016 14:13:38 +0000 (UTC) (envelope-from otacilio.neto@bsd.com.br) Received: from mail-qk0-x244.google.com (mail-qk0-x244.google.com [IPv6:2607:f8b0:400d:c09::244]) (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 C17351958 for ; Fri, 19 Aug 2016 14:13:37 +0000 (UTC) (envelope-from otacilio.neto@bsd.com.br) Received: by mail-qk0-x244.google.com with SMTP id v123so4411809qkh.3 for ; Fri, 19 Aug 2016 07:13:37 -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=Ud4xfmVpxhUr3EmNwJ3wTTQq/BtPJVVuM6IXHdUOFDM=; b=Ey/VS7v1mv8aYSsV9oWA5K6DmXOeDmHfVJzzVynbPy/K9OLjKQ01idW48qVe1tfYYv s+9JrAazYoF81nsKArHoW8gZ32GzpznqJ/2VkQeI/UDdIEwmKTsSv3Zj51JbKn7vTMXS PNWnlvDYIiRTxfSZfpYY+pVxYQBBr2B++wy1g= 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=Ud4xfmVpxhUr3EmNwJ3wTTQq/BtPJVVuM6IXHdUOFDM=; b=AkaUnDIIic0boosZa3Pkp9bBbd4/VkL9XZrSy/RJf8aBHcgchNO7l4UiBfYcdWQk1/ HOwMvcxygckGz8lmA9payU7M/OdZFKnKGFH9lTC1SvPLsT2w6F9sIFdtcdpFoGqiSKbw oIOT3eWpTcJNbxihxjMPavC/wb5fRN8Gxh/6a5qJF9vEeQXnRiveSI3jIoX8Lg1Xw+tN 3NP7VFmS25IMIhsBcYrqcFIOUvP7Sqq7XTVtYlj3tyXUH8VDb6YkKj6L7iryXMS2L3ta k+PRmSQKnA6v9lXvxVmRWIRCs3+otlPFD8S1XaQdfzKFsmx16O0wMycX32/+4LfyqwiJ Uv6Q== X-Gm-Message-State: AEkooutxBb1mpRSMiBnxNNAgEe3ifEUpfEazN50G6CnIEf2oyGM4WM41FIyJmtPJnK/tow== X-Received: by 10.55.195.9 with SMTP id a9mr9303780qkj.237.1471616016963; Fri, 19 Aug 2016 07:13:36 -0700 (PDT) Received: from [192.168.43.219] (191-247-243-6.3g.claro.net.br. [191.247.243.6]) by smtp.googlemail.com with ESMTPSA id m13sm3919574qkm.11.2016.08.19.07.13.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 19 Aug 2016 07:13:36 -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> From: =?UTF-8?B?T3RhY8OtbGlv?= Message-ID: <919ec558-e17c-9698-4d89-6299b4045d17@bsd.com.br> Date: Fri, 19 Aug 2016 11:13:22 -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: <308013fd-1eec-eb3b-ca89-146f816803a9@selasky.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit X-Mailman-Approved-At: Fri, 19 Aug 2016 15:51:13 +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 14:13:38 -0000 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