search for: cputimes

Displaying 20 results from an estimated 74 matches for "cputimes".

Did you mean: cputime
2010 Aug 14
1
cpuTimes and qemu-kvm on F13
http://libvirt.org/html/libvirt-libvirt.html#virDomainInfo http://libvirt.org/html/libvirt-libvirt.html#virVcpuInfo Both virDomainInfo and virVcpuInfo have a nanosecond cpuTime field. How do the two related to one another? With some experiementing, it appears the virDomainInfo::cpuTime is equal to the host CPU time used by the qemu-kvm process for the domain. It also appears that the
2015 Jul 24
0
Re: virsh dominfo does not show correct cpuTime
I was getting vCPU use time outside of guest with libvirt-python API, and them calculate utilization with (cpuTime2 - cpuTime1) / (t2 - t1). I was not doing this inside the guest os. 2015-07-24 15:09 GMT+08:00 2020human <human2020@qq.com>: > You calculate is vCPU use time not utilization。 > > use_time/total_cpu_time is utilization。 > > total_cpu_time=`cat /proc/stat |sed -n
2007 Aug 20
0
[PATCH 3/4] modify account_system_time() to update guest time in cpustat and task_struct
[PATCH 3/4] modify account_system_time() to add cputime to cpustat->guest i= f we are running a VCPU. We add this cputime to cpustat->user instead of cpustat->system because this part of KVM code is in fact user code although= it is executed in the kernel. We duplicate VCPU time between guest and user to allow an unmodified "top(1)" to display correct value. A modified
2007 Aug 20
0
[PATCH 3/4] modify account_system_time() to update guest time in cpustat and task_struct
[PATCH 3/4] modify account_system_time() to add cputime to cpustat->guest i= f we are running a VCPU. We add this cputime to cpustat->user instead of cpustat->system because this part of KVM code is in fact user code although= it is executed in the kernel. We duplicate VCPU time between guest and user to allow an unmodified "top(1)" to display correct value. A modified
2007 Aug 20
4
[PATCH 0/4] Virtual Machine Time Accounting
The aim of these four patches is to introduce Virtual Machine time accounting. _Ingo_, as these patches modify files of the scheduler, could you have a look to them, please ? [PATCH 1/4] as recent CPUs introduce a third running state, after "user" and "system", we need a new field, "guest", in cpustat to store the time used by the CPU to run virtual CPU. Modify
2007 Aug 20
4
[PATCH 0/4] Virtual Machine Time Accounting
The aim of these four patches is to introduce Virtual Machine time accounting. _Ingo_, as these patches modify files of the scheduler, could you have a look to them, please ? [PATCH 1/4] as recent CPUs introduce a third running state, after "user" and "system", we need a new field, "guest", in cpustat to store the time used by the CPU to run virtual CPU. Modify
2015 Jul 24
0
virsh dominfo does not show correct cpuTime
Hi, I am doing some domain resource monitoring work. I use cat /dev/urandom | md5sum to simulate vCPU load and write a script to calculate vCPU utilization. It seems all good at the beginning. After I abort the ``cat ... md5sum`` command in domain, I see some strange data as below: CPU time: 8410960000000 CPU util: 99.8410609331% CPU time: 8411970000000 CPU util: 100.843672381% CPU time:
2011 Dec 20
0
sedf: remove useless tracing printk and harmonize comments style.
sched_sedf.c used o have its own mechanism for producing tracing-alike kind of information (domain block, wakeup, etc.). Nowadays, with an even not so high number of pCPUs/vCPUs, just trying to enable this makes the serial console completely unusable, produces tons of very hard to parse and interpreet logging and can easily livelock Dom0. Moreover, pretty much the same result this is struggling to
2009 May 04
0
to the person who asked about dividing by the base row
to whomever that was. i deleted your email but I think below does what you want. as always, there's probably some improvement that could be done. whether it's ? minor or major, i'm not sure ? also, 3 things:? ? A)there are some Inf's in the output because of division by zero but I wasn't sure how you wanted to handle that. B) it also assumes that an n=1
2007 Aug 13
1
[kvm-devel] [PATCH 0/2][KVM] guest time accounting
Laurent Vivier wrote: > The aim of these two patches is to measure the CPU time used by a virtual > machine. All comments are welcome... I'm not sure it's the good way to do that. > > [PATCH 1/2] introduce a new field, "guest", in cpustat to store the time used by > the CPU to run virtual CPU. Modify /proc/stat to display this new field. > > [PATCH 2/2]
2007 Aug 13
1
[kvm-devel] [PATCH 0/2][KVM] guest time accounting
Laurent Vivier wrote: > The aim of these two patches is to measure the CPU time used by a virtual > machine. All comments are welcome... I'm not sure it's the good way to do that. > > [PATCH 1/2] introduce a new field, "guest", in cpustat to store the time used by > the CPU to run virtual CPU. Modify /proc/stat to display this new field. > > [PATCH 2/2]
2009 May 04
2
Calculating relative ratios in a data frame..
I have a data-set that is structured as follows: sp wg n v.realtime v.cputime v.tcputime v.idletime v.nswtch 9 0 1 1 28.61300 28.61 28.6039 0.00000e+00 407 1563 0 1 2 15.20270 30.38 28.5981 9.80523e-01 483 3128 0 1 4 12.50930 50.00 28.6053 1.07877e+01 489 4682 0 1 6 12.10260 72.55
2013 Feb 28
1
The accurate CPU usage of a domain?
Hi,all I want to get a relatively accurate cpu usage of a domain. I have a few questions about virDomainGetInfo: struct virDomainInfo{ unsigned char state : //the running state, one of virDomainState unsigned long maxMem :// the maximum memory in KBytes allowed unsigned long memory :// the memory in KBytes used by the domain unsigned short nrVirtCpu :// the number of virtual CPUs for the
2010 May 31
1
Monitoring KVM Machine Uptimes
...my bachelor-thesis. Eucalyptus bases on libvirt providing the KVM machines. Part of the thesis is kind of measurement for the uptimes of each instance in the cloud. As Eucalyptus is based on libvirt, i want to know if there is kind of tool already setup for monitoring a vm in terms of uptimes, cputimes and disk i/o. If not, can anyone give me a hint, how i could grep these facts? I found a tool called "virt-top" which monitors the vm, but for me there is to much overhead. Thanks for you support. cheers, Karsten
2011 Sep 13
1
cpu time totals
Hi! I'm comparing the cpu usage of a VM from virDomainGetInfo and the usages returned per-vcpu from virDomainGetVcpus and the totals do not match up. I expect that the cpu usages reported per-vcpu, when summed, should equal the total cpu usage of the domain, but there is quite a large gap between them. Is there something I'm missing? See this example code using the python
2003 Jun 14
1
rsync out of memory problem
Using an rsync (V2.5.6, Tru64 Unix 5.1A) command of the form: rsync -avz --delete /some/dir remhost:/some/other/dir where /some/dir has about 460,000 files in it, I get: building file list ... done ERROR: out of memory in make_file rsync error: error allocating core memory buffers (code 22) at /usr/common/src/rsync-2.5.6/util.c(115) rsync: connection unexpectedly closed (8 bytes read so far)
2014 Jul 05
1
Source code of virt-manager
Hi,     Does anyone know where I could view the source code of virt-manager? Because I'm trying to learn how the virt-manager gets the CPU usage of a VM(the graph it displays). I'm trying to make a program using java that gets the CPU usage of a VM in KVM. Anybody have suggestions on where I could start?Thanks regards, Marco
2005 Nov 20
1
Lots of "write_data: write failure in writing to client" and "Error writing 4 bytes to client. -1"
Last week we installed Samba 3.0.20b on one of our servers, worked fine and does it's job well. But today the load was rising due two smbd processes taking up all cputime. While looking for hints on what was going on the logfiles show two types of errors (I don't know at this time if it has anything to do with the load spike): lib/util_sock.c:write_data(554) write_data: write failure in
2008 Dec 07
2
R in a sandbox/jail
Someone recently suggested building a system for automatically testing student's R programs. They would upload them to our Virtual Learning Environment, which would then run the code on some inputs and see if it got the right output. If it does, the student scores points for that course. My first thought was "you want to run unchecked, student-submitted code on a server that has access
2010 Nov 03
2
ESX(i) implemented functions
Dear All, I would like to know what functions and classes are implemented in the ESX(i) driver ? i am trying to use virsh to retrieve some simple information such as vcpuinfo domain, but it is not working, so I would like to know what functions are implemented in libvirt ESX(i) driver. Also i checked the http://libvirt.org/drvesx.html and nothing is mentioned there. Thank You, Regards, Sherif