I Is it possible to get this values from windows registry:
Total CPU load and for each core
RAM utilization
HDD Utilization
Network upload and download speed
Number of services on the system.
I suppose that this information is stored somewhere in Windows registry.
Related
I need to optimize the app I'm working on and I can't get reliable profiling data on my development machine. The app should run on low end ARM hardware on QNX, but from logistic reasons I don't have access to the final hardware for profiling.
I've tried to do profiling on my development machine, but as you can imagine everything is so fast that I can't pin point the slow parts. I've created a Linux virtual machine with reduced memory and CPU cores count, but they are still too fast compared to the final hardware.
Is it possible to reduce the CPU clock speed/ram speed/disk speed in a virtual machine to simulate low performance hardware or is there any other way to get relevant profiling data on my development machine?
Considering the app is processing several gigabytes of data I assume disk access is a major bottleneck and limiting disk speed might help
I can use any (as in most open source and commercially available) tool/approach that runs on Windows/Linux/MacOS on real or virtual machine.
This URL describes how to limit disk bandwidth on VirtualBox images. You could run a Linux VM on Virtualbox and use this method to limit disk access speeds, turn off Disk Caching using suggestions from this answer and profile your application. Alternatively you can download QNX SDP, which comes with the option of a prebuilt x86_64 Virtual Machine image that can be run using VMWare/Virtualbox/qemu
My previous experiences with QNX on armv7 and x86_64 suggest that the devb-sdmmc driver is possibly a bottleneck when working with a lot of big files being read from flash storage. devb-sdmmc and io-blk often require fine tuning of the drivers with proper cache, block, read-ahead size and other parameters helps improve disk access performance.
I have had created VM instances using google cloud platform (using console). The VM is a based on WINDOWS SERVER 2019! I have been successful in making one but unable to get some virtual ram in the instances. It (VRAM) shows zero. Does adding GPU not increase the vram? If not then what increases them? I am looking to increase the same for gaming purposes and using software like ADOBE AND AUTODESK too...
Instances created with additional GPU's (Like Tesla K80 and other) have all specified amount of GPU memory (VRAM).
You can find list of all GPU's in the documentation.
Every GPU has an amount of memory specified in the table.
If you create a VM with one K80 GPU it will kave 16GB of DDR6 memory available (nothing to do with the type of the machine or actual RAM assigned).
You can find how much of VRAM a GPU has in the Device manager; find "Display adapters" and expand it and find your card; it's all in the "general" tab.
And regarding any Adobe or Autodesk software I can't really tell if having Tesla will be of advantage..
I have installed Jenkins on a virtual OS. Whenever I start the Jenkins service the physical memory goes up to 94%. Then it never reduces. So my system becomes very slow and unresponsive. As a result the Jenkins web page becomes slow. I have allocated 4GB for RAM. Is there any way to speed up my machine to restrict the memory use for Jenkins?
There is a utility consume.exe that comes with Windows Server 2003 Resource Toolkit that can be used to max out CPU utilization, or fill up physical memory or disk-space, or even fill up the page-file. When run in the page-file mode, this tool does not seem to consume the physical memory first (there is no change in free-bytes)
If I were to implement a similar tool, how would I use the pagefile before using up physical memory? (Let's say I'm using C#/.net)
I have one physical machine which has 4 CPUs. I want to have some VM on it. The goal of my work is finding CPU utilization. But I am confused how the CPU usage of VMs and physical machine are related. Is there a relation between CPU utilization of VMs and physical machine? How should I measure the CPU utilization of each VM? What is the CPU utilization of the physical machine?
If you are using any xen enabled hypervisor, you can use xenmon or xentop in your Dom0(physical machine) to check the utilization or performance of your VMs.
You can do so by typing xentop(it is /usr/sbin/xentop in my case) on the command line which will give you all the info you are looking for. Alternatively you can use xenmon -l command (/usr/sbin/xenmon.py python script) in my case which shows all the live information about your VMs.