Abstracting a multithreaded processor core to a single threaded processor core
AssigneeHewlett-Packard Development Company, L.P.
InventorsScott J. Norton, Hyun Kim
Life of this patent
Estimating the term…
Abstract
In an embodiment of the invention, an apparatus and method to abstract a multithreaded processor core to single threaded processor core include performing the steps of: viewing, by an operating system, a first hardware thread and a second hardware thread in a processor core; and viewing, by a user application, the first hardware thread and the second hardware thread as a single CPU object.
Claims6
A system comprising non-transitory tangible computer-readable storage media encoded with operating-system code configured to, when executed by a multi-threaded multi-core processor:
- recognize and schedule processes for execution on each of plural hardware threads of said processor;
- and
- represent said processor to a client application as having multiple cores with a single hardware thread per core only while an attribute for said client application is not set, said operating-system code being further configured to, when said attribute is set, represent each of said hardware threads to said client application.
A method comprising:
- recognizing and scheduling processes for execution on each of plural hardware threads of a processor;
- and
- representing said processor to a client application as having multiple cores with a single hardware thread per core only while an attribute for said client application is not set, said operating-system code being further configured to, when said attribute is set, represent each of said hardware threads to said client application.
An apparatus comprising:
- a computer system including a processor and an operating system, wherein the operating system:
- recognizes and schedules processes for execution on each of plural hardware threads of said processor;
- and
- represents said processor to a client application as having multiple cores with a single hardware thread per core only while an attribute for said client application is not set, said operating-system code being further configured to, when said attribute is set, represent each of said hardware threads to said client application.
Dependencies are inferred from the claim text.