Displaying 20 results from an estimated 67 matches for "system_timer".
Did you mean:
system_time
2009 Jul 10
2
Problem installing system_timer in windows
Hi,
I recently started working on an existing Ruby On Rails application
which production environment is linux. However we are trying to create a
dev. platform with Eclipse in Windows and everything was working fine
until one of our classes was trying to import system_timer.
The initial error I got is:
no such file to load -- system_timer
Application Trace:
c:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require''
c:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require''
c:/Ruby/lib/ruby/gems/1.8/gems/...
2008 Aug 06
10
[BUG 1282] time jump on live migrate root cause & proposed fixes
Hi,
I have done some debugging to find out the root cause of bug 1282, which
has the following symptoms with paravirtualized guests:
- after a live migrate, the time on the guest can jump
- after a live migrate, the guest "forgets" to wake up processes
- after a domU save, dom0 reboot and domU restore, the time is
correct but processes are not woken up from sys_nanosleep
The problem
2017 Mar 21
0
[PATCH] p2v: Calculate offset of the Real Time Clock from UTC.
Calculate the offset of the physical host's Real Time Clock (RTC) from
UTC and pass this to virt-v2v through the libvirt XML description of
the physical machine.
The libvirt XML is modified to add one of the following:
(no <clock/> element)
- if the RTC could not be read or there was some other time
calculation error.
<clock offset='utc' />
- if the RTC is the
2011 Aug 26
1
gem installation issues
...the mkmf.log file for more details.
You may need configuration options.
Provided configuration options:
--with-opt-dir
.....
--without-exsltlib
extconf.rb:57:in ``'': No such file or directory - xml2-config --cflags
(Errno::ENOENT) from extconf.rb:57
3) gem install system_timer
Temporarily enhancing PATH to include DevKit...
Building native extensions. This could take a while...
ERROR: Error installing system_timer:
ERROR: Failed to build gem native extension.
C:/RailsInstaller/Ruby1.8.7/bin/ruby.exe extconf.rb
creating Makefile
make
gcc -I. -I/C/Rails...
2017 Mar 21
2
[PATCH] p2v: Calculate offset of the Real Time Clock from UTC.
Unlike the <cpu> node (see the other thread on the libguestfs ML),
reading the Real Time Clock doesn't require libvirt and does work :-)
For reference, read:
https://libvirt.org/formatdomain.html#elementsTime
https://en.wikipedia.org/wiki/Time_zone
To test this you can run virt-p2v under qemu with a RTC offset:
make -C p2v \
run-virt-p2v-in-a-vm \
2013 Jun 04
13
[PATCH] x86/vtsc: update vcpu_time after hvm_set_guest_time
When using a vtsc, hvm_set_guest_time changes hvm_vcpu.stime_offset,
which is used in the vcpu time structure to calculate the
tsc_timestamp, so after updating stime_offset we need to propagate the
change to vcpu_time in order for the guest to get the right time if
using the PV clock.
This was not done correctly, since in context_switch
update_vcpu_system_time was called before vmx_do_resume,
2009 Sep 04
0
Mongrel Timeout for System Calls
...to do anything as the process
still took 120-130 seconds to complete.
After digging around a bit, I discovered this writeup about timeout and
system calls
(http://adamblog.heroku.com/past/2008/6/17/battling_wedged_mongrels_with_a/).
I immediately installed SystemTimer
(http://ph7spot.com/articles/system_timer) and tried again:
begin
require ''system_timer''
MyTimer = SystemTimer
rescue LoadError
require ''timeout''
MyTimer = Timeout
end
def invoke(rfc)
MyTimer.timeout_after(20.seconds) do
rfc.invoke
end
rescue Timeout::Error
raise Timeout...
2013 Apr 19
1
problem when get the vm cpu stat
Hi all,
I try to get vm cpu stat by function "virDomainGetCPUStats", when the vm
Cpu usage is 100%, I can see from the vm shell by "top", when the info
Get by the "virDomainGetCPUStats" show only the "cpu_time" increased,
"user_time" and "system_time" was not changed at all.
Is that correct ? How can I get the vm cpu usage?
2012 Aug 17
1
getCPUStats of a domain by a non-root user - libvirtError: Requested operation is not valid: cgroup CPUACCT controller is not mounted
Hello,
I'm trying to use libvirt as a non-root user to obtain statistics on the
CPU usage by VMs using the Python API. I'm performing basically the
following steps:
import libvirt
conn = libvirt.openReadOnly(None)
dom = conn.lookupByUUIDString('268e38ea-1bc7-41e4-c19e-8eff682e58e4')
dom.getCPUStats(True, 0)
However, they result in the following error:
libvir: QEMU Driver
2008 Jun 03
10
[PATCH 0/5] paravirt clock source patches, #4
paravirt clock source patches, next round.
There is now a pvclock-abi.h file with the structs and some longish
comments in it and everybody is switched over to use the stuff in
there.
cheers,
Gerd
2008 Jun 03
10
[PATCH 0/5] paravirt clock source patches, #4
paravirt clock source patches, next round.
There is now a pvclock-abi.h file with the structs and some longish
comments in it and everybody is switched over to use the stuff in
there.
cheers,
Gerd
2008 May 08
4
[PATCH 0/4] paravirt clock series.
Respin of the paravirt clock patch series.
On the host side the kvm paravirt clock is made compatible with the
xen clock.
On the guest side some xen code has been factored out into a separate
source file shared by both kvm and xen clock implementations.
This time it should work ok for kvm smp guests ;)
cheers,
Gerd
2008 May 08
4
[PATCH 0/4] paravirt clock series.
Respin of the paravirt clock patch series.
On the host side the kvm paravirt clock is made compatible with the
xen clock.
On the guest side some xen code has been factored out into a separate
source file shared by both kvm and xen clock implementations.
This time it should work ok for kvm smp guests ;)
cheers,
Gerd
2008 May 16
5
[PATCH 0/4] paravirt clock source patches, #3
paravirt clock source patches, next round, with a bunch of changes
in the host code according to Avi's review comments and some minor
code tweaks.
cheers,
Gerd
2008 May 16
5
[PATCH 0/4] paravirt clock source patches, #3
paravirt clock source patches, next round, with a bunch of changes
in the host code according to Avi's review comments and some minor
code tweaks.
cheers,
Gerd
2008 Jun 03
6
[PATCH 0/5] paravirt clock source patches, #5
paravirt clock source patches, next round.
There is now a pvclock-abi.h file with the structs and some longish
comments in it and everybody is switched over to use the stuff in
there.
Some minor tweaks after super-fast review by Jeremy.
The queue is on top of the kvm git tree. The first two patches should
have no kvm dependencies and should apply to linus tree just fine.
cheers,
Gerd
2008 Jun 03
6
[PATCH 0/5] paravirt clock source patches, #5
paravirt clock source patches, next round.
There is now a pvclock-abi.h file with the structs and some longish
comments in it and everybody is switched over to use the stuff in
there.
Some minor tweaks after super-fast review by Jeremy.
The queue is on top of the kvm git tree. The first two patches should
have no kvm dependencies and should apply to linus tree just fine.
cheers,
Gerd
2014 Mar 12
4
Problem in getting memory statistics
Hello,
I need to get how much memory is used by a guest system, in order to
implement some monitoring function which tells me if the system is
overstressed.
I am currently using java apis and the binding which was suggested to me was
Domain.memoryStats();
This is a binding to int virDomainMemoryStats
(virDomainPtr<http://libvirt.org/html/libvirt-libvirt.html#virDomainPtr>dom,
2007 Mar 26
12
System time monotonicity
It seems that VCPU system time isn''t monotonic (using 3.0.4). It seems
it might be correlated to when a VCPU is switched across real CPUs but I
haven''t conclusively proved that. But e.g.:
{
old = {
time = {
version = 0x4ec
pad0 = 0xe8e0
tsc_timestamp = 0x22cc8398b7194
system_time =
2007 Apr 23
0
request logging: around_filters can't see error responses!
Hello,
I want to emit a structured log entry (in YAML) for every request that
hits my Rails app. For example, an entry in this log would look
something like:
---
SYSTEM_TIME: 0.0166666666666667
USER_TIME: 0.0999999999999996
DB_TIME: 0.00247621536254883
REAL_TIME: 0.091976
STATUS_CODE: 500
SESSION_ID: 64ad46a8841c66bbf64e93335cedc50d
REQUEST_ID: 32d6a42f-da58-43e2-ab27-09d3e2a775cb