[libvirt] [PATCH 1/3] cgroup: read more data from cgroup cpuacct.usage_percpu

2012-08-31 Thread Guannan Ren
On NUMA machine, the length of string got from file cpuacct.usage_percpu is quite large, so expand the limit of 1024 bytes. errors like: Failed to read file \ '/cgroup/cpuacct/libvirt/qemu/rhel6q/cpuacct.usage_percpu': \ Value too large for defined data type --- src/util/cgroup.c | 2 +- 1 file

Re: [libvirt] [PATCH 1/3] cgroup: read more data from cgroup cpuacct.usage_percpu

2012-08-31 Thread Osier Yang
On 2012年08月31日 17:22, Guannan Ren wrote: On NUMA machine, the length of string got from file cpuacct.usage_percpu is quite large, so expand the limit of 1024 bytes. errors like: Failed to read file \ '/cgroup/cpuacct/libvirt/qemu/rhel6q/cpuacct.usage_percpu': \ Value too large for defined data

Re: [libvirt] [PATCH 1/3] cgroup: read more data from cgroup cpuacct.usage_percpu

2012-08-31 Thread Daniel Veillard
On Fri, Aug 31, 2012 at 05:22:57PM +0800, Guannan Ren wrote: On NUMA machine, the length of string got from file cpuacct.usage_percpu is quite large, so expand the limit of 1024 bytes. errors like: Failed to read file \ '/cgroup/cpuacct/libvirt/qemu/rhel6q/cpuacct.usage_percpu': \ Value

Re: [libvirt] [PATCH 1/3] cgroup: read more data from cgroup cpuacct.usage_percpu

2012-08-31 Thread Guannan Ren
On 08/31/2012 05:43 PM, Osier Yang wrote: On 2012年08月31日 17:22, Guannan Ren wrote: On NUMA machine, the length of string got from file cpuacct.usage_percpu is quite large, so expand the limit of 1024 bytes. errors like: Failed to read file \

Re: [libvirt] [PATCH 1/3] cgroup: read more data from cgroup cpuacct.usage_percpu

2012-08-31 Thread Guannan Ren
On 08/31/2012 05:22 PM, Guannan Ren wrote: On NUMA machine, the length of string got from file cpuacct.usage_percpu is quite large, so expand the limit of 1024 bytes. errors like: Failed to read file \ '/cgroup/cpuacct/libvirt/qemu/rhel6q/cpuacct.usage_percpu': \ Value too large for defined