[Info-vax] Apache + mod_php performance
Arne Vajhøj
arne at vajhoej.dk
Wed Oct 2 19:05:31 EDT 2024
On 10/2/2024 6:14 PM, Craig A. Berry wrote:
> On 10/2/24 2:38 PM, Dan Cross wrote:
>> There's some chatter that suggests Unix domain sockets were
>> added in OpenVMS 8.4, in 2010: 14 years ago:
>> https://de.openvms.org/TUD2011/
>> Unix_Portability_Updates_and_Open_Source.pdf
>>
>> I haven't checked myself; even if the basic Unix domain sockets
>> mechanism was added for IPC, it's not clear if the access rights
>> transfer functionality was also implemented.
>
> Last I heard the domain sockets were just an emulation, implemented in
> terms of loopback AF_INET sockets. The most annoying limitation of the
> implementation that I remember was that you had to define logical names
> in the system table to tell it what ports to use:
>
> $ define/system TCPIP$AF_UNIX_MIN_PORT 1000
> $ define/system TCPIP$AF_UNIX_MAX_PORT 5000
>
> SCM_RIGHTS _is_ defined in socket.h, but that may not mean much.
It would be pretty hard to make it work as on *nix.
The descriptor being moved is a kernel close thing
on *nix, so for a kernel reassigning is work but not
crazy much work.
VMS is totally different. Especially for a file.
A file descriptor is pointing to some user mode
C RTL data structures that reference some RMS
user mode data structures that reference some
RMS executive mode data structures that reference
some VMS kernel mode data structures. Lots of stuff
to get copied over. Sockets would probably be a lot easier.
Arne
More information about the Info-vax
mailing list