search for: physinfo

Displaying 20 results from an estimated 25 matches for "physinfo".

2006 Jul 31
1
[PATCH 5/6] xen, tools: calculate nr_cpus via num_online_cpus
Once Xen calculates nr_nodes properly, all nr_cpu calculations based on nr_nodes * sockets_per_node * cores_per_socket * threads_per_core are broken. The easy fix is to replace those calculations with a new field, nr_cpus in physinfo which is calculated by num_online_cpus(). This patch does so and attempts to change all users over to nr_cpus field in physinfo. This patch touches arch/ia64/xen/dom0_ops.c, but I''ve not done any IA64 testing with this patch applied. -- Ryan Harper Software Engineer; Linux Technology C...
2007 Oct 19
4
[PATCH] nr_cpus calculation problem due to incorrect sockets_per_node
Testing on an 8-node 128-way NUMA machine has exposed a problem with Xen''s nr_cpus calculation. In this case, since Xen cuts off recognized CPUs at 32, the machine appears to have 16 CPUs on the first and second nodes and none on the remaining nodes. Given this asymmetry, the calculation of sockets_per_node (which is later used to calculate nr_cpus) is incorrect:
2006 Sep 29
4
[PATCH 4/6] xen: export NUMA topology in physinfo hcall
This patch modifies the physinfo hcall to export NUMA CPU and Memory topology information. The new physinfo hcall is integrated into libxc and xend (xm info specifically). Included in this patch is a minor tweak to xm-test''s xm info testcase. The new fields in xm info are: nr_nodes : 4 mem_chunks...
2006 Aug 14
0
[PATCH] remove another xc_dom0_op() user
...8664cb -r dc12f0942649 tools/xenmon/xenbaked.c --- a/tools/xenmon/xenbaked.c Mon Aug 14 15:40:36 2006 +0100 +++ b/tools/xenmon/xenbaked.c Mon Aug 14 23:57:43 2006 +0100 @@ -444,14 +444,11 @@ struct t_rec **init_rec_ptrs(struct t_bu */ unsigned int get_num_cpus(void) { - dom0_op_t op; + xc_physinfo_t physinfo; int xc_handle = xc_interface_open(); int ret; - op.cmd = DOM0_PHYSINFO; - op.interface_version = DOM0_INTERFACE_VERSION; - - ret = xc_dom0_op(xc_handle, &op); + ret = xc_physinfo(xc_handle, &physinfo); if ( ret != 0 ) { @@ -460,12 +457,12 @@ u...
2012 Sep 04
2
[PATCH] valgrind: Support for ioctls used by Xen toolstack processes.
...OOL_OP_MOVEDOMAIN) + PRE_XEN_SYSCTL_READ(cpupool_op, domid); + + if (sysctl->u.cpupool_op.op == XEN_SYSCTL_CPUPOOL_OP_ADDCPU || + sysctl->u.cpupool_op.op == XEN_SYSCTL_CPUPOOL_OP_RMCPU) + PRE_XEN_SYSCTL_READ(cpupool_op, cpu); + + break; + + case XEN_SYSCTL_physinfo: + /* No input params */ + break; + + case XEN_SYSCTL_topologyinfo: + PRE_XEN_SYSCTL_READ(topologyinfo, max_cpu_index); + PRE_XEN_SYSCTL_READ(topologyinfo, cpu_to_core); + PRE_XEN_SYSCTL_READ(topologyinfo, cpu_to_socket); + PRE_XEN_SYSCTL_READ(topologyinfo, cpu_to_no...
2010 Mar 04
6
XCP 64 bits ?
Hello, I am just installing XCP 0.1.1 on a server with 24GB RAM Normally XCP is a 64 bits version but * *uname -a* Linux node012 2.6.27.42-0.1.1.xs0.1.1.737.1065xen #1 SMP Fri Jan 15 16:20:16 EST 2010 i686 i686 i386 GNU/Linux (not a x86_64 version !!!!) * *cat /proc/meminfo* MemTotal: 746496 kB MemFree: 384332 kB Buffers:
2010 Jun 28
8
[PATCH] add xl ocaml bindings
...+ vncdisplay : int; + vncunused : bool; + keymap : string; + sdl : bool; + opengl : bool; + display : string; + xauthority : string; +} + +type pci_info = +{ + v : int; (* domain * bus * dev * func multiplexed *) + domain : int; + vdevfn : int; + msitranslate : bool; + power_mgmt : bool; +} + +type physinfo = +{ + threads_per_core: int; + cores_per_socket: int; + max_cpu_id: int; + nr_cpus: int; + cpu_khz: int; + total_pages: int64; + free_pages: int64; + scrub_pages: int64; + nr_nodes: int; + hwcap: int32 array; + physcap: int32; +} + +type sched_credit = +{ + weight: int; + cap: int; +} + +external...
2005 Jul 03
11
[PATCH] xm info
This patch makes "xm info" show information on xen version, compile info, number of socket/core, etc... In order to do that, it extends physinfo hypercall to return number of socket, adds few functions to libxc and extends python wrapper correspondingly. Here is the output of new "xm info": -- system : Linux host : ubuntu xen_release : 3.0-devel xen_compile_by : root@localdomai...
2010 Jul 07
2
[XCP] Strange bug this avaible memory for guests
I got really strange situation with memory on host: xe host-list params=memory-free memory-free ( RO) : 10305536 (10Mb) xe host-compute-free-memory 3147059200 (3Gb) A huge difference! And xentop show different numbers too! I will keep this host online "as is" and I am ready to provide information for debbugging or perform needed actions. -- wBR,George.
2012 Feb 20
18
[PATCH] libxl: fix compile error of libvirt
a, libxl_event.h is included in libxl.h. So, the former one also need to be installed. b, define __XEN_TOOLS__ in libxl.h: the head file "xen/sysctl.h" need check this macro. It is the same way used by the xen libxc public headers(tools/libxc/xenctrl.h and tools/libxc/xenctrlosdep.h). Signed-off-by: Bamvor Jian Zhang <bjzhang@suse.com> diff -r 87218bd367be
2011 Sep 14
1
[PATCH] xen/xsm: Compile error due to naming clash between XSM and EFI runtime
...ret = xsm_efi_runtime_call(); + ret = xsm_efi_call(); if ( ret ) break; diff -r 0312575dc35e xen/include/xsm/xsm.h --- a/xen/include/xsm/xsm.h Thu Sep 08 15:13:06 2011 +0100 +++ b/xen/include/xsm/xsm.h Wed Sep 14 09:48:25 2011 -0400 @@ -132,7 +132,7 @@ int (*physinfo) (void); int (*platform_quirk) (uint32_t); int (*firmware_info) (void); - int (*efi_runtime_call) (void); + int (*efi_call) (void); int (*acpi_sleep) (void); int (*change_freq) (void); int (*getidletime) (void); @@ -554,9 +554,9 @@ return xsm_call(firmware_info()...
2008 Feb 26
7
[PATCH]Add free memory size of every NUMA node in phsical info
Returns free memory size per node in "xm info". This info can help users who want to bind their guest domain in one node of their NUMA machines thought set CPU affinity. I also write IA64 part support which I would send to XEN-IA64 mail-list. Thanks. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com
2005 Dec 16
3
[PATCH] 0/7 xen: Add basic NUMA support
...committed to xen-unstable, a guest can be constructed such that its entire memory is contained within a specific NUMA node. We''ve added a keyhandler for exposing some of the NUMA-related information and statistics that pertain to the hypervisor. We export NUMA system information via the physinfo hypercall. This information provides cpu/memory topology and configuration information gleaned from the SRAT tables to userspace applications. Currently, xend doesn''t leverage any of the information automatically but we intend to do so in the future. We''ve integrated in NUMA in...
2010 Aug 18
16
[PATCH 00 of 16] libxl: autogenerate type definitions and destructor functions
The series introduces auto-generation of the type definitions used in the libxl interface followed by auto-generation of a destructor function for each type. In the future it may be possible to use the related data structures for other purposes, for example auto-generation of the functions to marshal between C and language binding data types. tools/_libxl_types.h should be identical both before
2012 Sep 14
1
[PATCH] xenpm: make argument parsing and error handling more consistent
...o mode (%d - %s)\n", + errno, strerror(errno)); } struct { @@ -1191,15 +1164,17 @@ int main(int argc, char *argv[]) if ( !xc_handle ) { fprintf(stderr, "failed to get the handler\n"); - return 0; + return EIO; } ret = xc_physinfo(xc_handle, &physinfo); if ( ret ) { - fprintf(stderr, "failed to get the processor information\n"); + ret = errno; + fprintf(stderr, "failed to get processor information (%d - %s)\n", + ret, strerror(ret)); xc_interface_...
2015 Mar 02
2
Re: [virt-tools-list] libvirt/virt-manager source integration with xen
...endconn > > * libxl-driver.log also has 11 log groupings that are just the same set of > logs repeated 11 times. Here is the first group: > > xc: detail: sysctl operation failed -- need to rebuild the user-space > tool set? > libxl: error: libxl.c:4320:libxl_get_physinfo: getting physinfo: > Permission denied > xc: debug: hypercall buffer: total allocations:7 total releases:7 > xc: debug: hypercall buffer: current allocations:0 maximum allocations:1 > xc: debug: hypercall buffer: cache current size:1 > xc: debug: hypercall buffer:...
2006 Sep 29
0
[PATCH 0/6] add NUMA support to Xen
...cator adding a per-node bucket for each zone. Xen will continue to prioritize using the requested zone at the cost of using non-local memory. - Modified xen memory_ops to use NUMA-aware page allocator functions to help allocate node-local memory for guests - export NUMA topology through physinfo hypercall, integreated into Xend - fix-up nr_cpus calculation now that nr_nodes is not static - Add a tool to explore NUMA allocations and Xen heap status. Nothing has functionally changed since the last posting of the patches; I''ve just been maintaining the patchset against unstable...
2015 Mar 02
1
Re: [virt-tools-list] libvirt/virt-manager source integration with xen
...er.log also has 11 log groupings that are just the same set > of > > logs repeated 11 times. Here is the first group: > > > > xc: detail: sysctl operation failed -- need to rebuild the > user-space > > tool set? > > libxl: error: libxl.c:4320:libxl_get_physinfo: getting physinfo: > > Permission denied > > xc: debug: hypercall buffer: total allocations:7 total releases:7 > > xc: debug: hypercall buffer: current allocations:0 maximum > allocations:1 > > xc: debug: hypercall buffer: cache current size:1 > >...
2013 Feb 13
4
[PATCH 0/3] FLASK policy build rework
These patches update the example FLASK policy shipped with Xen and enable its build if the required tools are present. The third patch requires rerunning autoconf to update tools/configure. [PATCH 1/3] flask/policy: sort dom0 accesses [PATCH 2/3] flask/policy: rework policy build system [PATCH 3/3] tools/flask: add FLASK policy to build
2015 Mar 03
3
Re: [virt-tools-list] libvirt/virt-manager source integration with xen
...t the > same set of > > > logs repeated 11 times. Here is the first group: > > > > > > xc: detail: sysctl operation failed -- need to rebuild the > user-space > > > tool set? > > > libxl: error: libxl.c:4320:libxl_get_physinfo: getting > physinfo: > > > Permission denied > > > xc: debug: hypercall buffer: total allocations:7 total > releases:7 > > > xc: debug: hypercall buffer: current allocations:0 maximum > > allocations:1 > > > xc: debu...