search for: socket_id

Displaying 15 results from an estimated 15 matches for "socket_id".

Did you mean: socket_fd
2014 Jun 02
0
numa support question on centos 6.5
...transports> <uri_transport>tcp</uri_transport> </uri_transports> </migration_features> <topology> <cells num='2'> <cell id='0'> <cpus num='20'> <cpu id='0' socket_id='0' core_id='0' siblings='0,20'/> <cpu id='1' socket_id='0' core_id='1' siblings='1,21'/> <cpu id='2' socket_id='0' core_id='2' siblings='2,22'/> <cpu id=...
2013 Aug 27
1
Finding out CPU topology
Hi, I have been trying to find out CPU topology using libvirt. I understand that I can find out the number of cores/sockets/ threads etc through getCapabilities() function. What I am wondering is that is there any function that can provide me the exact topology like how many sockets, how many sockets per core and number of threads per core, if applicable or may be info about numa cells.  Is there
2013 Sep 17
2
Finding out CPU topology.
...#39;virsh capabilites', I find this inside <topology> tag: <topology>       <cells num='1'>         <cell id='0'>           <memory unit='KiB'>3908488</memory>           <cpus num='4'>             <cpu id='0' socket_id='0' core_id='0' siblings='0'/>             <cpu id='1' socket_id='0' core_id='0' siblings='1'/>             <cpu id='2' socket_id='0' core_id='1' siblings='2'/>             <cpu id='3'...
2017 May 23
2
Odd Virsh Capabilities response
...8236342</pages> <pages unit='KiB' size='2048'>0</pages> <distances> <sibling id='0' value='10'/> </distances> <cpus num='8'> <cpu id='0' socket_id='0' core_id='0' siblings='0'/> <cpu id='1' socket_id='1' core_id='0' siblings='1'/> <cpu id='2' socket_id='0' core_id='2' siblings='2'/> <cpu id='3...
2013 Sep 17
0
Re: libvirt-users Digest, Vol 45, Issue 28
...nd this inside <topology> tag: > > ><topology> >? ? ? <cells num='1'> >? ? ? ? <cell id='0'> >? ? ? ? ? <memory unit='KiB'>3908488</memory> >? ? ? ? ? <cpus num='4'> >? ? ? ? ? ? <cpu id='0' socket_id='0' core_id='0' siblings='0'/> >? ? ? ? ? ? <cpu id='1' socket_id='0' core_id='0' siblings='1'/> >? ? ? ? ? ? <cpu id='2' socket_id='0' core_id='1' siblings='2'/> >? ? ? ? ? ? <cpu id=...
2017 May 23
0
Re: Odd Virsh Capabilities response
...t; <pages unit='KiB' size='2048'>0</pages> > <distances> > <sibling id='0' value='10'/> > </distances> > <cpus num='8'> > <cpu id='0' socket_id='0' core_id='0' siblings='0'/> > <cpu id='1' socket_id='1' core_id='0' siblings='1'/> > <cpu id='2' socket_id='0' core_id='2' siblings='2'/> > <cpu...
2013 Sep 17
0
Re: Finding out CPU topology.
...inside <topology> tag: > > > <topology> >       <cells num='1'> >         <cell id='0'> >           <memory unit='KiB'>3908488</memory> >           <cpus num='4'> >             <cpu id='0' socket_id='0' core_id='0' siblings='0'/> >             <cpu id='1' socket_id='0' core_id='0' siblings='1'/> >             <cpu id='2' socket_id='0' core_id='1' siblings='2'/> >             <cpu...
2011 Dec 21
2
[PATCH] xenpm: assorted adjustments
...ic void signal_int_handler(int signo set_xen_guest_handle(info.cpu_to_node, cpu_to_node); info.max_cpu_index = MAX_NR_CPU - 1; - ret = xc_topologyinfo(xc_handle, &info); - if ( !ret ) + if ( cx_cap && !xc_topologyinfo(xc_handle, &info) ) { uint32_t socket_ids[MAX_NR_CPU]; uint32_t core_ids[MAX_NR_CPU]; @@ -461,7 +457,7 @@ static void signal_int_handler(int signo if ( cpu_to_socket[j] == socket_ids[i] ) break; } - printf("Socket %d\n", socket_ids[i]); +...
2009 Jul 15
0
[PATCH] rename for_each_cpu() to for_each_possible_cpu()
...ia64/linux-xen/smpboot.c 2009-07-10 13:57:41.000000000 +0200 +++ 2009-07-10/xen/arch/ia64/linux-xen/smpboot.c 2009-07-15 10:02:26.000000000 +0200 @@ -675,7 +675,7 @@ remove_from_mtinfo(int cpu) { int i; - for_each_cpu(i) + for_each_possible_cpu(i) if (mt_info[i].valid && mt_info[i].socket_id == cpu_data(cpu)->socket_id) mt_info[i].valid = 0; @@ -874,7 +874,7 @@ check_for_mtinfo_index(void) { int i; - for_each_cpu(i) + for_each_possible_cpu(i) if (!mt_info[i].valid) return i; @@ -892,7 +892,7 @@ check_for_new_socket(__u16 logical_addre int i; __u32 s...
2014 Jan 29
1
libvirt-sandbox question.
...mem/> <suspend_disk/> </power_management> <topology> <cells num='1'> <cell id='0'> <memory unit='KiB'>8334880</memory> <cpus num='4'> <cpu id='0' socket_id='0' core_id='0' siblings='0-1'/> <cpu id='1' socket_id='0' core_id='1' siblings='0-1'/> <cpu id='2' socket_id='0' core_id='2' siblings='2-3'/> <cpu id='3...
2014 Jan 13
2
how to detect if qemu supports live disk snapshot
...> </uri_transports> </migration_features> <topology> <cells num='1'> <cell id='0'> <memory unit='KiB'>7871524</memory> <cpus num='4'> <cpu id='0' socket_id='0' core_id='0' siblings='0-1'/> <cpu id='1' socket_id='0' core_id='0' siblings='0-1'/> <cpu id='2' socket_id='0' core_id='1' siblings='2-3'/> <cpu id='3...
2014 Jul 10
2
How to config qga to support dompmsuspend
...> </uri_transports> </migration_features> <topology> <cells num='1'> <cell id='0'> <memory unit='KiB'>2066304</memory> <cpus num='2'> <cpu id='0' socket_id='0' core_id='0' siblings='0'/> <cpu id='1' socket_id='0' core_id='1' siblings='1'/> </cpus> </cell> </cells> </topology> <secmodel> <model>none</...
2011 Oct 25
5
[PATCH] pm : provide CC7/PC2 residency
...: [%020"PRIu64" ms]\n", + cxstat->cc3/1000000UL, cxstat->cc6/1000000UL, + cxstat->cc7/1000000UL); printf("\n"); } @@ -458,6 +462,9 @@ break; } printf("Socket %d\n", socket_ids[i]); + res = cxstat_end[j].pc2 - cxstat_start[j].pc2; + printf("\tPC2\t%"PRIu64" ms\t%.2f%%\n", res / 1000000UL, + 100UL * res / (double)sum_cx[j]); res = cxstat_end[j].pc3 - cxstat_start[j].pc3;...
2012 Nov 05
2
[PATCH] x86/ACPI: invalidate BGRT
...TOP_LEVEL 0x0001 +#define ACPI_PMTT_PHYSICAL 0x0002 +#define ACPI_PMTT_MEMORY_TYPE 0x000C + +/* + * PMTT subtables, correspond to Type in struct acpi_pmtt_header + */ + +/* 0: Socket Structure */ + +struct acpi_pmtt_socket { + struct acpi_pmtt_header header; + u16 socket_id; + u16 reserved; +}; + +/* 1: Memory Controller subtable */ + +struct acpi_pmtt_controller { + struct acpi_pmtt_header header; + u32 read_latency; + u32 write_latency; + u32 read_bandwidth; + u32 write_bandwidth; + u16 access_width; + u16 alignment; + u16 reserved; + u16 domain_count; +}; + +/* 1a:...
2012 Nov 07
0
[PATCH v2] x86/ACPI: invalidate BGRT if necessary
...TOP_LEVEL 0x0001 +#define ACPI_PMTT_PHYSICAL 0x0002 +#define ACPI_PMTT_MEMORY_TYPE 0x000C + +/* + * PMTT subtables, correspond to Type in struct acpi_pmtt_header + */ + +/* 0: Socket Structure */ + +struct acpi_pmtt_socket { + struct acpi_pmtt_header header; + u16 socket_id; + u16 reserved; +}; + +/* 1: Memory Controller subtable */ + +struct acpi_pmtt_controller { + struct acpi_pmtt_header header; + u32 read_latency; + u32 write_latency; + u32 read_bandwidth; + u32 write_bandwidth; + u16 access_width; + u16 alignment; + u16 reserved; + u16 domain_count; +}; + +/* 1a:...