1. A method for optimizing a security apparatus within a service oriented architecture (SOA), comprising: generate a plurality of queuing performance models for a plurality of components comprising a user land, a kernel, and a Central Processing Unit (CPU) of the SOA performing a plurality of security operations; determining a plurality of derivative points based on the plurality of queuing performance models; maximizing the plurality of derivative points by tuning at least one parameter of the user land, at least one parameter of the kernel, or at least one parameter of the CPU; and optimizing a configuration of the security apparatus based on the at least one parameter of the user land, the at least one parameter of the kernel, or the at least one parameter of the CPU associated with the maximized plurality of derivative points.