I generate an image dynamically on the server side, using xvfb as the
virtual Xserver. Everything comes out fine. The only problem is the
performance in drawing. Is there any way to improve it?
I have checked, and the performance hit is in drawing the lines and text.
When run on my NT, it takes less than a second. However on the server with
xvfb, it takes around 13 seconds. Everything else on the server goes really
fast, so I really cannot say that the server is very slow. I want to bring
it down from 13 seconds to around 4-5 seconds max.
Thanking you,
Jayant Shekhar.
-----Original Message-----
From: Phil Race [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 31, 2001 9:39 AM
To: [EMAIL PROTECTED]
Subject: Re: [JAVA2D] X server dependency and consequences of using a
remote X server
All current release require an Xserver to be present at the time the
AWT toolkit is initialised, even if you never draw to it.
The most common work around for that these days is a "virtual Xserver".
xvfb is a commonly used one.
setting a remote display would work too if you have the permissions to
access it. I don't see how that would slow things down if you aren't
actually
drawing to it.
1.4 will have a new "headless" configuration which will support what
you need - you'll be able to do off-screen imaging ops without any need
for an Xserver.
-phil.
> X-Priority: 3 (Normal)
> Importance: Normal
> X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
> Date: Wed, 31 Jan 2001 08:44:15 -0800
> From: "Joseph A. Latone" <[EMAIL PROTECTED]>
> Subject: [JAVA2D] X server dependency and consequences of using a remote X
server
> To: [EMAIL PROTECTED]
>
> I asked this in JAI, in the course of use JAI1.1beta,
> and was redirected here:
>
> Since access to an X server is required for JAI, then
> if I'm using JAI but not rendering images to the display,
> can I simply use a remote X11 server w/o suffering any
> real performance penalty? We're running JAI on server
> machines, and they have no graphics cards.
>
> I guess if I knew how/when X is needed by JAI/AWT,
> I could answer this myself.
>
> Thanks again, Joe
>
>
===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff JAVA2D-INTEREST". For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA2D-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA2D-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".