COMPUTING SYSTEMS AND METHODS WITH FUNCTIONALITIES OF PERFORMANCE MONITORING OF THE UNDERLYING INFRASTRUCTURE IN LARGE EMULATED SYSTEM
A computing system configured to optimize computing resources distribution includes a hardware platform which includes a physical instruction processor (IP); a kernel structure executed on the hardware platform which includes an emulated IP; an emulated operating system executed on the kernel structure; and a performance monitor executed on the emulated operating system. The performance monitor interrogates the emulated IP to obtain performance information which includes a time of executing an instruction at the kernel structure; a time of executing an instruction at an application software level; bytes received by the emulated IP through a networking interface; and bytes transmitted by the emulated IP through the networking interface.
1 . A computing system configured to optimize computing resources distribution, comprising
a hardware platform, the hardware platform including a physical instruction processor (IP);
a kernel structure executed on the hardware platform, the kernel structure including an emulated IP;
an emulated operating system executed on the kernel structure; and
a performance monitor executed on the emulated operating system;
wherein the performance monitor interrogates the emulated IP to obtain performance information, the performance information including
a time of executing an instruction at the kernel structure;
a time of executing an instruction at an application software level;
bytes received by the emulated IP through a networking interface; and
bytes transmitted by the emulated IP through the networking interface.
2 . The computing system according to claim 1 , the performance information further including
an amount of total memory available; and
an amount of free memory available.
3 . The computing system according to claim 1 , the performance information further including
an amount of memory used as buffers by the kernel structure; and
an amount of memory used as cache by the kernel structure.
4 . The computing system according to claim 1 , the performance information further including
an amount of memory need for current workload.
5 . The computing system according to claim 1 , the performance information further including
a number of memory the computing system has paged in from a disk; and
a number of memory that computing system has paged out to a disk.
6 . The computing system according to claim 1 , the performance information further including
whether a read is completed;
a time spent by the emulated IP on the read;
whether a write is completed; and
a time spent by the emulated IP on the write.
7 . The computing system according to claim 1 , further including
a commodity OS, wherein the emulated OS is executed within the commodity OS.
8 . The computing system according to claim 1 , wherein the emulated IP is executed only on the physical IP.
9 . The computing system according to claim 9 , wherein the physical IP hosts another emulated IP.
10 . The computing system according to claim 1 , further including
a compiler that translates instruction execution counts of the emulated IP to instruction execution counts of the physical IP.
11 . A computer program product configured to optimize computing resources distribution, comprising:
a hardware platform, the hardware platform including a physical instruction processor (IP) and a non-transitory computer-readable medium;
a kernel structure executed on the hardware platform, the kernel structure including an emulated IP; and
an emulated operating system executed on the kernel structure; and
the non-transitory computer-readable medium comprising instructions which, when executed by the emulated IP, cause the emulated IP to send performance information to the computer program, the performance information including
a time of executing an instruction at the kernel structure;
a time of executing an instruction at an application software level;
bytes received by the emulated IP through a networking interface; and
bytes transmitted by the emulated IP through the networking interface.
12 . The computer program product of claim 11 , the performance information further including
an amount of total memory available; and
an amount of free memory available.
13 . The computer program product of claim 11 , the performance information further including
an amount of memory used as buffers by the kernel structure; and
an amount of memory used as cache by the kernel structure.
14 . The computer program product of claim 11 , the performance information further including
an amount of memory need for current workload.
15 . The computer program product of claim 11 , the performance information further including
a number of memory the computer program product has paged in from a disk; and
a number of memory the computer program product has paged out to a disk.
16 . The computer program product of claim 11 , the performance information further including
whether a read is completed;
a time spent by the emulated IP on the read;
whether a write is completed; and
a time spent by the emulated IP on the write. 17 . The computer program product of claim 11 , further including
a commodity OS, wherein the emulated OS is executed within the commodity OS.
18 . The computer program product of claim 11 , wherein the emulated IP is executed only on the physical IP.
19 . The computer program product of claim 18 , wherein the physical IP hosts another emulated IP.
20 . The computer program product of claim 11 , further including
a compiler that translates instruction execution counts of the emulated IP to instruction execution counts of the physical IP.