For best performance, files returned to the browser user should be in
bytestream format. For example, .html, .htm, .shtml, .shtm, .txt, .gif, .jpeg,
and .jpg files, should be in bytestream format instead of in MPE-type format.
Bytestream files are more compatible with HP WebWise MPE/iX Secure Web Server
and with other POSIX applications than are MPE-type files. If you have a web
page that calls many images which are not in bytestream format (BA),
you could have noticeable performance degradation.
If any of your files under the document root (htdocs) are either MPE fixed
ASCII (FA), MPE variable ASCII (VA), or MPE variable binary
(VB) files, you should consider converting them to bytestream files
using the "tobyte" utility. Program files (fixed binary (FB)
files with an NMPRG filecode) should never be converted.
A file's filetype can be determined using either the POSIX file command
or the CI listfile command:
To convert an ASCII-type file (.htm*, .shtm*, or .txt), use the tobyte utility
with the -at option. If it is a binary-type file (such as .jpeg, .jpg, or
.gif), do not use the -at option:
tobyte -at /APACHE/PUB/htdocs/index.html
/APACHE/PUB/htdocs/newindex.html
For more information on the "tobyte" utility, use the POSIX help facility
(i.e., man tobyte).
If your HP WebWise MPE/iX Secure Web Server seems slow in responding, you might
try running the HP WebWise MPE/iX Secure Web Server job stream file,
JHTTPD, in the C queue instead of in the default D queue. The changes
shown below allow HP WebWise MPE/iX Secure Web Server to run in the C queue
while keeping the default execution level for jobs in the D queue. The jobpri
command must be executed on the console or in a SYSSTART file.
!job jhttpd,mgr.apache,pub;pri=cs;outclass=,2jobpri cs
Note that HP WebWise MPE/iX Secure Web Server consumes considerable CPU time
at startup. If you elect to run HP WebWise MPE/iX Secure Web Server in the C
queue, processes in the D and E queues may be starved while HP WebWise MPE/iX
Secure Web Server is starting.