{"id":{"repo_id":"nps","oai_identifier":"oai:calhoun.nps.edu:10945/46226"},"canonical_url":"https://search.ndltd.org/etd/nps/oai:calhoun.nps.edu:10945/46226","repository":{"repo_id":"nps","name":"Naval Postgraduate School","base_url":"https://calhoun.nps.edu/server/oai/request"},"display":{"title":"Empirical Performance Comparison of Hardware and Software Task Context Switching","abstract":"There are many divergent opinions regarding possible differences between the performance of hardware and software context switching implementations. However, there are no concrete empirical measures of their true differences. Using an empirical testing methodology, this research performed seven experiments, collecting quantitative performance results on hardware and software-based context switch implementations with two and four hardware privilege level support. The implementations measured are the hardware-based Intel IA-32 context switch, the software-based MINIX 3 context switch, a software-based simulation of a MINIX 3 context switch with four hardware privileged level support, and a software-based simulation of an Intel IA-32 hardware context switch. Experiments were executed using the Trusted Computing Exemplar Least Privilege Separation Kernel and the Linux 2.6 Kernel. The results include the number of cycles and time required to complete processing of each implementation. This study concludes that the hardware-based context switching mechanism is significantly slower than software implementation, even those that simulate the elaborate checks of the hardware implementation. A possible reason for this is posited.","abstract_html":"There are many divergent opinions regarding possible differences between the performance of hardware and software context switching implementations. However, there are no concrete empirical measures of their true differences. Using an empirical testing methodology, this research performed seven experiments, collecting quantitative performance results on hardware and software-based context switch implementations with two and four hardware privilege level support. The implementations measured are the hardware-based Intel IA-32 context switch, the software-based MINIX 3 context switch, a software-based simulation of a MINIX 3 context switch with four hardware privileged level support, and a software-based simulation of an Intel IA-32 hardware context switch. Experiments were executed using the Trusted Computing Exemplar Least Privilege Separation Kernel and the Linux 2.6 Kernel. The results include the number of cycles and time required to complete processing of each implementation. This study concludes that the hardware-based context switching mechanism is significantly slower than software implementation, even those that simulate the elaborate checks of the hardware implementation. A possible reason for this is posited.","abstract_has_math":false,"creators":["Schultz, Eric A."],"institution":"Monterey, California. Naval Postgraduate School","degree_name":"M.S. in Computer Science","degree_level":"Masters","degree_discipline":"Computer Science","degree_department":"Computer Science","school":null,"contributors":[],"advisors":["Irvine, Cynthia E."],"committee_chairs":[],"committee_members":["Shifflett, David J."],"year":2009,"date_issued":"2009-06","date_published":"2009-06","updated_at":"2026-11-19T06:35:56Z","subjects":[],"languages":[],"rights":["This publication is a work of the U.S. Government as defined in Title 17, United States Code, Section 101. Copyright protection is not available for this work in the United States.","Approved for public release; distribution is unlimited."],"rights_urls":[],"identifier_entries":[],"person_identifier_entries":[]},"links":{"outbound_url":"https://hdl.handle.net/10945/46226","outbound_label":"Handle","outbound_source":"dc:identifier.uri","record_url":"https://hdl.handle.net/10945/46226","record_label":"Repository record","record_kind":"handle","record_source":"dc:identifier.uri","access_status":null,"embargo_until":null,"access_note":null},"source_record":{"url":"https://calhoun.nps.edu/server/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Acalhoun.nps.edu%3A10945%2F46226","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.advisor","label":"Advisor","values":["Irvine, Cynthia E."]},{"key":"dc:contributor.committeemember","label":"Committee Member","values":["Shifflett, David J."]},{"key":"dc:contributor.department","label":"Department","values":["Computer Science"]},{"key":"dc:creator","label":"Author","values":["Schultz, Eric A."]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date","label":"Dc Date","values":["June 2009"]},{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2015-08-26T00:26:15Z"]},{"key":"dc:date.available","label":"Dc Date Available","values":["2015-08-26T00:26:15Z"]},{"key":"dc:date.issued","label":"Date","values":["2009-06"]},{"key":"dc:publisher","label":"Institution","values":["Monterey, California. Naval Postgraduate School"]},{"key":"dc:type","label":"Dc Type","values":["Thesis"]},{"key":"thesis:degree_discipline","label":"Discipline","values":["Computer Science"]},{"key":"thesis:degree_level","label":"Degree Level","values":["Masters"]},{"key":"thesis:degree_name","label":"Degree Name","values":["M.S. in Computer Science"]},{"key":"thesis:institution_name","label":"Thesis Institution Name","values":["Naval Postgraduate School"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject.keyword","label":"Dc Subject Keyword","values":["Performance","Context Switch","Task Switch","TCX","LPSK","Intel","IA-32","MINIX 3"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:rights","label":"Dc Rights","values":["This publication is a work of the U.S. Government as defined in Title 17, United States Code, Section 101. Copyright protection is not available for this work in the United States.","Approved for public release; distribution is unlimited."]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://hdl.handle.net/10945/46226"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["There are many divergent opinions regarding possible differences between the performance of hardware and software context switching implementations. However, there are no concrete empirical measures of their true differences. Using an empirical testing methodology, this research performed seven experiments, collecting quantitative performance results on hardware and software-based context switch implementations with two and four hardware privilege level support. The implementations measured are the hardware-based Intel IA-32 context switch, the software-based MINIX 3 context switch, a software-based simulation of a MINIX 3 context switch with four hardware privileged level support, and a software-based simulation of an Intel IA-32 hardware context switch. Experiments were executed using the Trusted Computing Exemplar Least Privilege Separation Kernel and the Linux 2.6 Kernel. The results include the number of cycles and time required to complete processing of each implementation. This study concludes that the hardware-based context switching mechanism is significantly slower than software implementation, even those that simulate the elaborate checks of the hardware implementation. A possible reason for this is posited."]},{"key":"dc:description.uri","label":"Dc Description URI","values":["http://archive.org/details/empiricalperform1094546226"]},{"key":"dc:title","label":"Title","values":["Empirical Performance Comparison of Hardware and Software Task Context Switching"]},{"key":"dspace:entity.type","label":"Dspace Entity Type","values":["Publication"]},{"key":"local:contributor.affiliation","label":"Local Contributor Affiliation","values":["Civilian, Naval Postgraduate School"]}]}],"canonical_facts":{"dc:contributor.advisor":["Irvine, Cynthia E."],"dc:contributor.committeemember":["Shifflett, David J."],"dc:contributor.department":["Computer Science"],"dc:creator":["Schultz, Eric A."],"dc:date":["June 2009"],"dc:date.accessioned":["2015-08-26T00:26:15Z"],"dc:date.available":["2015-08-26T00:26:15Z"],"dc:date.issued":["2009-06"],"dc:description.abstract":["There are many divergent opinions regarding possible differences between the performance of hardware and software context switching implementations. However, there are no concrete empirical measures of their true differences. Using an empirical testing methodology, this research performed seven experiments, collecting quantitative performance results on hardware and software-based context switch implementations with two and four hardware privilege level support. The implementations measured are the hardware-based Intel IA-32 context switch, the software-based MINIX 3 context switch, a software-based simulation of a MINIX 3 context switch with four hardware privileged level support, and a software-based simulation of an Intel IA-32 hardware context switch. Experiments were executed using the Trusted Computing Exemplar Least Privilege Separation Kernel and the Linux 2.6 Kernel. The results include the number of cycles and time required to complete processing of each implementation. This study concludes that the hardware-based context switching mechanism is significantly slower than software implementation, even those that simulate the elaborate checks of the hardware implementation. A possible reason for this is posited."],"dc:description.uri":["http://archive.org/details/empiricalperform1094546226"],"dc:identifier.uri":["https://hdl.handle.net/10945/46226"],"dc:publisher":["Monterey, California. Naval Postgraduate School"],"dc:rights":["This publication is a work of the U.S. Government as defined in Title 17, United States Code, Section 101. Copyright protection is not available for this work in the United States.","Approved for public release; distribution is unlimited."],"dc:subject.keyword":["Performance","Context Switch","Task Switch","TCX","LPSK","Intel","IA-32","MINIX 3"],"dc:title":["Empirical Performance Comparison of Hardware and Software Task Context Switching"],"dc:type":["Thesis"],"dspace:entity.type":["Publication"],"local:contributor.affiliation":["Civilian, Naval Postgraduate School"],"thesis:degree_discipline":["Computer Science"],"thesis:degree_level":["Masters"],"thesis:degree_name":["M.S. in Computer Science"],"thesis:institution_name":["Naval Postgraduate School"]},"updated_at":"2026-11-19T06:35:56Z"}