On Thu, Feb 17, 2011 at 09:06:33AM +0100, Martin Koegler wrote:
> On Wed, Feb 16, 2011 at 03:21:38AM -0600, DRC wrote:
> > However, I did discover that playing the 1920x1080 version of Big Buck
> > Bunny from the beginning using VLC in full-screen mode makes a good 2D
> > benchmark.  The beginning of this movie has full-scene motion on almost
> > every frame, so if you start TCBench very soon after starting the movie,
> > you should get a good reading.  When I do this, I get 14-15 fps with TLS
> > disabled and 4.5 fps with TLS enabled.  In other words, about the same
> > relative difference as I got with GLXspheres and VirtualGL.
> > 
> > You should be able to perform the above test using my TigerVNC binaries,
> > which will confirm whether the problem is specific to my build or not.
> 
> I can reproduce similar frame rates with my versions. I'll look, what
> is happening.

The attached patch improves frame rates to 9-11 fps.

Regards,
Martin Kögler
>From c1d7027e607316edad810b0c4b5e43d5adc91142 Mon Sep 17 00:00:00 2001
From: Martin Koegler <mkoeg...@auto.tuwien.ac.at>
Date: Fri, 18 Feb 2011 07:05:13 +0100
Subject: [PATCH] Disable Debug Logging

Signed-off-by: Martin Koegler <mkoeg...@auto.tuwien.ac.at>
---
 common/rfb/CSecurityTLS.cxx |    2 +-
 common/rfb/SSecurityTLS.cxx |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/common/rfb/CSecurityTLS.cxx b/common/rfb/CSecurityTLS.cxx
index c774c3d..fdc00c5 100644
--- a/common/rfb/CSecurityTLS.cxx
+++ b/common/rfb/CSecurityTLS.cxx
@@ -62,7 +62,7 @@
 #define WITHOUT_X509_TIMES
 #endif
 
-#define TLS_DEBUG
+//#define TLS_DEBUG
 
 using namespace rfb;
 
diff --git a/common/rfb/SSecurityTLS.cxx b/common/rfb/SSecurityTLS.cxx
index e6202a8..fd7b003 100644
--- a/common/rfb/SSecurityTLS.cxx
+++ b/common/rfb/SSecurityTLS.cxx
@@ -35,7 +35,7 @@
 #include <rdr/TLSOutStream.h>
 
 #define DH_BITS 1024 /* XXX This should be configurable! */
-#define TLS_DEBUG
+//#define TLS_DEBUG
 
 using namespace rfb;
 
-- 
1.7.2.3

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Tigervnc-devel mailing list
Tigervnc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tigervnc-devel

Reply via email to