This article aims to construct a queuing model based on the dynamic changes in node states within a P2P network,enabling an accurate simulation of the dynamic trends of nodes within the system.Based on this model framework,a Geo/G/1 retrial queuing system was established with second optional vacation,priority,and impatient customers.To analyze the one-step state transition probabilities of each node within the network,the embedded Markov chain method was utilized and a Markov chain of the corresponding dimension was constructed.This paper used the supplementary variable method to derive the system of equilibrium equations satisfied by the system and obtained the performance indexes of various types of nodes within the network by solving the system of equations.The trend of the system's performance indexes with different parameters is also verified.