At Peking University (PKU) we have developed several 2.45 GHz Permanent Magnet Electron Cyclotron Resonance ion sources for PKUNIFTY, SFRFQ, Coupled RFQ&SFRFQ, and Dielectric-Wall Accelerator (DWA) projects (respectively, 50 mA of D(+), 10 mA of O(+), 10 mA of He(+), and 50 mA of H(+)). In order to improve performance of these ion sources, it is necessary to better understand the principal factors that influence the plasma density and the atomic ion fraction. Theoretical analysis about microwave transmission and cut-off inside the discharge chamber were carried out to study the influence of the discharge chamber diameters. As a consequence, experimental studies on plasma density and ion fraction with different discharge chamber sizes have been carried out. Due to the difficulties in measuring plasma density inside the discharge chamber, the output beam current was measured to reflect the plasma density. Experimental results show that the plasma density increases to the maximum and then decreases significantly as the diameter changed from 64 mm to 30 mm, and the atomic ion fraction has the same tendency. The maximum beam intensity was obtained with the diameter of 35 mm, but the maximum atomic ion fraction with a diameter of 40 mm. The experimental results are basically accordant with the theoretical calculation. Details are presented in this paper.