From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,1b24c4005ec453fb X-Google-Attributes: gid1164f8,public From: "Carl J. Appellof" Subject: Re: need info on POSIX for OpenVMS Date: 1995/06/05 Message-ID: <3r01mt$8vi@ninja.zso.dec.com>#1/1 X-Deja-AN: 103907127 references: <3qt72m$am4@data.interserv.net> content-type: text/plain; charset=us-ascii organization: Digital Equipment Corporation mime-version: 1.0 newsgroups: comp.sys.dec x-mailer: Mozilla 1.1 (Windows; I; 32bit) lloyd@interserv.com wrote: >I'm porting a unix application to VMS and I've been evaluating the POSIX for OpenVMS product. >2. How much overhead is there and how reliable are the posix interfaces over >VMS? >If I only want to use the basic unix facilities such as message catalogs (catgets, etcs), >shared memory (shmget, etc), and code conversion (iconv) is it worth it to rewrite these >functions using the native equivalents or does posix really deliver compatibility with >other unixes such as hp-ux? > >Thanks for any advise... > In my experience porting a fairly large UNIX server application to OpenVMS, the POSIX interface really delivers a usable UNIX-like enviroment, including a BSD socket interface if you have TCP/IP services for OpenVMS. We ended up with a common source pool that could be built on a POSIX for OpenVMS, Solaris, Digital UNIX, any many other UNIX platforms. There is no special overhead with POSIX services, but you may experience performance differences when compared to traditional UNIX implementations. Common UNIX operations like fork() are fairly expensive within POSIX for OpenVMS, because process creation is more expensive on OpenVMS. File creation is also somewhat more expensive when compared to traditional UNIX. Normal I/O operations such as read() and write() should run about the same as in "native" OpenVMS programs, and also about the same when compared with read() and write() on traditional UNIX systems. As Reed Powell correctly states, all newer versions of OpenVMS include a free copy of the POSIX environment, but customers have to go through an extra installation step to install it. Carl Appellof Not speaking for Digital Equipment Corporation