|
Contents | Previous | Next
CMS-Based SSL Server
Technology called
Secure Sockets Layer (SSL)
lets application programs use encrypted TCP
connections to exchange data
with one another in a secure fashion. On z/VM
5.3 and earlier, the z/VM TCP/IP
stack used a Linux-based service machine to provide SSL
function.
In z/VM 5.4 IBM changed
the SSL service machine to be based
on CMS rather than on Linux.
IBM completed two performance evaluations
of the z/VM 5.4 CMS-based SSL server.
The first evaluation studied regression performance, that
is, the performance of the z/VM
5.4 CMS-based server compared to the z/VM 5.3
Linux-based server, running workloads
each SSL server could support.
The second evaluation
studied the z/VM 5.4 server alone,
varying the server configuration so
as to explore the performance implications
of various configuration choices.
For all measurements, IBM
used a System z9 and its CP
Assist for Cryptographic Function (CPACF) facility.
The regression study, focused on scaling,
measured CPU cost for creating a
new SSL connection and CPU cost for doing data transfer,
at various numbers of existing connections.
For the z/VM
5.3 Linux-based server, the study showed that as the
number of existing connections increased, the CPU cost
to create a new SSL connection did not increase significantly.
It also showed that as the number of connections increased,
the CPU cost per data transfer increased only slightly.
Repeating these scenarios using the z/VM 5.4 CMS-based
server showed that as the number of existing connections
increased, the CPU cost to create a new SSL connection
increased and the CPU cost per data transfer increased.
In other words, the z/VM 5.4 CMS-based server does not
scale as well as the z/VM 5.3 Linux-based server did.
IBM studied the z/VM 5.4 CMS-based
server to find the reasons for these
CPU cost increases.
The CMS-based SSL server has a maximum session parameter
that defines the maximum number of connections the SSL server will
manage.
When the server is started and no connections have been established yet,
the server will allocate CMS threads equal to the maximum
session parameter.
Even at low numbers of
connections, setting this value in the thousands can result
in thousands of CMS threads.
The cost in CMS to manage
thousands of threads per process is not trivial.
As the maximum session parameter increases, the CPU cost per connection
increases.
For optimum performance, IBM advises that customers
set the SSL server's maximum session parameter to a minimum.
IBM understands the requirement to offer some relief on
this point.
To evaluate the performance implications of various
configuration choices,
IBM completed three sets of measurements.
The first set compared
implicit connections to explicit connections.
The CPU
cost to create an implicit connection was nearly identical to
the cost to create an explicit connection.
The second set compared the CPU costs of
various key sizes (1K, 2K, and 4K).
As the key size increased, the CPU cost to
create a connection increased.
The third set examined data transfer CPU cost as a function of
cipher strength.
During data transfer, the high
cipher (3DES_168_SHA) was more efficient than the medium
cipher (RC4_128_SHA), because in high cipher mode
the SSL server can exploit the System z9's
CPACF facility.
Contents | Previous | Next
|