Enhance performance of program automatic online judging systems using affinity algorithm and queuing theory in SMP environment

An OJ system is an online system to test programs in programming contests automatically. Performance enhancement of OJ systems in SMP environment is described in this paper. First, we introduce the affinity algorithm to improve the precision of the user programs' processing time. Second, by using queuing theory, a theoretical analysis and improvement of the system's performance indicators are given. By implementing these mechanisms, the average capacity of simultaneously judging tasks will increase while the judging results will become more precise, and the total number of computers in an OJ system will decrease, yielding lower hardware costs.

[1]  Meine van der Meulen,et al.  Experiences with the Design of a Run-Time Check , 2006, SAFECOMP.

[2]  Mark S. Squillante,et al.  Using Processor-Cache Affinity Information in Shared-Memory Multiprocessor Scheduling , 1993, IEEE Trans. Parallel Distributed Syst..

[3]  Hai-long Wang,et al.  Study on multiple traveling salesman problem based on genetic algorithm: Study on multiple traveling salesman problem based on genetic algorithm , 2009 .

[4]  Asser N. Tantawi,et al.  Optimal static load balancing in distributed computer systems , 1985, JACM.

[5]  Tang Shiping Research and Design of Online Test-evaluating System Based on J2EE , 2004 .

[6]  Susan J. Eggers,et al.  Reducing false sharing on shared memory multiprocessors through compile time data transformations , 1995, PPOPP '95.

[7]  Luisa M. Regueras,et al.  A Proposal of User Interface for a Distributed Asynchronous Remote Evaluation System: An Evolution of the QUESTOURnament Tool , 2009, 2009 Ninth IEEE International Conference on Advanced Learning Technologies.

[8]  Michael A. Lombardi Time Measurement , 1959, Nature.

[9]  Xu Zhi THE RELATIONSHIP BETWEEN SYSTEM LOADS AND RUNTIME OF PARALLEL PROGRAMS , 2000 .

[10]  Virgílio A. F. Almeida,et al.  Performance by Design - Computer Capacity Planning By Example , 2004 .

[11]  Donald Newell,et al.  Architectural Characterization of Processor Affinity in Network Processing , 2005, IEEE International Symposium on Performance Analysis of Systems and Software, 2005. ISPASS 2005..