{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2025,6,19]],"date-time":"2025-06-19T04:38:43Z","timestamp":1750307923829,"version":"3.41.0"},"reference-count":58,"publisher":"Association for Computing Machinery (ACM)","issue":"1","license":[{"start":{"date-parts":[[2008,5,1]],"date-time":"2008-05-01T00:00:00Z","timestamp":1209600000000},"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":[[2008,5]]},"abstract":"<jats:p>\n            Modern computer systems are called on to deal with billions of events every second, whether they are executed instructions, accessed memory locations, or forwarded packets. This presents a serious challenge to those who seek to quantify, analyze, or optimize such systems, because important trends and behaviors may easily be lost in a sea of data. We present range-adaptive profiling (RAP) as a new and general-purpose profiling method capable of\n            <jats:italic>hierarchically<\/jats:italic>\n            efficiently classifying streams of data in hardware. Through the use of RAP, events in an input stream are dynamically classified into increasingly precise categories, based on the frequency with which they occur. The more important a class, or range of events, the more precisely it is quantified. Despite the dynamic nature of our technique, we build upon tight theoretic bounds covering both worst-case error, as well as the required memory. In the limit, it is known that error and the memory bounds can be\n            <jats:italic>independent<\/jats:italic>\n            of the stream size and grow only linearly with the level of precision desired. Significantly, we expose the critical constants in these algorithms and through careful engineering, algorithm redesign, and use of heuristics, we show how a high-performance profile system can be implemented for range-adaptive profiling. RAP can be used on various profiles, such as PCs, load values, and memory addresses, and has a broad range of uses, from hot-region profiling to quantifying cache miss value locality. We propose two methods of implementation of RAP, one in software and the other with specialized hardware, for which we also describe our prototype FPGA implementation. We show that with just 8KB of memory, range profiles can be gathered with an average accuracy of 98%.\n          <\/jats:p>","DOI":"10.1145\/1369396.1369398","type":"journal-article","created":{"date-parts":[[2008,6,3]],"date-time":"2008-06-03T15:11:43Z","timestamp":1212505903000},"page":"1-32","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":1,"title":["Formulating and implementing profiling over adaptive ranges"],"prefix":"10.1145","volume":"5","author":[{"given":"Shashidhar","family":"Mysore","sequence":"first","affiliation":[{"name":"University of California, Santa Barbara, California"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Banit","family":"Agrawal","sequence":"additional","affiliation":[{"name":"University of California, Santa Barbara, California"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Rodolfo","family":"Neuber","sequence":"additional","affiliation":[{"name":"University of California, Santa Barbara, California"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Timothy","family":"Sherwood","sequence":"additional","affiliation":[{"name":"University of California, Santa Barbara, California"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Nisheeth","family":"Shrivastava","sequence":"additional","affiliation":[{"name":"University of California, Santa Barbara, California"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Subhash","family":"Suri","sequence":"additional","affiliation":[{"name":"University of California, Santa Barbara, California"}],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"320","published-online":{"date-parts":[[2008,5,29]]},"reference":[{"volume-title":"Proceedings of IEEE International Symposium on Performance Analysis of Systems and Software (ISPASS)","author":"Agrawal B.","key":"e_1_2_1_1_1"},{"key":"e_1_2_1_2_1","doi-asserted-by":"publisher","DOI":"10.1145\/265924.265925"},{"key":"e_1_2_1_3_1","doi-asserted-by":"publisher","DOI":"10.1145\/378795.378832"},{"volume-title":"International Symposium on Microarchitecture. 46--57","author":"Ball T.","key":"e_1_2_1_4_1"},{"volume-title":"Proceedings of the 5th International Symposium on High-Performance Computer Architecture. IEEE Computer Society","author":"Brooks D.","key":"e_1_2_1_5_1"},{"key":"e_1_2_1_6_1","doi-asserted-by":"publisher","DOI":"10.1145\/339647.339657"},{"key":"e_1_2_1_7_1","doi-asserted-by":"publisher","DOI":"10.1177\/109434200001400404"},{"key":"e_1_2_1_8_1","doi-asserted-by":"publisher","DOI":"10.1145\/996821.996833"},{"volume-title":"International Symposium on Microarchitecture. 259--269","author":"Calder B.","key":"e_1_2_1_9_1"},{"key":"e_1_2_1_10_1","doi-asserted-by":"publisher","DOI":"10.1145\/378795.378840"},{"key":"e_1_2_1_11_1","doi-asserted-by":"publisher","DOI":"10.1145\/512529.512554"},{"key":"e_1_2_1_12_1","doi-asserted-by":"publisher","DOI":"10.1145\/192724.192726"},{"volume-title":"International Symposium on Microarchitecture. 36--45","author":"Conte T. M.","key":"e_1_2_1_13_1"},{"key":"e_1_2_1_14_1","unstructured":"Corporation D. E. 1995. Alpha 21164 Microprocessor Hardware Reference Manual.  Corporation D. E. 1995. Alpha 21164 Microprocessor Hardware Reference Manual."},{"key":"e_1_2_1_15_1","unstructured":"Corporation I. 1997. Pentium(r) Pro Processor Developer's Manual. McGraw-Hill New York.  Corporation I. 1997. Pentium(r) Pro Processor Developer's Manual. McGraw-Hill New York."},{"volume-title":"International Symposium on Microarchitecture. 292--302","author":"Dean J.","key":"e_1_2_1_16_1"},{"key":"e_1_2_1_17_1","doi-asserted-by":"publisher","DOI":"10.1145\/378993.379241"},{"key":"e_1_2_1_18_1","doi-asserted-by":"publisher","DOI":"10.1145\/863955.863972"},{"key":"e_1_2_1_19_1","unstructured":"fs2. First Silicon Solutions. Home page. http:\/\/www.fs2.com.  fs2. First Silicon Solutions. Home page. http:\/\/www.fs2.com."},{"key":"e_1_2_1_20_1","unstructured":"Fung W. W. and Sachdev M. 2004. High performance priority encoder for content addressable memories. In Micronet R&D Annual Workshop.  Fung W. W. and Sachdev M. 2004. High performance priority encoder for content addressable memories. In Micronet R&D Annual Workshop."},{"volume-title":"IEEE International Conference on Computer Languages (ICCL). 230--239","author":"Gupta R.","key":"e_1_2_1_21_1"},{"key":"e_1_2_1_22_1","doi-asserted-by":"publisher","DOI":"10.1145\/360128.360156"},{"key":"e_1_2_1_23_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-540-30551-4_46"},{"key":"e_1_2_1_24_1","unstructured":"Hewlett-Packard. 1994. PA-RISC 1.1 Architecture and Instruction Set Reference Manual.  Hewlett-Packard. 1994. PA-RISC 1.1 Architecture and Instruction Set Reference Manual."},{"volume-title":"Proceedings of the 4th ACM Workshop on Feedback-Directed and Dynamic Optimization (FDDO-4).","author":"Hirzel M.","key":"e_1_2_1_25_1"},{"key":"e_1_2_1_26_1","unstructured":"Inc M. T. 1995. Mips R10000 Microprocessor User's Manual.  Inc M. T. 1995. Mips R10000 Microprocessor User's Manual."},{"volume-title":"Proceedings of the 30th IEEE\/ACM International Symposium on Microarchitecture (MICRO).","author":"Jacobson Q.","key":"e_1_2_1_27_1"},{"key":"e_1_2_1_28_1","doi-asserted-by":"publisher","DOI":"10.5555\/522344.825703"},{"volume-title":"IEEE Symposium on Security and Privacy. 285--293","author":"Kruegel C.","key":"e_1_2_1_29_1"},{"key":"e_1_2_1_30_1","doi-asserted-by":"publisher","DOI":"10.1109\/90.779199"},{"key":"e_1_2_1_31_1","doi-asserted-by":"publisher","DOI":"10.1145\/301618.301678"},{"volume-title":"ISBN Proceedings.","author":"Li X.","key":"e_1_2_1_32_1"},{"volume-title":"Proceedings of the 29th IEEE\/ACM International Symposium on Microarchitecture (MICRO). 226--237","author":"Lipasti M. H.","key":"e_1_2_1_33_1"},{"key":"e_1_2_1_34_1","doi-asserted-by":"publisher","DOI":"10.5555\/774861.774903"},{"key":"e_1_2_1_35_1","doi-asserted-by":"publisher","DOI":"10.1145\/1065010.1065034"},{"key":"e_1_2_1_36_1","doi-asserted-by":"publisher","DOI":"10.1109\/CGO.2006.30"},{"volume-title":"International Symposium on High-Performance Computer Architecture. 269--280","author":"Narayanasamy S.","key":"e_1_2_1_37_1"},{"key":"e_1_2_1_38_1","doi-asserted-by":"crossref","unstructured":"Pagiamtziz K. and Sheikholeslami A. 2004. A low-power content-addressable memory (CAM) using pipelined hierarchical search engine. IEEE J. Solid-State Circuits.  Pagiamtziz K. and Sheikholeslami A. 2004. A low-power content-addressable memory (CAM) using pipelined hierarchical search engine. IEEE J. Solid-State Circuits.","DOI":"10.1109\/JSSC.2004.831433"},{"key":"e_1_2_1_39_1","doi-asserted-by":"crossref","unstructured":"Pagiamtzis K. and Sheikholeslami A. 2006. Content-addressable memory (CAM) circuits and architectures: A tutorial and survey. IEEE J. Solid-State Circuits. 41.  Pagiamtzis K. and Sheikholeslami A. 2006. Content-addressable memory (CAM) circuits and architectures: A tutorial and survey. IEEE J. Solid-State Circuits. 41.","DOI":"10.1109\/JSSC.2005.864128"},{"volume-title":"ACM Workshop on Feedback-Directed and Dynamic Optimization.","author":"Peri R. V.","key":"e_1_2_1_40_1"},{"key":"e_1_2_1_41_1","doi-asserted-by":"publisher","DOI":"10.1145\/503272.503287"},{"key":"e_1_2_1_42_1","doi-asserted-by":"publisher","DOI":"10.1109\/65.912716"},{"key":"e_1_2_1_43_1","doi-asserted-by":"publisher","DOI":"10.1145\/379240.379273"},{"key":"e_1_2_1_44_1","unstructured":"Shivakumar P. and Jouppi N. 2001\/2. Cacti 3.0: An Integrated Cache Timing Power and Area Model.  Shivakumar P. and Jouppi N. 2001\/2. Cacti 3.0: An Integrated Cache Timing Power and Area Model."},{"key":"e_1_2_1_45_1","doi-asserted-by":"publisher","DOI":"10.1145\/178243.178260"},{"key":"e_1_2_1_46_1","doi-asserted-by":"publisher","DOI":"10.1145\/296502.296503"},{"key":"e_1_2_1_47_1","doi-asserted-by":"publisher","DOI":"10.1145\/296502.296503"},{"volume-title":"Vulcan: Binary transformation in a distributed environment. Technical report msr-tr-2001-50. Microsoft Research.","year":"2001","author":"Srivastava A.","key":"e_1_2_1_48_1"},{"volume-title":"Proceedings of the 35th International Symposium on Microarchitecture","author":"Wang H.","key":"e_1_2_1_49_1"},{"key":"e_1_2_1_50_1","first-page":"10","article-title":"High-speed and low-power CMOS priority encoders","volume":"35","author":"Wang J.","year":"2000","journal-title":"IEEE J. Solid-State Circuits"},{"key":"e_1_2_1_51_1","doi-asserted-by":"publisher","DOI":"10.1145\/581888.581894"},{"key":"e_1_2_1_52_1","doi-asserted-by":"publisher","DOI":"10.1145\/360128.360154"},{"volume-title":"IEEE\/ACM International Symposium on Microarchitecture (MICRO). 115--123","author":"Young C.","key":"e_1_2_1_53_1"},{"key":"e_1_2_1_54_1","doi-asserted-by":"publisher","DOI":"10.1145\/378795.378835"},{"key":"e_1_2_1_55_1","doi-asserted-by":"publisher","DOI":"10.1109\/MICRO.2004.37"},{"key":"e_1_2_1_56_1","doi-asserted-by":"publisher","DOI":"10.1145\/859618.859656"},{"volume-title":"Proceedings of the 31st Annual International Symposium on Computer Architecture (ISCA'04)","author":"Zhou P.","key":"e_1_2_1_57_1"},{"volume-title":"the 7th International Symposium on High Performance Computer Architecture.","author":"Zilles C.","key":"e_1_2_1_58_1"}],"container-title":["ACM Transactions on Architecture and Code Optimization"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/1369396.1369398","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/1369396.1369398","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,6,18]],"date-time":"2025-06-18T14:51:43Z","timestamp":1750258303000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/1369396.1369398"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2008,5]]},"references-count":58,"journal-issue":{"issue":"1","published-print":{"date-parts":[[2008,5]]}},"alternative-id":["10.1145\/1369396.1369398"],"URL":"https:\/\/doi.org\/10.1145\/1369396.1369398","relation":{},"ISSN":["1544-3566","1544-3973"],"issn-type":[{"type":"print","value":"1544-3566"},{"type":"electronic","value":"1544-3973"}],"subject":[],"published":{"date-parts":[[2008,5]]},"assertion":[{"value":"2007-03-01","order":0,"name":"received","label":"Received","group":{"name":"publication_history","label":"Publication History"}},{"value":"2007-11-01","order":1,"name":"accepted","label":"Accepted","group":{"name":"publication_history","label":"Publication History"}},{"value":"2008-05-29","order":2,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}