{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,10,4]],"date-time":"2026-10-04T22:42:07Z","timestamp":1791153727392,"version":"4.1.0"},"reference-count":43,"publisher":"Association for Computing Machinery (ACM)","issue":"4","license":[{"start":{"date-parts":[[2010,12,1]],"date-time":"2010-12-01T00:00:00Z","timestamp":1291161600000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/www.acm.org\/publications\/policies\/copyright_policy#Background"}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["ACM Trans. Archit. Code Optim."],"published-print":{"date-parts":[[2010,12]]},"abstract":"<jats:p>\n            Iterative optimization is a popular and efficient research approach to optimize programs using feedback-directed compilation. However, one of the key limitations that prevented widespread use in production compilers and day-to-day practice is the necessity to perform a large number of program runs with the same dataset and environment (architecture, OS, compiler) to test many different combinations of optimizations. In this article, we propose to overcome such a practical obstacle using\n            <jats:italic>collective optimization<\/jats:italic>\n            , where the task of optimizing a program or tuning default compiler optimization heuristic leverages the experience of many other users continuously, rather than being performed in isolation, and often redundantly, by each user. During this unobtrusive approach, performance information is sent to a central database after each run and statistically combined with the data from all users to suggest most profitable optimizations for a given program and an architecture, or to gradually improve default optimization level of a compiler for a given architecture.\n          <\/jats:p>\n          <jats:p>\n            In this article, we address two key challenges of collective optimization. We show that it is possible to simultaneously learn and improve performance while avoiding long training phases. We also demonstrate how to use our approach with static compilers to learn optimizations across multiple datasets and architectures without even a reference run normally needed to compute speedups over the baseline optimization by using static function cloning and dynamic adaptation. We present a novel probabilistic approach based on\n            <jats:italic>competition<\/jats:italic>\n            among pairs of optimizations\n            <jats:italic>(program reaction to optimizations)<\/jats:italic>\n            to enable optimization knowledge reuse and achieve nearly the best possible iterative optimization performance. We implemented our technique in GCC (widespread production open-source compiler that supports multiple architectures) and connected it to a public collective optimization database at cTuning.org to gather profile and optimization data continuously and transparently in realistic environments ranging from desktop PCs and mobile systems to supercomputers and data centers.\n          <\/jats:p>","DOI":"10.1145\/1880043.1880047","type":"journal-article","created":{"date-parts":[[2011,1,4]],"date-time":"2011-01-04T13:21:46Z","timestamp":1294147306000},"page":"1-29","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":32,"title":["Collective optimization"],"prefix":"10.1145","volume":"7","author":[{"given":"Grigori","family":"Fursin","sequence":"first","affiliation":[{"name":"INRIA Saclay, France, Orsay, France"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Olivier","family":"Temam","sequence":"additional","affiliation":[{"name":"INRIA Saclay, France, Orsay, France"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2010,12,30]]},"reference":[{"key":"e_1_2_1_1_1","doi-asserted-by":"publisher","DOI":"10.1109\/CGO.2006.37"},{"key":"e_1_2_1_2_1","doi-asserted-by":"crossref","unstructured":"Anderson J. Berc L. Dean J. Ghemawat S. Henzinger M. Leung S. Sites D. Vandevoorde M. Waldspurger C. and Weihl W. 1997. Continuous profiling: Where have all the cycles gone. Tech. rep. 1997-016. Digital Equipment Corporation Systems Research Center Palo Alto CA.  Anderson J. Berc L. Dean J. Ghemawat S. Henzinger M. Leung S. Sites D. Vandevoorde M. Waldspurger C. and Weihl W. 1997. Continuous profiling: Where have all the cycles gone. Tech. rep. 1997-016. Digital Equipment Corporation Systems Research Center Palo Alto CA.","DOI":"10.1145\/268998.266637"},{"key":"e_1_2_1_3_1","doi-asserted-by":"publisher","DOI":"10.1145\/1094811.1094835"},{"key":"e_1_2_1_4_1","doi-asserted-by":"publisher","DOI":"10.1088\/1742-6596\/125\/1\/012089"},{"key":"e_1_2_1_5_1","volume-title":"Proceedings of the Workshop on Profile and Feedback Directed Compilation.","author":"Bodin F.","unstructured":"Bodin , F. , Kisuki , T. , Knijnenburg , P. , O'Boyle , M. , and Rohou , E . 1998. Iterative compilation in a non-linear optimisation space . In Proceedings of the Workshop on Profile and Feedback Directed Compilation. Bodin, F., Kisuki, T., Knijnenburg, P., O'Boyle, M., and Rohou, E. 1998. Iterative compilation in a non-linear optimisation space. In Proceedings of the Workshop on Profile and Feedback Directed Compilation."},{"key":"e_1_2_1_6_1","doi-asserted-by":"publisher","DOI":"10.1145\/1176760.1176765"},{"key":"e_1_2_1_7_1","doi-asserted-by":"publisher","DOI":"10.1109\/CGO.2007.32"},{"key":"e_1_2_1_8_1","doi-asserted-by":"publisher","DOI":"10.1145\/314403.314414"},{"key":"e_1_2_1_9_1","doi-asserted-by":"publisher","DOI":"10.1023\/A:1015729001611"},{"key":"e_1_2_1_10_1","doi-asserted-by":"publisher","DOI":"10.1145\/1669112.1669124"},{"key":"e_1_2_1_11_1","first-page":"1","article-title":"Quantifying the impact of input data sets on program behavior and its applications","volume":"5","author":"Eeckhout L.","year":"2003","unstructured":"Eeckhout , L. , Vandierendonck , H. , and Bosschere , K. D. 2003 . Quantifying the impact of input data sets on program behavior and its applications . J. Instruction-Level Parall. 5 , 1 -- 33 . Eeckhout, L., Vandierendonck, H., and Bosschere, K. D. 2003. Quantifying the impact of input data sets on program behavior and its applications. J. Instruction-Level Parall. 5, 1--33.","journal-title":"J. Instruction-Level Parall."},{"key":"e_1_2_1_12_1","doi-asserted-by":"publisher","DOI":"10.1145\/1065910.1065922"},{"key":"e_1_2_1_13_1","volume-title":"Proceedings of the GCC Developers' Summit.","author":"Fursin G.","year":"2009","unstructured":"Fursin , G. 2009 . Collective tuning initiative: Automating and accelerating development and optimization of computing systems . In Proceedings of the GCC Developers' Summit. Fursin, G. 2009. Collective tuning initiative: Automating and accelerating development and optimization of computing systems. In Proceedings of the GCC Developers' Summit."},{"key":"e_1_2_1_14_1","volume-title":"Proceedings of the International Conference on High Performance Embedded Architectures &amp; Compilers (HiPEAC).","author":"Fursin G.","unstructured":"Fursin , G. , Cavazos , J. , O'Boyle , M. , and Temam , O . 2007. Midatasets: Creating the conditions for a more realistic evaluation of iterative optimization . In Proceedings of the International Conference on High Performance Embedded Architectures &amp; Compilers (HiPEAC). Fursin, G., Cavazos, J., O'Boyle, M., and Temam, O. 2007. Midatasets: Creating the conditions for a more realistic evaluation of iterative optimization. In Proceedings of the International Conference on High Performance Embedded Architectures &amp; Compilers (HiPEAC)."},{"key":"e_1_2_1_15_1","doi-asserted-by":"publisher","DOI":"10.1007\/11587514_4"},{"key":"e_1_2_1_16_1","volume-title":"Proceedings of the GCC Developers' Summit.","author":"Fursin G.","year":"2008","unstructured":"Fursin , G. , Miranda , C. , Temam , O. , Namolaru , M. , Yom-Tov , E. , Zaks , A. , Mendelson , B. , Barnard , P. , Ashton , E. , Courtois , E. , Bodin , F. , Bonilla , E. , Thomson , J. , Leather , H. , Williams , C. , and O'Boyle , M. 2008 . Milepost gcc: Machine learning based research compiler . In Proceedings of the GCC Developers' Summit. Fursin, G., Miranda, C., Temam, O., Namolaru, M., Yom-Tov, E., Zaks, A., Mendelson, B., Barnard, P., Ashton, E., Courtois, E., Bodin, F., Bonilla, E., Thomson, J., Leather, H., Williams, C., and O'Boyle, M. 2008. Milepost gcc: Machine learning based research compiler. In Proceedings of the GCC Developers' Summit."},{"key":"e_1_2_1_17_1","volume-title":"Proceedings of the Workshop on Languages and Compilers for Parallel Computers (LCPC). 305--315","author":"Fursin G.","unstructured":"Fursin , G. , O'Boyle , M. , and Knijnenburg , P . 2002. Evaluating iterative compilation . In Proceedings of the Workshop on Languages and Compilers for Parallel Computers (LCPC). 305--315 . Fursin, G., O'Boyle, M., and Knijnenburg, P. 2002. Evaluating iterative compilation. In Proceedings of the Workshop on Languages and Compilers for Parallel Computers (LCPC). 305--315."},{"key":"e_1_2_1_18_1","doi-asserted-by":"publisher","DOI":"10.5555\/1128020.1128563"},{"key":"e_1_2_1_19_1","doi-asserted-by":"publisher","DOI":"10.1145\/1356058.1356080"},{"key":"e_1_2_1_20_1","volume-title":"2nd International Workshop on GCC Research Opportunities (GROW) colocated with HiPEAC'10 Conference.","author":"Huang Y.","unstructured":"Huang , Y. , Peng , L. , Wu , C. , Kashnikov , Y. , Renneke , J. , and Fursin , G . 2010. Transforming gcc into a research-friendly environment: Plugins for optimization tuning and reordering, function cloning and program instrumentation . In 2nd International Workshop on GCC Research Opportunities (GROW) colocated with HiPEAC'10 Conference. Huang, Y., Peng, L., Wu, C., Kashnikov, Y., Renneke, J., and Fursin, G. 2010. Transforming gcc into a research-friendly environment: Plugins for optimization tuning and reordering, function cloning and program instrumentation. In 2nd International Workshop on GCC Research Opportunities (GROW) colocated with HiPEAC'10 Conference."},{"key":"e_1_2_1_21_1","doi-asserted-by":"publisher","DOI":"10.5555\/517554.825767"},{"key":"e_1_2_1_22_1","doi-asserted-by":"publisher","DOI":"10.1145\/780732.780735"},{"key":"e_1_2_1_23_1","volume-title":"Proceedings of the International Symposium on Code Generation and Optimization (CGO).","author":"Lattner C.","unstructured":"Lattner , C. and Adve , V . 2004. Llvm: A compilation framework for lifelong program analysis &amp; transformation . In Proceedings of the International Symposium on Code Generation and Optimization (CGO). Lattner, C. and Adve, V. 2004. Llvm: A compilation framework for lifelong program analysis &amp; transformation. In Proceedings of the International Symposium on Code Generation and Optimization (CGO)."},{"key":"e_1_2_1_24_1","doi-asserted-by":"publisher","DOI":"10.1145\/1133981.1134010"},{"key":"e_1_2_1_25_1","unstructured":"Link-ICI. ICI: Interactive compilation interface: Unified plugin system to convert black-box production compilers into interactive research toolsets. http:\/\/cTuning.org\/ici  Link-ICI. ICI: Interactive compilation interface: Unified plugin system to convert black-box production compilers into interactive research toolsets. http:\/\/cTuning.org\/ici"},{"key":"e_1_2_1_26_1","unstructured":"Link-MiDatasets. MiDataSets: Multiple datasets for MiBench benchmark to enable realistic research on iterative compilation and adaptive optimization. http:\/\/cTuning.org\/cbench  Link-MiDatasets. MiDataSets: Multiple datasets for MiBench benchmark to enable realistic research on iterative compilation and adaptive optimization. http:\/\/cTuning.org\/cbench"},{"key":"e_1_2_1_27_1","unstructured":"Link-MILEPOST. MILEPOST project archive (machIne learning for embedded programs optimization). http:\/\/cTuning.org\/project-milepost  Link-MILEPOST. MILEPOST project archive (machIne learning for embedded programs optimization). http:\/\/cTuning.org\/project-milepost"},{"key":"e_1_2_1_28_1","unstructured":"Link-OProfile. OProfile: System-Wide profiler for Linux systems capable of profiling all running code at low overhead. http:\/\/oprofile.sourceforge.net  Link-OProfile. OProfile: System-Wide profiler for Linux systems capable of profiling all running code at low overhead. http:\/\/oprofile.sourceforge.net"},{"key":"e_1_2_1_29_1","unstructured":"Link-repository. Public collaborative repository and tools for program and architecture characterization and optimization. http:\/\/cTuning.org\/cdatabase  Link-repository. Public collaborative repository and tools for program and architecture characterization and optimization. http:\/\/cTuning.org\/cdatabase"},{"key":"e_1_2_1_30_1","volume-title":"-C","author":"Lu J.","year":"2004","unstructured":"Lu , J. , Chen , H. , Yew , P.-C. , and Hsu , W . -C . 2004 . Design and implementation of a lightweight dynamic optimization system. J. Instruction-Level Parall . 6. Lu, J., Chen, H., Yew, P.-C., and Hsu, W.-C. 2004. Design and implementation of a lightweight dynamic optimization system. J. Instruction-Level Parall. 6."},{"key":"e_1_2_1_31_1","volume-title":"Proceedings of the IEEE International Conference on Acoustics, Speech, and Signal Processing.","volume":"3","author":"Matteo F.","unstructured":"Matteo , F. and Johnson , S . 1998. FFTW: An adaptive software architecture for the FFT . In Proceedings of the IEEE International Conference on Acoustics, Speech, and Signal Processing. Vol. 3 ., 1381--1384. Matteo, F. and Johnson, S. 1998. FFTW: An adaptive software architecture for the FFT. In Proceedings of the IEEE International Conference on Acoustics, Speech, and Signal Processing. Vol. 3., 1381--1384."},{"key":"e_1_2_1_32_1","series-title":"Lecture Notes in Computer Science","volume-title":"Artificial Intelligence: Methodology, Systems, Applications","author":"Monsifrot A.","year":"2002","unstructured":"Monsifrot , A. , Bodin , F. , and Quiniou , R . 2002 . A machine learning approach to automatic production of compiler heuristics. In Proceedings of the International Conference on Artificial Intelligence: Methodology, Systems, Applications . Lecture Notes in Computer Science , vol. 2443 . Springer , 41--50. Monsifrot, A., Bodin, F., and Quiniou, R. 2002. A machine learning approach to automatic production of compiler heuristics. In Proceedings of the International Conference on Artificial Intelligence: Methodology, Systems, Applications. Lecture Notes in Computer Science, vol. 2443. Springer, 41--50."},{"key":"e_1_2_1_33_1","doi-asserted-by":"publisher","DOI":"10.1145\/1508244.1508275"},{"key":"e_1_2_1_34_1","doi-asserted-by":"publisher","DOI":"10.1109\/SC.2004.47"},{"key":"e_1_2_1_35_1","doi-asserted-by":"publisher","DOI":"10.1109\/CGO.2006.38"},{"key":"e_1_2_1_36_1","doi-asserted-by":"publisher","DOI":"10.1007\/s11227-006-7957-2"},{"key":"e_1_2_1_37_1","volume-title":"Proceedings of the Conference on Machine Learning.","author":"Singer B.","unstructured":"Singer , B. and Veloso , M . 2000. Learning to predict performance from formula modeling and training data . In Proceedings of the Conference on Machine Learning. Singer, B. and Veloso, M. 2000. Learning to predict performance from formula modeling and training data. In Proceedings of the Conference on Machine Learning."},{"key":"e_1_2_1_38_1","doi-asserted-by":"publisher","DOI":"10.1109\/CGO.2005.29"},{"key":"e_1_2_1_39_1","doi-asserted-by":"publisher","DOI":"10.1145\/781131.781141"},{"key":"e_1_2_1_41_1","volume-title":"Proceedings of the International Symposium on Code Generation and Optimization (CGO). 204--215","author":"Triantafyllis S.","unstructured":"Triantafyllis , S. , Vachharajani , M. , Vachharajani , N. , and August , D . 2003. Compiler optimization-space exploration . In Proceedings of the International Symposium on Code Generation and Optimization (CGO). 204--215 . Triantafyllis, S., Vachharajani, M., Vachharajani, N., and August, D. 2003. Compiler optimization-space exploration. In Proceedings of the International Symposium on Code Generation and Optimization (CGO). 204--215."},{"key":"e_1_2_1_42_1","volume-title":"Proceedings of the International Conference on Parallel Processing (ICPP).","author":"Voss M.","unstructured":"Voss , M. and Eigenmann , R . 2000. Adapt: Automated de-coupled adaptive program transformation . In Proceedings of the International Conference on Parallel Processing (ICPP). Voss, M. and Eigenmann, R. 2000. Adapt: Automated de-coupled adaptive program transformation. In Proceedings of the International Conference on Parallel Processing (ICPP)."},{"key":"e_1_2_1_43_1","volume-title":"Proceedings of the Conference on High Performance Networking and Computing.","author":"Whaley R.","unstructured":"Whaley , R. and Dongarra , J . 1998. Automatically tuned linear algebra software . In Proceedings of the Conference on High Performance Networking and Computing. Whaley, R. and Dongarra, J. 1998. Automatically tuned linear algebra software. In Proceedings of the Conference on High Performance Networking and Computing."},{"key":"e_1_2_1_44_1","doi-asserted-by":"publisher","DOI":"10.1109\/CGO.2005.2"}],"container-title":["ACM Transactions on Architecture and Code Optimization"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/1880043.1880047","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/1880043.1880047","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,6,18]],"date-time":"2025-06-18T10:52:16Z","timestamp":1750243936000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/1880043.1880047"}},"subtitle":["A practical collaborative approach"],"short-title":[],"issued":{"date-parts":[[2010,12]]},"references-count":43,"journal-issue":{"issue":"4","published-print":{"date-parts":[[2010,12]]}},"alternative-id":["10.1145\/1880043.1880047"],"URL":"https:\/\/doi.org\/10.1145\/1880043.1880047","relation":{},"ISSN":["1544-3566","1544-3973"],"issn-type":[{"value":"1544-3566","type":"print"},{"value":"1544-3973","type":"electronic"}],"subject":[],"published":{"date-parts":[[2010,12]]},"assertion":[{"value":"2008-11-01","order":0,"name":"received","label":"Received","group":{"name":"publication_history","label":"Publication History"}},{"value":"2010-06-01","order":1,"name":"accepted","label":"Accepted","group":{"name":"publication_history","label":"Publication History"}},{"value":"2010-12-30","order":2,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}