The Tokyo Tier-2 center, which is located in the International Center for Elementary Particle Physics at the University of Tokyo, is providing computing resources for the ATLAS experiment in the Worldwide LHC Computing Grid. In order to exploit the computing resources at the Tokyo Tier-2 center more efficiently, the dynamic partitioning of worker nodes for the single- and multi-core jobs has been implemented using the HTCondor batch scheduler. In the dynamic partitioning, draining of single-core jobs is necessary in order to dispatch a new multi-core job. This paper reports optimization studies for this draining and shows an improvement of the resource utilization by introducing the dynamic partitioning.