search for: pcpu

Displaying 20 results from an estimated 295 matches for "pcpu".

Did you mean: cpu
2007 May 11
0
About CPU Affinity
Hi all, I would like to set CPU Affinity like: vcpu#0 ---> pcpu#0 vcpu#1 ---> pcpu#1 When I start the domain by configuration file defined [vcpus=2] and [cpus="0,1"], the state become as follows. vcpu#0 ---> pcpu#0 or pcpu#1 vcpu#1 ---> pcpu#0 or pcpu#1 So, I have to execute 2 commands to achieve the state. # xm vcpu-pin foo 0 0 a...
2020 Feb 11
0
vhost changes (batched) in linux-next after 12/13 trigger random crashes in KVM guests after reboot
....142423] DMA zone: 0 pages reserved [ 0.142424] DMA zone: 524288 pages, LIFO batch:63 [ 0.159790] Normal zone: 516096 pages used for memmap [ 0.159791] Normal zone: 33030144 pages, LIFO batch:63 [ 0.175978] percpu: Embedded 33 pages/cpu s97024 r8192 d29952 u135168 [ 0.175986] pcpu-alloc: s97024 r8192 d29952 u135168 alloc=33*4096 [ 0.175987] pcpu-alloc: [0] 000 [0] 001 [0] 002 [0] 003 [ 0.175988] pcpu-alloc: [0] 004 [0] 005 [0] 006 [0] 007 [ 0.175989] pcpu-alloc: [0] 008 [0] 009 [0] 010 [0] 011 [ 0.175991] pcpu-alloc: [0] 012 [0] 013 [0] 014 [0] 015 [ 0.175...
2013 May 07
1
[PATCH v3] xen/gic: EOI irqs on the right pcpu
We need to write the irq number to GICC_DIR on the physical cpu that previously received the interrupt, but currently we are doing it on the pcpu that received the maintenance interrupt. As a consequence if a vcpu is migrated to a different pcpu, the irq is going to be EOI''ed on the wrong pcpu. This covers the case where dom0 vcpu0 is running on pcpu1 for example (you can test this scenario by using xl vcpu-pin). Changes in v3: -...
2013 May 06
2
[PATCH v2] xen/gic: EOI irqs on the right pcpu
We need to write the irq number to GICC_DIR on the physical cpu that previously received the interrupt, but currently we are doing it on the pcpu that received the maintenance interrupt. As a consequence if a vcpu is migrated to a different pcpu, the irq is going to be EOI''ed on the wrong pcpu. This covers the case where dom0 vcpu0 is running on pcpu1 for example (you can test this scenario by using xl vcpu-pin). Changes in v2: -...
2016 Apr 07
2
glmark2: high CPU usage - DRI3 & modeset
...uveau GL_RENDERER: Gallium 0.4 on NV98 GL_VERSION: 3.0 Mesa 11.2.0 ======================================================= /etc/X11/xorg.conf.d/nouveau.conf Section "Device" Identifier "gpu0" Driver "nouveau" EndSection $ ps -C glmark2 -o cmd,pcpu CMD %CPU glmark2 16.2 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /etc/X11/xorg.conf.d/nouveau.conf Section "Device" Identifier "gpu0" Driver "nouveau" Option "DRI" "3" EndSection $ ps -C glmark...
2013 Mar 19
1
Panic : bad pte
...pte cpuid = 3 KDB: stack backtrace: Uptime: 2m31s Dumping 183 out of 1950 MB:..9%..18%..27%..35%..44%..53%..62%..79%..88%..96% Reading symbols from /boot/modules/nvidia.ko...done. Loaded symbols for /boot/modules/nvidia.ko #0 doadump (textdump=Variable "textdump" is not available. ) at pcpu.h:224 224 pcpu.h: No such file or directory. in pcpu.h (kgdb) bt #0 doadump (textdump=Variable "textdump" is not available. ) at pcpu.h:224 #1 0x0000000000000004 in ?? () #2 0xffffffff8048c156 in kern_reboot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:448 #3 0xfffffff...
2013 Feb 12
0
[PATCH 5/5] xen: remove redundant NULL check before unregister_and_remove_pcpu().
unregister_and_remove_pcpu on a NULL pointer is a no-op, so the NULL check in sync_pcpu can be removed. Signed-off-by: Cyril Roelandt <tipecaml at gmail.com> --- drivers/xen/pcpu.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/xen/pcpu.c b/drivers/xen/pcpu.c index 067fcfa..5a27a45 1...
2013 Feb 12
0
[PATCH 5/5] xen: remove redundant NULL check before unregister_and_remove_pcpu().
unregister_and_remove_pcpu on a NULL pointer is a no-op, so the NULL check in sync_pcpu can be removed. Signed-off-by: Cyril Roelandt <tipecaml at gmail.com> --- drivers/xen/pcpu.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/xen/pcpu.c b/drivers/xen/pcpu.c index 067fcfa..5a27a45 1...
2016 Apr 05
0
[PATCH v4 4/6] xen: add xen_pin_vcpu() to support calling functions on a dedicated pcpu
...ten.c +++ b/arch/x86/xen/enlighten.c @@ -1885,6 +1885,45 @@ static void xen_set_cpu_features(struct cpuinfo_x86 *c) } } +static void xen_pin_vcpu(int cpu) +{ + static bool disable_pinning; + struct sched_pin_override pin_override; + int ret; + + if (disable_pinning) + return; + + pin_override.pcpu = cpu; + ret = HYPERVISOR_sched_op(SCHEDOP_pin_override, &pin_override); + if (cpu < 0) + return; + + switch (ret) { + case -ENOSYS: + pr_warn("The kernel tried to call a function on physical cpu %d, but Xen isn't\n" + "supporting this. In case of problems you might co...
2013 Dec 09
2
9.2-RELEASE + memcached = page fault
Hello after upgrading to 9.2-release i can see periodical page faults. advises welcome. examples: 1. Fatal trap 12: page fault while in kernel mode cpuid = 5; apic id = 22 fault virtual address = 0x18 fault code = supervisor read data, page not present instruction pointer = 0x20:0xffffffff8051095c stack pointer = 0x28:0xffffff88a9d77800 frame pointer =
2016 Apr 05
0
[Xen-devel] [PATCH v4 4/6] xen: add xen_pin_vcpu() to support calling functions on a dedicated pcpu
...gt;> } >> } >> >> +static void xen_pin_vcpu(int cpu) >> +{ >> + static bool disable_pinning; >> + struct sched_pin_override pin_override; >> + int ret; >> + >> + if (disable_pinning) >> + return; >> + >> + pin_override.pcpu = cpu; >> + ret = HYPERVISOR_sched_op(SCHEDOP_pin_override, &pin_override); > > /* Ignore errors when removing override. */ Okay. >> + if (cpu < 0) >> + return; >> + >> + switch (ret) { >> + case -ENOSYS: >> + pr_warn("The kernel tri...
2013 Aug 16
2
FBSD 9.2 RC crashes running as virtualbox host
Hi, after updating my freebsd amd64 box from 9.1 (r250841) to 9.2-RC (r254276) virtualbox crashes the machine. Seconds after starting VBOX the screen freezes and then reboots (probably a trap, cannot see it, as screen is in graphics mode). The kernel modules of vbox have been recompiled. Going back to 9.1 kernel and matching vbox modules works. In both cases VBOX 4.2.16 is used. cheers, Thomas
2016 Apr 05
2
[Xen-devel] [PATCH v4 4/6] xen: add xen_pin_vcpu() to support calling functions on a dedicated pcpu
...c void xen_set_cpu_features(struct cpuinfo_x86 *c) > } > } > > +static void xen_pin_vcpu(int cpu) > +{ > + static bool disable_pinning; > + struct sched_pin_override pin_override; > + int ret; > + > + if (disable_pinning) > + return; > + > + pin_override.pcpu = cpu; > + ret = HYPERVISOR_sched_op(SCHEDOP_pin_override, &pin_override); /* Ignore errors when removing override. */ > + if (cpu < 0) > + return; > + > + switch (ret) { > + case -ENOSYS: > + pr_warn("The kernel tried to call a function on physical cpu %d, but...
2016 Apr 05
2
[Xen-devel] [PATCH v4 4/6] xen: add xen_pin_vcpu() to support calling functions on a dedicated pcpu
...c void xen_set_cpu_features(struct cpuinfo_x86 *c) > } > } > > +static void xen_pin_vcpu(int cpu) > +{ > + static bool disable_pinning; > + struct sched_pin_override pin_override; > + int ret; > + > + if (disable_pinning) > + return; > + > + pin_override.pcpu = cpu; > + ret = HYPERVISOR_sched_op(SCHEDOP_pin_override, &pin_override); /* Ignore errors when removing override. */ > + if (cpu < 0) > + return; > + > + switch (ret) { > + case -ENOSYS: > + pr_warn("The kernel tried to call a function on physical cpu %d, but...
2012 Nov 13
0
[PATCH 2/5] xen: Use init_tss array or per_cpu__init_tss
...-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org> diff -Npru crash-6.1.0.orig/x86.c crash-6.1.0/x86.c --- crash-6.1.0.orig/x86.c 2012-11-13 14:45:58.000000000 +0100 +++ crash-6.1.0/x86.c 2012-11-13 14:48:13.000000000 +0100 @@ -5471,9 +5471,16 @@ x86_get_stackbase_hyper(ulong task) if (!xen_hyper_test_pcpu_id(pcpu)) { error(FATAL, "invalid pcpu number\n"); } - init_tss = symbol_value("init_tss"); + + if (symbol_exists("init_tss")) { + init_tss = symbol_value("init_tss"); + init_tss += XEN_HYPER_SIZE(tss_struct) * pcpu; + } else { + init_tss = symbol_val...
2017 Oct 30
0
[locking/paravirt] static_key_disable_cpuslocked(): static key 'virt_spin_lock_key+0x0/0x20' used before call to jump_label_init()
...mask: 0xffffffff > max_cycles: 0xffffffff, max_idle_ns: 1910969940391419 ns > [??? 0.000000] setup_percpu: NR_CPUS:8192 nr_cpumask_bits:72 > nr_cpu_ids:72 nr_node_ids:2 > [??? 0.000000] percpu: Embedded 39 pages/cpu @ffff88103f400000 s120088 > r8192 d31464 u262144 > [??? 0.000000] pcpu-alloc: s120088 r8192 d31464 u262144 alloc=1*2097152 > [??? 0.000000] pcpu-alloc: [0] 00 01 02 03 04 05 06 07 [0] 08 09 10 11 > 12 13 14 15 [??? 0.000000] pcpu-alloc: [0] 16 17 36 37 38 39 40 41 [0] > 42 43 44 45 46 47 48 49 [??? 0.000000] pcpu-alloc: [0] 50 51 52 53 -- -- > -- -- [1] 18...
2008 Jun 12
1
[7-STABLE] ping -s 4000 with ipsec panic
...a076c code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 1175 (ping) trap number = 12 panic: page fault Uptime: 9m5s Physical memory: 503 MB Dumping 87 MB: 72 56 40 24 8 #0 doadump () at pcpu.h:195 195 pcpu.h: No such file or directory. in pcpu.h (kgdb) bt #0 doadump () at pcpu.h:195 #1 0xc0556273 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:418 #2 0xc055646f in panic (fmt=Variable "fmt" is not available. ) at /usr/src/sys/kern/kern_shutdown.c:572 #3 0xc079b91...
2012 Sep 07
4
[PATCH] kexec/noreboot: Don't kexec_crash() if noreboot has been requested.
This issue came up when debugging pcpu linked list corruption (patches for that issue to follow). -- Andrew Cooper - Dom0 Kernel Engineer, Citrix XenServer T: +44 (0)1223 225 900, http://www.citrix.com _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel
2008 Nov 24
1
RELENG_7 panic under load: vm_page_unwire: invalid wire count: 0
...trap 0, rip = 0, rsp = 0xffffffffea28fd30, rbp = 0 --- Uptime: 36m47s Physical memory: 4087 MB Dumping 708 MB: 693 677 661 645 629 613 597 581 565 549 533 517 501 485 469 453 437 421 405 389 373 357 341 325 309 293 277 261 245 229 213 197 181 165 149 133 117 101 85 69 53 37 21 5 #0 doadump () at pcpu.h:195 195 __asm __volatile("movq %%gs:0,%0" : "=r" (td)); (kgdb) bt #0 doadump () at pcpu.h:195 #1 0xffffffff8031adf8 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:418 #2 0xffffffff8031b25c in panic (fmt=Variable "fmt" is not available. ) at /...
2007 Nov 19
2
Resident Memory Size Logging
Hello: Is there a way to get the resident memory size of the rails process in- code using ruby? I''d like to have my application log the size of its own memory. Thank you in advance, Dan --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email