Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 30C84200B89 for ; Wed, 21 Sep 2016 19:06:07 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 2F584160ADB; Wed, 21 Sep 2016 17:06:07 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 441AF160ABC for ; Wed, 21 Sep 2016 19:06:06 +0200 (CEST) Received: (qmail 89204 invoked by uid 500); 21 Sep 2016 17:06:05 -0000 Mailing-List: contact user-help@guacamole.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@guacamole.incubator.apache.org Delivered-To: mailing list user@guacamole.incubator.apache.org Received: (qmail 89193 invoked by uid 99); 21 Sep 2016 17:06:05 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Sep 2016 17:06:05 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 0762FCCD29 for ; Wed, 21 Sep 2016 17:06:05 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.595 X-Spam-Level: *** X-Spam-Status: No, score=3.595 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_SORBS_SPAM=2.397, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx2-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id z7IJvbmfdqCs for ; Wed, 21 Sep 2016 17:06:04 +0000 (UTC) Received: from mail-io0-f169.google.com (mail-io0-f169.google.com [209.85.223.169]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with ESMTPS id A134D5FBB7 for ; Wed, 21 Sep 2016 17:06:03 +0000 (UTC) Received: by mail-io0-f169.google.com with SMTP id m186so59299880ioa.2 for ; Wed, 21 Sep 2016 10:06:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=cWoNuhkdO0SWYc10i12pl5RblBo2FkcAaZ7g5MfCpD8=; b=ZQDuMkVZNB2OWpk5r6oYx7VIAlXmKwgEx72jXCSHt2pH1dVJNCAHUIlt3JKY3rkKCy DcG9yL0Z5PhCTdMFjAaDBbDNEzfn9jBevvY/93zaWOpRSSM43lkRYIPpGNc+At28AI// Kk3AvRHxgb570LjxbYObVLvjRumKzZiHgKrNqgkOE3vlfzqUBNb5XyCl3p959btlvPRb HIbB+rheKGRI1Hlm80MGYhROxbUp+3jhIyxkzWXgnide0uqKDkFkoQ+bW6zrbsWrO2Jk BmpWI8LvjAYUrDlGjEPf5DBGm2suGG7qFkdmANc0atn1A/bQsNDp+CgvINbnq/+FQ70b xG+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=cWoNuhkdO0SWYc10i12pl5RblBo2FkcAaZ7g5MfCpD8=; b=HZK/mUj+CjyJDpccE92mbZl+UqRmDbpfAoZHPde9iFGCGNwN7Me4JJwc2KBz7fzbph 2gCoFQnuEl7j+FP5LdJYNlv13z1VmBMtS8p2PgtG31w5ty5pns2jW5ySpsZ39vuObGN+ 5NnYK7Kn3aoFrIWALZyYonm+792iltvwCjgPKooGN+hl/4aEBlRPE9Z1yzzcRK141+2H AWXteXJ39Avpn9ZtfFh2w80RltVyAh81mWXgY/gXL5+ASKyyF4fcltFNlLnEA5CD40Sw xMP0e2mvtQZcklk+sJxvGWG3Hw7jCrhDlHvpmXLCgTGAbtrzfUVoyPZif8ia4ncVC3kj WIdw== X-Gm-Message-State: AE9vXwPcwVjOX4cABUMWVULFRqF3GELa9WPR3GEgBbn/XoOCDv8WzWWjTzBPWmiHHZPAET/aadLxxRTmFH8FoA== X-Received: by 10.107.174.97 with SMTP id x94mr57171461ioe.194.1474477562996; Wed, 21 Sep 2016 10:06:02 -0700 (PDT) MIME-Version: 1.0 Received: by 10.79.89.5 with HTTP; Wed, 21 Sep 2016 10:06:02 -0700 (PDT) In-Reply-To: References: From: Dogbert Date: Wed, 21 Sep 2016 13:06:02 -0400 Message-ID: Subject: Re: Performance tuning To: user@guacamole.incubator.apache.org Content-Type: multipart/alternative; boundary=001a114497e85f4a5c053d078fdc archived-at: Wed, 21 Sep 2016 17:06:07 -0000 --001a114497e85f4a5c053d078fdc Content-Type: text/plain; charset=UTF-8 Hi Frode, Well some context this project, I inherited when I joined my current company, and one that offshore couldn't quite get working. While I know that historically they've had slower performance with NoVNC, and I think the issues were more on the high latency end, with customer on the other side of the planet. I know that IT is looking into local data centers to help this, but my current task is to figure out what knobs and dials I can tweak, to eek out a little more performance. I'm not even sure how to test performance, other than putting it on a server, and have customers we are friendly with give it a try. Which is something we will do. Locally testing the performance seems to be fine. The latency between the vnc server and the Guacamole server(Guacamole in our custom app), should be minimal, as in Dev they are on the same box, and in Prod they would be in the same data center. I'll have to ask IT for some number on that, just to make sure. Right now I haven't set any encoding in the user-mapping file, so we just have the defaults. From what offshore told me this morning, offshore said these didn't make any difference. Not that I believe that. So are there things there that I can tweak? Also in my app I'm not using that file, but I do the equivalent, when I create the tunnel, setting the config. Right now I'm just setting the host, port and password. I've played with color-depth, which I can set to 16 or 24, I tried 8 but got a 515 error. Thanks, Tucker On Wed, Sep 21, 2016 at 11:44 AM, Frode Langelo wrote: > Hi Tucker, > > Which specific performance issues are you seeing? Do you have high latency > and/or low bandwidth requirements? > > What does the network latency and available bandwidth look like between > your VNC server and Guacamole server? > > The VNC encoding parameters for the VNC server connection are set to "tight > zrle ultra copyrect hextile zlib corre rre raw" by default in > libvncclient. Have you explicitly set (and overridden) these encodings parameters > in your user-mapping.xml file? If so what are those parameters. > > Regards, > Frode > On 9/21/16 8:03 AM, Dogbert wrote: > > Hi, > > So I'm in the middle of a POC to replace NoVNC with Guacomole over > web-sockets. We currently use TurboVNC(with virtualGL) as our vnc server. I > looked through the documentation, and I didn't see much that I could tweak > for performance other than color-depth. Is there anything I'm missing that > I could tweak to help performance, like a quality setting? Or would > changing the VNC server have any effect? > > Thanks, > Tucker > > > --001a114497e85f4a5c053d078fdc Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi Frode,

Well some = context this project, I=C2=A0 inherited when I joined my current company, a= nd one that offshore couldn't quite get working. While I know that hist= orically they've had slower performance with NoVNC, and I think the iss= ues were more on the high latency end, with customer on the other side of t= he planet. I know that IT is looking into local data centers to help this, = but my current task is to figure out what knobs and dials I can tweak, to e= ek out a little more performance.

I'm not even sure how to= test performance, other than putting it on a server, and have customers we= are friendly with give it a try. Which is something we will do. Locally te= sting the performance seems to be fine. The latency between=C2=A0 the vnc s= erver and the Guacamole server(Guacamole in our custom app), should be mini= mal, as in Dev they are on the same box, and in Prod they would be in the s= ame data center. I'll have to ask IT for some number on that, just to m= ake sure.

Right now I haven't set any encoding in the user= -mapping file, so we just have the defaults. From what offshore told me thi= s morning, offshore said these didn't make any difference. Not that I b= elieve that. So are there things there that I can tweak?=C2=A0 Also in my a= pp I'm not using that file, but I do the equivalent, when I create the = tunnel, setting the config. Right now I'm just setting the host, port a= nd password. I've played with color-depth, which I can set to 16 or 24,= I tried 8 but got a 515 error.

Thanks,
Tucker

On Wed, Sep 21= , 2016 at 11:44 AM, Frode Langelo <frode@apache.org> wrote:
=20 =20 =20

Hi Tucker,

Which specific performance issues are you seeing? Do you have high latency and/or low bandwidth requirements?

What does the n= etwork latency and available bandwidth look like between your VNC server an= d Guacamole server?=C2=A0

The VNC encoding parameters for the VNC server connection are set to =20 "tight z= rle ultra copyrect hextile zlib corre rre raw" by default in libvncclient. Have yo= u explicitly set (and overridden) these=C2=A0encodings=C2=A0parame= ters in your=C2=A0user-mapping.xml=C2=A0file? If so what are those parameters.

Regards,
Frode

On 9/21/16 8:03 AM, Dogbert wrote:
Hi,

So I'm in the middle of a POC to replace NoVNC with Guacomole over web-sockets. We currently use TurboVNC(with virtualGL) as our vnc server. I looked through the documentation, and I didn't see much that I could tweak for performance other than color-depth. Is there anything I'm missing that I could tweak to help performance, like a quality setting? Or would changing the VNC server have any effect?

Thanks,
Tucker


--001a114497e85f4a5c053d078fdc--