Axial piston pumps are an integral part of hydraulic systems due to their compactness, simple design and quick response to variable loading conditions when provided with a pressure compensator unit. The work comprises a simple method of designing the rate and stroking cylinders of the pressure compensator on the basis of dynamic swiveling torque on the swash plate at cut-in and cut-off conditions, respectively. A key section of this research is the effect of eccentricity on the pump size and performance. A mathematical model of a fixed displacement pump has been adopted to analyze the components of the swash plate swiveling torque, and to determine the torque values at maximum and minimum flow conditions and design the compensator cylinders. Then, the eccentricity is varied and the performances of the fixed and variable displacement pump are recorded through dynamic simulation modelling. The outcome of the study on eccentricity is the reduction in size of the pressure compensator cylinders and thus, the overall pump size.