Xvnc - CPU Hog!
Charles T Kennedy
Charles_T_Kennedy "at" tst.tracor.com
Wed, 18 Nov 1998 16:57:15 +0000
Greetings,
VNC is one great product, however my system administrators are
complaining about it being a CPU hog. They say it has eaten up to 50%
of the CPU time for extended periods of time. On one specific
occasion, the user was notified and he closed all the windows he had
open in his vnc session, and Xvnc was still using 50% of the CPU time
(according to "top").
On an everyday basis, I have noticed that Xvnc routinely requires
around 10% when opening and closing windows and the like. And it
easily goes up to 25% or higher when scrolling through a long text
file.
Currently, there are only three of us using vnc on a regular basis,
however we expect to have quite a few using either vnc or an
x-terminal emulator within the next few weeks. If 20 users each
require a mere 5% of the CPU time just for Xvnc, then we have a real
problem! Is this issue being addressed? Are there some setup options
we can use to reduce the load on the Xvnc host?
For the record, we are running Xvnc version 3.3.2r2, CDE under
Solaris, and "uname -a" returns the following information:
SunOS sunkist 5.5 Generic_103093-12 sun4m sparc SUNW,SPARCstation-20
We have set the background to solid, and reduced the number of colors
used by CDE itself to 4. We are running VNCviewer 3.3.2R9 under Win95
on Pentium 100 or faster computers with a T1 connection to the Sun.
The following comes from my latest vnc logfile:
18/11/98 08:31:28 Pixel format for client xxx.xx.xx.xxx:
18/11/98 08:31:28 32 bpp, depth 24, little endian
18/11/98 08:31:28 true colour: max r 255 g 255 b 255, shift r 0 g
8 b 16
18/11/98 08:31:28 Using hextile encoding for client xxx.xx.xx.xxx
18/11/98 08:31:28 rfbProcessClientNormalMessage: ignoring unknown
encoding type 3
VNCviewer reports the following "connection info":
Connected to: ckenned's X desktop (xxx:1)
Host: xxx.xxx.xxx port: 5901
Desktop geometry: 1016 x 712 x 24
Using depth: 24
Current protocol version: 3.3
Current keyboard name: 00000409
Note that the geometry is set to 1016x712 on purpose--to fill the
whole Win95 screen without covering the task bar. My display is set
to 1024x768 HiColor (16 bit).
Thanks,
Charles Kennedy
---------------------------------------------------------------------
The VNC mailing list - see http://www.orl.co.uk/vnc/intouch.html
---------------------------------------------------------------------