In this article, the effects of residual riblets of impeller's hub surface on the aerodynamic performance of a compressor are studied in detail. Several accurate geometrical models of impellers after their hub surface are machined, with various tool passes are built. The number of tool passes for the hub surface finish of a single passage of the impeller is denoted by N. Meanwhile, a dimensionless parameter B max is introduced to characterize the size of the ribs of the arbitrary impeller, which is the percentage ratio rate of the maximum cusp height of the hub surface to the exit blade width. The geometrical models are numerically studied by solving the Reynolds averaged Navier-Stokes equations using the SST turbulent model. The predictions show that a group of secondary cross-stream vortices are generated by the interaction of streamwise vortices above the hub surface with riblets' tips. For the impeller researched in this article, with the decline of B max , the average viscous shear stress on the hub surface decreases gradually at first and then starts increasing and leveling off; accordingly, the polytropic efficiency of the compressor, on the contrary, increases gradually and then starts leveling off later. When B max comes to 0.58, the average viscous shear stress of the fluids on the hub surface reaches its minimum, and it is found that the polytropic efficiency of the compressor reaches a peak and stable value. The simulation results are validated against experimental data at the design Mu, and the maximum discrepancies are less than 3.8%.