From owner-freebsd-multimedia@freebsd.org Fri Aug 19 14:13:38 2016 Return-Path: Delivered-To: freebsd-multimedia@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 2A7D8BBE4A1 for ; Fri, 19 Aug 2016 14:13:38 +0000 (UTC) (envelope-from otacilio.neto@bsd.com.br) Received: from mail-qk0-x243.google.com (mail-qk0-x243.google.com [IPv6:2607:f8b0:400d:c09::243]) (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 CFC7F1959 for ; Fri, 19 Aug 2016 14:13:37 +0000 (UTC) (envelope-from otacilio.neto@bsd.com.br) Received: by mail-qk0-x243.google.com with SMTP id o1so4431340qkd.2 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=CSzDJdH3Uc2l7E5eah747+98y5TRGrT+zP7reoydknBw6W4OLaFuPe6ymZxTwsijb5 a6swS9UZg6Yma5KkUYeebAaBENU55FfuoPDHcPCyq5W0ly2D+PxjNNQWLL4sY5+YADAs rMlW3/SiHDIABC8jvTQQk9FqRpBltY6BbTpJDiIEfodFwzRQwGOB6wYD+L2YeD84JKUe PWNc5eJp3YewRjvkGP2HvZC9oqkEfovvatVY5vvGLVlEoBW26ogISimPNteXW4/I7vzv bhHvbSFC8BN4MVr6+e9vSIVlh0fHgD+/BwxQJ3ffpHqnlQuZT6H7/eGGi8zkWKW8Gwe/ Fgow== X-Gm-Message-State: AEkoouuIUiXZK78Vk6EZ1fPo/CU5u4l4askUHF0XispfgQ17DOdnH92zmFrMuzryRKS6zA== 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-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Multimedia discussions 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