Article View: comp.windows.x.apps
Article #609Our Approach
From: Raymond Chui
Date: Thu, 19 Nov 1992 18:28
Date: Thu, 19 Nov 1992 18:28
36 lines
2128 bytes
2128 bytes
We are writing some Xlib, Xt/Motif and PEX programs. Our programs are so
simple, read the image data, XCreateImage, XPutImage and display. Well,
everybody knows X is dam slow. If you have huge image database, such
a world map. It takes 3 to 5 minutes to read and display the XImage.
Doesn't matter you have 128 MB RAM and 140 MB swap disk space.
Before we can get a fiber-optic computer, a supper-conductor(right now
we only have semi-conductor) computer, a 1000 GHz CPU.
We are try to take some other approaches, such as "shared memory" and
"multi-threads". Write two or three separate programs and compiling
sepately. For example, program1 read image database only, program2
XCreateImage only and program3 XPutImage only.
But we have no ideas how to do that. Do we need a new operating system
other than Unix? Do we need POSIX operating system? Are the shared memory
and multi-threads parts of X protocol? We don't know much about the
shared memory and multi-threads. Can anyone out there tell me where I can
get any paper, documentation, book, O'Reilly "animal book", "color book"
and ftp site talk about the shared memory and multi-threads. Or give
me your ideas how to write a X program running "supper-fast".
Thank you very much in advance!
--
Raymond H. Chui
NSWC N62
10901 New Hampshire Ave.
Silver Spring, MD 20903-5000
U.S.A.
Voice:1-301-394-5192 Fax:1-301-394-5835
E-Mail:rchui@nswc-wo.nswc.navy.mil
_ __ _ , __
' ) ) / ' ) / / ) /
/--' __. , , ____ ______ __/ /--/ / /_ . . o
/ \_(_(_(_/_/) ) )_(_) /) )_(_(_ / ( o (__/ / /_(_/_(_
/
'
Technical Details
Message-ID:
<1992Nov19.182827.21627@relay.nswc.navy.mil>Path:
arc1-ca.pugleaf.net!sparky!uunet!dtix!relay!nswc-wo.nswc.navy.mil!rchuiShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!dtix!relay!nswc-wo.nswc.navy.mil!rchui From: rchui@nswc-wo.nswc.navy.mil (Raymond Chui) Newsgroups: comp.windows.x.apps,comp.windows.x,comp.windows.x.motif,comp.windows.x.intrinsics Subject: Our Approach Message-ID: <1992Nov19.182827.21627@relay.nswc.navy.mil> Date: 19 Nov 92 18:28:27 GMT Sender: news@relay.nswc.navy.mil Organization: Naval Surface Warfare Center - White Oak Lines: 36