Two algorithms are proposed to decrease the communication capacity and consumption of system resources for resource location in P2P networks. Experiment result shows that these algorithms can reduce communication cost significantly, utilize system resources effectively, and improve the overall performance of resource location in P2P networks.