xen: implement vector callback for evtchn delivery
Seems to done right. Dmesg log for PV on HVM (Ubuntu Lucid) :-
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 2.6.34 (root@LucidSRV) (gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) ) #2 SMP Thu May 27 09:56:26 MSD 2010 [ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-2.6.34 root=UUID=8ab02f1a-d6bd-4829-9732-20440acf320f ro console=tty0 [ 0.000000] BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
[ 0.000000] BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
[ 0.000000] BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
[ 0.000000] BIOS-e820: 0000000000100000 - 0000000080000000 (usable)
[ 0.000000] BIOS-e820: 00000000fc000000 - 0000000100000000 (reserved)
[ 0.000000] NX (Execute Disable) protection: active
[ 0.000000] DMI 2.4 present.
[ 0.000000] e820 update range: 0000000000000000 - 0000000000001000 (usable) ==> (reserved)
[ 0.000000] e820 remove range: 00000000000a0000 - 0000000000100000 (usable)
[ 0.000000] No AGP bridge found
[ 0.000000] last_pfn = 0x80000 max_arch_pfn = 0x400000000
[ 0.000000] MTRR default type: write-back
[ 0.000000] MTRR fixed ranges enabled:
[ 0.000000] 00000-9FFFF write-back
[ 0.000000] A0000-BFFFF write-combining
[ 0.000000] C0000-FFFFF write-back
[ 0.000000] MTRR variable ranges enabled:
[ 0.000000] 0 base 0F0000000 mask FF8000000 uncachable
[ 0.000000] 1 base 0F8000000 mask FFC000000 uncachable
[ 0.000000] 2 disabled
[ 0.000000] 3 disabled
[ 0.000000] 4 disabled
[ 0.000000] 5 disabled
[ 0.000000] 6 disabled
[ 0.000000] 7 disabled
[ 0.000000] x86 PAT enabled: cpu 0, old 0x7040600070406, new 0x7010600070106
[ 0.000000] e820 update range: 0000000000001000 - 0000000000010000 (usable) ==> (reserved)
[ 0.000000] Scanning 1 areas for low memory corruption
[ 0.000000] modified physical RAM map:
[ 0.000000] modified: 0000000000000000 - 0000000000010000 (reserved)
[ 0.000000] modified: 0000000000010000 - 000000000009fc00 (usable)
[ 0.000000] modified: 000000000009fc00 - 00000000000a0000 (reserved)
[ 0.000000] modified: 00000000000e0000 - 0000000000100000 (reserved)
[ 0.000000] modified: 0000000000100000 - 0000000080000000 (usable)
[ 0.000000] modified: 00000000fc000000 - 0000000100000000 (reserved)
[ 0.000000] initial memory mapped : 0 - 20000000
[ 0.000000] found SMP MP-table at [ffff8800000fbc60] fbc60
[ 0.000000] init_memory_mapping: 0000000000000000-0000000080000000
[ 0.000000] 0000000000 - 0080000000 page 2M
[ 0.000000] kernel direct mapping tables up to 80000000 @ 16000-19000
[ 0.000000] RAMDISK: 33f01000 - 37ff0000
[ 0.000000] ACPI: RSDP 00000000000ea020 00024 (v02 Xen)
[ 0.000000] ACPI: XSDT 00000000fc012cb0 00034 (v01 Xen HVM 00000000 HVML 00000000)
[ 0.000000] ACPI: FACP 00000000fc012ad0 000F4 (v04 Xen HVM 00000000 HVML 00000000)
[ 0.000000] ACPI: DSDT 00000000fc002c40 0FE0B (v02 Xen HVM 00000000 INTL 20090123)
[ 0.000000] ACPI: FACS 00000000fc002c00 00040
[ 0.000000] ACPI: APIC 00000000fc012bd0 000D8 (v02 Xen HVM 00000000 HVML 00000000)
[ 0.000000] ACPI: Local APIC address 0xfee00000
[ 0.000000] No NUMA configuration found
[ 0.000000] Faking a node at 0000000000000000-0000000080000000
[ 0.000000] Initmem setup node 0 0000000000000000-0000000080000000
[ 0.000000] NODE_DATA [0000000001cb20c0 - 0000000001cb70bf]
[ 0.000000] [ffffea0000000000-ffffea0001bfffff] PMD -> [ffff880002600000-ffff8800041fffff] on node 0
[ 0.000000] Zone PFN ranges:
[ 0.000000] DMA 0x00000010 -> 0x00001000
[ 0.000000] DMA32 0x00001000 -> 0x00100000
[ 0.000000] Normal empty
[ 0.000000] Movable zone start PFN for each node
[ 0.000000] early_node_map[2] active PFN ranges
[ 0.000000] 0: 0x00000010 -> 0x0000009f
[ 0.000000] 0: 0x00000100 -> 0x00080000
[ 0.000000] On node 0 totalpages: 524175
[ 0.000000] DMA zone: 56 pages used for memmap
[ 0.000000] DMA zone: 0 pages reserved
[ 0.000000] DMA zone: 3927 pages, LIFO batch:0
[ 0.000000] DMA32 zone: 7112 pages used for memmap
[ 0.000000] DMA32 zone: 513080 pages, LIFO batch:31
[ 0.000000] ACPI: PM-Timer IO Port: 0x1f48
[ 0.000000] ACPI: Local APIC address 0xfee00000
[ 0.000000] ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
[ 0.000000] ACPI: LAPIC (acpi_id[0x01] lapic_id[0x02] enabled)
[ 0.000000] ACPI: LAPIC (acpi_id[0x02] lapic_id[0x04] disabled)
[ 0.000000] ACPI: LAPIC (acpi_id[0x03] lapic_id[0x06] disabled)
[ 0.000000] ACPI: LAPIC (acpi_id[0x04] lapic_id[0x08] disabled)
[ 0.000000] ACPI: LAPIC (acpi_id[0x05] lapic_id[0x0a] disabled)
[ 0.000000] ACPI: LAPIC (acpi_id[0x06] lapic_id[0x0c] disabled)
[ 0.000000] ACPI: LAPIC (acpi_id[0x07] lapic_id[0x0e] disabled)
[ 0.000000] ACPI: LAPIC (acpi_id[0x08] lapic_id[0x10] disabled)
[ 0.000000] ACPI: LAPIC (acpi_id[0x09] lapic_id[0x12] disabled)
[ 0.000000] ACPI: LAPIC (acpi_id[0x0a] lapic_id[0x14] disabled)
[ 0.000000] ACPI: LAPIC (acpi_id[0x0b] lapic_id[0x16] disabled)
[ 0.000000] ACPI: LAPIC (acpi_id[0x0c] lapic_id[0x18] disabled)
[ 0.000000] ACPI: LAPIC (acpi_id[0x0d] lapic_id[0x1a] disabled)
[ 0.000000] ACPI: LAPIC (acpi_id[0x0e] lapic_id[0x1c] disabled)
[ 0.000000] ACPI: IOAPIC (id[0x01] address[0xfec00000] gsi_base[0])
[ 0.000000] IOAPIC[0]: apic_id 1, version 17, address 0xfec00000, GSI 0-47
[ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 5 global_irq 5 low level)
[ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 10 global_irq 10 low level)
[ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 11 global_irq 11 low level)
[ 0.000000] ACPI: IRQ0 used by override.
[ 0.000000] ACPI: IRQ2 used by override.
[ 0.000000] ACPI: IRQ5 used by override.
[ 0.000000] ACPI: IRQ9 used by override.
[ 0.000000] ACPI: IRQ10 used by override.
[ 0.000000] ACPI: IRQ11 used by override.
[ 0.000000] Using ACPI (MADT) for SMP configuration information
[ 0.000000] SMP: Allowing 15 CPUs, 13 hotplug CPUs
[ 0.000000] nr_irqs_gsi: 48
[ 0.000000] Xen version 4.0.
=>[ 0.000000] Xen Platform PCI: I/O protocol version 1
=>[ 0.000000] Netfront and the Xen platform PCI driver have been compiled for this kernel: unplug emulated NICs. => [ 0.000000] Blkfront and the Xen platform PCI driver have been compiled for this kernel: unplug emulated disks. =>[ 0.000000] You might have to change the root device
=>[ 0.000000] from /dev/hd[a-d] to /dev/xvd[a-d]
[ 0.000000] in your root= kernel command line option
[ 0.000000] Xen doesn't support pvclock on HVM,disable pv timer
[ 0.000000] early_res array is doubled to 64 at [17180 - 1797f]
....
"df -h" reports /dev/xvda(X) devices
Boris
--- On Thu, 5/27/10, Boris Derzhavets <[email protected]> wrote:
From: Boris Derzhavets <[email protected]>
Subject: Re: [Xen-devel] [PATCH] xen: implement vector callback for evtchn delivery
To: "Stefano Stabellini" <[email protected]>
Cc: "[email protected]" <[email protected]>, "Keir Fraser" <[email protected]>, "Stefano Stabellini" <[email protected]>
Date: Thursday, May 27, 2010, 2:51 AM
Xen 4.0 updated with yours patch on top of F13. Ubuntu Lucid HVM created. Kernel 2.6.34 been built on HVM per yours the most recent instructions. HVM reloaded with 2.6.34 kernel. Obvious network performance improvement. Disk I/O doesn't look much better.
Boris.
--- On Wed, 5/26/10, Stefano Stabellini <[email protected]> wrote:
From: Stefano Stabellini <[email protected]>
Subject: Re: [Xen-devel] [PATCH] xen: implement vector callback for evtchn delivery
To: "Boris Derzhavets" <[email protected]>
Cc: "[email protected]" <[email protected]>, "Keir Fraser" <[email protected]>, "Stefano Stabellini"
<[email protected]>
Date: Wednesday, May 26, 2010, 7:12 AM
Quoted 3 lines · Boris Derzhavets
When i run rpmbuild on F13 , i need pv-on-hvm.patch in SOURCES for xen-4.0.0.1.7.f12.src.rpm. That was a reason of my request yesterday.
I am attaching to this email an untested port of the patch to 4.0.
-----Inline Attachment Follows-----
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
-----Inline Attachment Follows-----
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Quoted 119 lines · Boris Derzhavets
Seems to done right. Dmesg log for PV on HVM (Ubuntu Lucid) :-
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 2.6.34 (root@LucidSRV) (gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) ) #2 SMP Thu May 27 09:56:26 MSD 2010
[ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-2.6.34 root=UUID=8ab02f1a-d6bd-4829-9732-20440acf320f ro console=tty0
[ 0.000000] BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: 0000000000000000 -000000000009fc00(usable)
[ 0.000000] BIOS-e820:000000000009fc00-00000000000a0000(reserved)
[ 0.000000] BIOS-e820:00000000000e0000- 0000000000100000 (reserved)
[ 0.000000] BIOS-e820: 0000000000100000 - 0000000080000000 (usable)
[ 0.000000] BIOS-e820:00000000fc000000- 0000000100000000 (reserved)
[ 0.000000] NX (Execute Disable) protection: active
[ 0.000000] DMI 2.4 present.
[ 0.000000] e820 update range: 0000000000000000 - 0000000000001000 (usable) ==> (reserved)
[ 0.000000] e820 remove range:00000000000a0000- 0000000000100000 (usable)
[ 0.000000] No AGP bridge found
[ 0.000000]last_pfn=0x80000max_arch_pfn=0x400000000
[ 0.000000] MTRR default type: write-back
[ 0.000000] MTRR fixed ranges enabled:
[ 0.000000] 00000-9FFFF write-back
[ 0.000000] A0000-BFFFF write-combining
[ 0.000000] C0000-FFFFF write-back
[ 0.000000] MTRR variable ranges enabled:
[ 0.000000] 0 base 0F0000000 mask FF8000000 uncachable
[ 0.000000] 1 base 0F8000000 mask FFC000000 uncachable
[ 0.000000] 2 disabled
[ 0.000000] 3 disabled
[ 0.000000] 4 disabled
[ 0.000000] 5 disabled
[ 0.000000] 6 disabled
[ 0.000000] 7 disabled
[ 0.000000] x86 PAT enabled: cpu 0, old0x7040600070406, new0x7010600070106
[ 0.000000] e820 update range: 0000000000001000 - 0000000000010000 (usable) ==> (reserved)
[ 0.000000] Scanning 1 areas for low memory corruption
[ 0.000000] modified physical RAM map:
[ 0.000000] modified: 0000000000000000 - 0000000000010000 (reserved)
[ 0.000000] modified: 0000000000010000 -000000000009fc00(usable)
[ 0.000000] modified:000000000009fc00-00000000000a0000(reserved)
[ 0.000000] modified:00000000000e0000- 0000000000100000 (reserved)
[ 0.000000] modified: 0000000000100000 - 0000000080000000 (usable)
[ 0.000000] modified:00000000fc000000- 0000000100000000 (reserved)
[ 0.000000] initial memory mapped : 0 - 20000000
[ 0.000000] found SMP MP-table at [ffff8800000fbc60] fbc60
[ 0.000000]init_memory_mapping: 0000000000000000-0000000080000000
[ 0.000000] 0000000000 - 0080000000 page 2M
[ 0.000000] kernel direct mapping tables up to 80000000 @ 16000-19000
[ 0.000000] RAMDISK:33f01000-37ff0000
[ 0.000000] ACPI: RSDP00000000000ea02000024 (v02 Xen)
[ 0.000000] ACPI: XSDT00000000fc012cb000034 (v01 Xen HVM 00000000 HVML 00000000)
[ 0.000000] ACPI: FACP00000000fc012ad0000F4 (v04 Xen HVM 00000000 HVML 00000000)
[ 0.000000] ACPI: DSDT00000000fc002c400FE0B (v02 Xen HVM 00000000 INTL 20090123)
[ 0.000000] ACPI: FACS00000000fc002c0000040
[ 0.000000] ACPI: APIC00000000fc012bd0000D8 (v02 Xen HVM 00000000 HVML 00000000)
[ 0.000000] ACPI: Local APIC address0xfee00000
[ 0.000000] No NUMA configuration found
[ 0.000000] Faking a node at 0000000000000000-0000000080000000
[ 0.000000] Initmem setup node 0 0000000000000000-0000000080000000
[ 0.000000]NODE_DATA[0000000001cb20c0-0000000001cb70bf]
[ 0.000000] [ffffea0000000000-ffffea0001bfffff] PMD -> [ffff880002600000-ffff8800041fffff] on node 0 [ 0.000000] Zone PFN ranges:
[ 0.000000] DMA0x00000010->0x00001000
[ 0.000000] DMA320x00001000->0x00100000
[ 0.000000] Normal empty
[ 0.000000] Movable zone start PFN for each node
[ 0.000000] early_node_map[2] active PFN ranges
[ 0.000000] 0:0x00000010->0x0000009f
[ 0.000000] 0:0x00000100->0x00080000
[ 0.000000] On node 0 totalpages: 524175
[ 0.000000] DMA zone: 56 pages used for memmap
[ 0.000000] DMA zone: 0 pages reserved
[ 0.000000] DMA zone: 3927 pages, LIFO batch:0
[ 0.000000] DMA32 zone: 7112 pages used for memmap
[ 0.000000] DMA32 zone: 513080 pages, LIFO batch:31
[ 0.000000] ACPI: PM-Timer IO Port:0x1f48
[ 0.000000] ACPI: Local APIC address0xfee00000
[ 0.000000] ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
[ 0.000000] ACPI: LAPIC (acpi_id[0x01] lapic_id[0x02] enabled)
[ 0.000000] ACPI: LAPIC (acpi_id[0x02] lapic_id[0x04] disabled)
[ 0.000000] ACPI: LAPIC (acpi_id[0x03] lapic_id[0x06] disabled)
[ 0.000000] ACPI: LAPIC (acpi_id[0x04] lapic_id[0x08] disabled)
[ 0.000000] ACPI: LAPIC (acpi_id[0x05] lapic_id[0x0a] disabled)
[ 0.000000] ACPI: LAPIC (acpi_id[0x06] lapic_id[0x0c] disabled)
[ 0.000000] ACPI: LAPIC (acpi_id[0x07] lapic_id[0x0e] disabled)
[ 0.000000] ACPI: LAPIC (acpi_id[0x08] lapic_id[0x10] disabled)
[ 0.000000] ACPI: LAPIC (acpi_id[0x09] lapic_id[0x12] disabled)
[ 0.000000] ACPI: LAPIC (acpi_id[0x0a] lapic_id[0x14] disabled)
[ 0.000000] ACPI: LAPIC (acpi_id[0x0b] lapic_id[0x16] disabled)
[ 0.000000] ACPI: LAPIC (acpi_id[0x0c] lapic_id[0x18] disabled)
[ 0.000000] ACPI: LAPIC (acpi_id[0x0d] lapic_id[0x1a] disabled)
[ 0.000000] ACPI: LAPIC (acpi_id[0x0e] lapic_id[0x1c] disabled)
[ 0.000000] ACPI: IOAPIC (id[0x01] address[0xfec00000] gsi_base[0])
[ 0.000000] IOAPIC[0]:apic_id1, version 17, address0xfec00000, GSI 0-47
[ 0.000000] ACPI:INT_SRC_OVR(bus 0bus_irq0global_irq2 dfl dfl)
[ 0.000000] ACPI:INT_SRC_OVR(bus 0bus_irq5global_irq5 low level)
[ 0.000000] ACPI:INT_SRC_OVR(bus 0bus_irq10global_irq10 low level)
[ 0.000000] ACPI:INT_SRC_OVR(bus 0bus_irq11global_irq11 low level)
[ 0.000000] ACPI: IRQ0 used by override.
[ 0.000000] ACPI: IRQ2 used by override.
[ 0.000000] ACPI: IRQ5 used by override.
[ 0.000000] ACPI: IRQ9 used by override.
[ 0.000000] ACPI: IRQ10 used by override.
[ 0.000000] ACPI: IRQ11 used by override.
[ 0.000000] Using ACPI (MADT) for SMP configuration information
[ 0.000000] SMP: Allowing 15 CPUs, 13 hotplug CPUs
[ 0.000000]nr_irqs_gsi: 48
[ 0.000000] Xen version 4.0.
=>[ 0.000000] Xen Platform PCI: I/O protocol version 1
=>[ 0.000000] Netfront and the Xen platform PCI driver have been compiled for this kernel: unplug emulated NICs. => [ 0.000000] Blkfront and the Xen platform PCI driver have been compiled for this kernel: unplug emulated disks. =>[ 0.000000] You might have to change the root device
=>[ 0.000000] from /dev/hd[a-d] to /dev/xvd[a-d]
[ 0.000000] in your root= kernel command line option
[ 0.000000] Xen doesn't support pvclock on HVM,disable pv timer
[ 0.000000]early_resarray is doubled to 64 at [17180 - 1797f]
....
Quoted 3 lines
"df -h" reports /dev/xvda(X) devices
everything seems fine, the callback mechanism seems to be working too (even though I am not writing an explicit message about it, maybe I should). Please post the output of 'cat /proc/interrupts' just to be sure...
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
root@LucidSRV:~# cat /proc/interrupts CPU0 CPU1 0: 29 0 IO-APIC-edge timer 1: 107 0 IO-APIC-edge i8042 4: 1 0 IO-APIC-edge 6: 2 0 IO-APIC-edge floppy 8: 0 0 IO-APIC-edge rtc0 9: 0 0 IO-APIC-fasteoi acpi 12: 187 496 IO-APIC-edge i8042 14: 0 0 IO-APIC-edge ata_piix 15: 933 0 IO-APIC-edge ata_piix 16: 293 0 xen-dyn-event xenbus 17: 5059 0 xen-dyn-event blkif 18: 0 0 xen-dyn-event blkif 19: 72 0 xen-dyn-event eth0 23: 0 0 IO-APIC-fasteoi uhci_hcd:usb1 36: 0 0 IO-APIC-fasteoi Ensoniq AudioPCI NMI: 0 0 Non-maskable interrupts LOC: 2767 2901 Local timer interrupts SPU: 0 0 Spurious interrupts PMI: 0 0 Performance monitoring interrupts PND: 0 0 Performance pending work PLT: 5211 0 Platform interrupts RES: 1189 1949 Rescheduling interrupts CAL: 130 89 Function call interrupts TLB: 230 179 TLB shootdowns TRM: 0 0 Thermal event interrupts THR: 0 0 Threshold APIC interrupts MCE: 0 0 Machine check exceptions MCP: 1 1 Machine check polls ERR: 0 MIS: 0
Boris.
--- On Thu, 5/27/10, Stefano Stabellini <[email protected]> wrote:
From: Stefano Stabellini <[email protected]>
Subject: Re: [Xen-devel] [PATCH] xen: implement vector callback for evtchn delivery
To: "Boris Derzhavets" <[email protected]>
Cc: "[email protected]" <[email protected]>, "Keir Fraser" <[email protected]>, "Stefano Stabellini" <[email protected]>
Date: Thursday, May 27, 2010, 8:06 AM
Quoted 119 lines · Boris Derzhavets
Seems to done right. Dmesg log for PV on HVM (Ubuntu Lucid) :-
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 2.6.34 (root@LucidSRV) (gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) ) #2 SMP Thu May 27 09:56:26 MSD 2010
[ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-2.6.34 root=UUID=8ab02f1a-d6bd-4829-9732-20440acf320f ro console=tty0
[ 0.000000] BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: 0000000000000000 -000000000009fc00(usable)
[ 0.000000] BIOS-e820:000000000009fc00-00000000000a0000(reserved)
[ 0.000000] BIOS-e820:00000000000e0000- 0000000000100000 (reserved)
[ 0.000000] BIOS-e820: 0000000000100000 - 0000000080000000 (usable)
[ 0.000000] BIOS-e820:00000000fc000000- 0000000100000000 (reserved)
[ 0.000000] NX (Execute Disable) protection: active
[ 0.000000] DMI 2.4 present.
[ 0.000000] e820 update range: 0000000000000000 - 0000000000001000 (usable) ==> (reserved)
[ 0.000000] e820 remove range:00000000000a0000- 0000000000100000 (usable)
[ 0.000000] No AGP bridge found
[ 0.000000]last_pfn=0x80000max_arch_pfn=0x400000000
[ 0.000000] MTRR default type: write-back
[ 0.000000] MTRR fixed ranges enabled:
[ 0.000000] 00000-9FFFF write-back
[ 0.000000] A0000-BFFFF write-combining
[ 0.000000] C0000-FFFFF write-back
[ 0.000000] MTRR variable ranges enabled:
[ 0.000000] 0 base 0F0000000 mask FF8000000 uncachable
[ 0.000000] 1 base 0F8000000 mask FFC000000 uncachable
[ 0.000000] 2 disabled
[ 0.000000] 3 disabled
[ 0.000000] 4 disabled
[ 0.000000] 5 disabled
[ 0.000000] 6 disabled
[ 0.000000] 7 disabled
[ 0.000000] x86 PAT enabled: cpu 0, old0x7040600070406, new0x7010600070106
[ 0.000000] e820 update range: 0000000000001000 - 0000000000010000 (usable) ==> (reserved)
[ 0.000000] Scanning 1 areas for low memory corruption
[ 0.000000] modified physical RAM map:
[ 0.000000] modified: 0000000000000000 - 0000000000010000 (reserved)
[ 0.000000] modified: 0000000000010000 -000000000009fc00(usable)
[ 0.000000] modified:000000000009fc00-00000000000a0000(reserved)
[ 0.000000] modified:00000000000e0000- 0000000000100000 (reserved)
[ 0.000000] modified: 0000000000100000 - 0000000080000000 (usable)
[ 0.000000] modified:00000000fc000000- 0000000100000000 (reserved)
[ 0.000000] initial memory mapped : 0 - 20000000
[ 0.000000] found SMP MP-table at [ffff8800000fbc60] fbc60
[ 0.000000]init_memory_mapping: 0000000000000000-0000000080000000
[ 0.000000] 0000000000 - 0080000000 page 2M
[ 0.000000] kernel direct mapping tables up to 80000000 @ 16000-19000
[ 0.000000] RAMDISK:33f01000-37ff0000
[ 0.000000] ACPI: RSDP00000000000ea02000024 (v02 Xen)
[ 0.000000] ACPI: XSDT00000000fc012cb000034 (v01 Xen HVM 00000000 HVML 00000000)
[ 0.000000] ACPI: FACP00000000fc012ad0000F4 (v04 Xen HVM 00000000 HVML 00000000)
[ 0.000000] ACPI: DSDT00000000fc002c400FE0B (v02 Xen HVM 00000000 INTL 20090123)
[ 0.000000] ACPI: FACS00000000fc002c0000040
[ 0.000000] ACPI: APIC00000000fc012bd0000D8 (v02 Xen HVM 00000000 HVML 00000000)
[ 0.000000] ACPI: Local APIC address0xfee00000
[ 0.000000] No NUMA configuration found
[ 0.000000] Faking a node at 0000000000000000-0000000080000000
[ 0.000000] Initmem setup node 0 0000000000000000-0000000080000000
[ 0.000000]NODE_DATA[0000000001cb20c0-0000000001cb70bf]
[ 0.000000] [ffffea0000000000-ffffea0001bfffff] PMD -> [ffff880002600000-ffff8800041fffff] on node 0 [ 0.000000] Zone PFN ranges:
[ 0.000000] DMA0x00000010->0x00001000
[ 0.000000] DMA320x00001000->0x00100000
[ 0.000000] Normal empty
[ 0.000000] Movable zone start PFN for each node
[ 0.000000] early_node_map[2] active PFN ranges
[ 0.000000] 0:0x00000010->0x0000009f
[ 0.000000] 0:0x00000100->0x00080000
[ 0.000000] On node 0 totalpages: 524175
[ 0.000000] DMA zone: 56 pages used for memmap
[ 0.000000] DMA zone: 0 pages reserved
[ 0.000000] DMA zone: 3927 pages, LIFO batch:0
[ 0.000000] DMA32 zone: 7112 pages used for memmap
[ 0.000000] DMA32 zone: 513080 pages, LIFO batch:31
[ 0.000000] ACPI: PM-Timer IO Port:0x1f48
[ 0.000000] ACPI: Local APIC address0xfee00000
[ 0.000000] ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
[ 0.000000] ACPI: LAPIC (acpi_id[0x01] lapic_id[0x02] enabled)
[ 0.000000] ACPI: LAPIC (acpi_id[0x02] lapic_id[0x04] disabled)
[ 0.000000] ACPI: LAPIC (acpi_id[0x03] lapic_id[0x06] disabled)
[ 0.000000] ACPI: LAPIC (acpi_id[0x04] lapic_id[0x08] disabled)
[ 0.000000] ACPI: LAPIC (acpi_id[0x05] lapic_id[0x0a] disabled)
[ 0.000000] ACPI: LAPIC (acpi_id[0x06] lapic_id[0x0c] disabled)
[ 0.000000] ACPI: LAPIC (acpi_id[0x07] lapic_id[0x0e] disabled)
[ 0.000000] ACPI: LAPIC (acpi_id[0x08] lapic_id[0x10] disabled)
[ 0.000000] ACPI: LAPIC (acpi_id[0x09] lapic_id[0x12] disabled)
[ 0.000000] ACPI: LAPIC (acpi_id[0x0a] lapic_id[0x14] disabled)
[ 0.000000] ACPI: LAPIC (acpi_id[0x0b] lapic_id[0x16] disabled)
[ 0.000000] ACPI: LAPIC (acpi_id[0x0c] lapic_id[0x18] disabled)
[ 0.000000] ACPI: LAPIC (acpi_id[0x0d] lapic_id[0x1a] disabled)
[ 0.000000] ACPI: LAPIC (acpi_id[0x0e] lapic_id[0x1c] disabled)
[ 0.000000] ACPI: IOAPIC (id[0x01] address[0xfec00000] gsi_base[0])
[ 0.000000] IOAPIC[0]:apic_id1, version 17, address0xfec00000, GSI 0-47
[ 0.000000] ACPI:INT_SRC_OVR(bus 0bus_irq0global_irq2 dfl dfl)
[ 0.000000] ACPI:INT_SRC_OVR(bus 0bus_irq5global_irq5 low level)
[ 0.000000] ACPI:INT_SRC_OVR(bus 0bus_irq10global_irq10 low level)
[ 0.000000] ACPI:INT_SRC_OVR(bus 0bus_irq11global_irq11 low level)
[ 0.000000] ACPI: IRQ0 used by override.
[ 0.000000] ACPI: IRQ2 used by override.
[ 0.000000] ACPI: IRQ5 used by override.
[ 0.000000] ACPI: IRQ9 used by override.
[ 0.000000] ACPI: IRQ10 used by override.
[ 0.000000] ACPI: IRQ11 used by override.
[ 0.000000] Using ACPI (MADT) for SMP configuration information
[ 0.000000] SMP: Allowing 15 CPUs, 13 hotplug CPUs
[ 0.000000]nr_irqs_gsi: 48
[ 0.000000] Xen version 4.0.
=>[ 0.000000] Xen Platform PCI: I/O protocol version 1
=>[ 0.000000] Netfront and the Xen platform PCI driver have been compiled for this kernel: unplug emulated NICs. => [ 0.000000] Blkfront and the Xen platform PCI driver have been compiled for this kernel: unplug emulated disks. =>[ 0.000000] You might have to change the root device
=>[ 0.000000] from /dev/hd[a-d] to /dev/xvd[a-d]
[ 0.000000] in your root= kernel command line option
[ 0.000000] Xen doesn't support pvclock on HVM,disable pv timer
[ 0.000000]early_resarray is doubled to 64 at [17180 - 1797f]
....
Quoted 3 lines
"df -h" reports /dev/xvda(X) devices
everything seems fine, the callback mechanism seems to be working too (even though I am not writing an explicit message about it, maybe I should). Please post the output of 'cat /proc/interrupts' just to be sure...
-----Inline Attachment Follows-----
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Quoted 24 lines · Boris Derzhavets
root@LucidSRV:~# cat /proc/interrupts CPU0 CPU1 0: 29 0 IO-APIC-edge timer 1: 107 0 IO-APIC-edge i8042 4: 1 0 IO-APIC-edge 6: 2 0 IO-APIC-edge floppy 8: 0 0 IO-APIC-edge rtc0 9: 0 0 IO-APIC-fasteoi acpi 12: 187 496 IO-APIC-edge i8042 14: 0 0 IO-APIC-edge ata_piix 15: 933 0 IO-APIC-edge ata_piix 16: 293 0 xen-dyn-event xenbus 17: 5059 0 xen-dyn-event blkif 18: 0 0 xen-dyn-event blkif 19: 72 0 xen-dyn-event eth0 23: 0 0 IO-APIC-fasteoi uhci_hcd:usb1 36: 0 0 IO-APIC-fasteoi Ensoniq AudioPCI NMI: 0 0 Non-maskable interrupts LOC: 2767 2901 Local timer interrupts SPU: 0 0 Spurious interrupts PMI: 0 0 Performance monitoring interrupts PND: 0 0 Performance pending work PLT: 5211 0 Platform interrupts RES: 1189 1949 Rescheduling interrupts
Quoted 9 lines
CAL: 130 89 Function call interrupts TLB: 230 179 TLB shootdowns TRM: 0 0 Thermal event interrupts THR: 0 0 Threshold APIC interrupts MCE: 0 0 Machine check exceptions MCP: 1 1 Machine check polls ERR: 0 MIS: 0
You definitely have the vector callback enabled.
I am not sure why you receive so many ata_piix interrupts given that you shouldn't be using the emulated disk at all.
Maybe you are reading from an emulated cdrom?
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Dmesg log ( attached to my first report ) also shows :-
[ 2.932460] ata1: PATA max MWDMA2 cmd 0x1f0 ctl 0x3f6 bmdma 0xc320 irq 14 [ 2.933404] ata2: PATA max MWDMA2 cmd 0x170 ctl 0x376 bmdma 0xc328 irq 15
I am not using emulated CDROM . Originally HVM was installed via virt-install using ISO image. Nothing else.
I will verify "virsh dumpxml LucidHVM" one more time ( shortly).
Boris.
--- On Thu, 5/27/10, Stefano Stabellini <[email protected]> wrote:
From: Stefano Stabellini <[email protected]>
Subject: Re: [Xen-devel] [PATCH] xen: implement vector callback for evtchn delivery
To: "Boris Derzhavets" <[email protected]>
Cc: "[email protected]" <[email protected]>, "Keir Fraser" <[email protected]>, "Stefano Stabellini" <[email protected]>
Date: Thursday, May 27, 2010, 10:58 AM
Quoted 24 lines · Boris Derzhavets
root@LucidSRV:~# cat /proc/interrupts CPU0 CPU1 0: 29 0 IO-APIC-edge timer 1: 107 0 IO-APIC-edge i8042 4: 1 0 IO-APIC-edge 6: 2 0 IO-APIC-edge floppy 8: 0 0 IO-APIC-edge rtc0 9: 0 0 IO-APIC-fasteoi acpi 12: 187 496 IO-APIC-edge i8042 14: 0 0 IO-APIC-edge ata_piix 15: 933 0 IO-APIC-edge ata_piix 16: 293 0 xen-dyn-event xenbus 17: 5059 0 xen-dyn-event blkif 18: 0 0 xen-dyn-event blkif 19: 72 0 xen-dyn-event eth0 23: 0 0 IO-APIC-fasteoi uhci_hcd:usb1 36: 0 0 IO-APIC-fasteoi Ensoniq AudioPCI NMI: 0 0 Non-maskable interrupts LOC: 2767 2901 Local timer interrupts SPU: 0 0 Spurious interrupts PMI: 0 0 Performance monitoring interrupts PND: 0 0 Performance pending work PLT: 5211 0 Platform interrupts RES: 1189 1949 Rescheduling interrupts
Quoted 9 lines
CAL: 130 89 Function call interrupts TLB: 230 179 TLB shootdowns TRM: 0 0 Thermal event interrupts THR: 0 0 Threshold APIC interrupts MCE: 0 0 Machine check exceptions MCP: 1 1 Machine check polls ERR: 0 MIS: 0
You definitely have the vector callback enabled.
I am not sure why you receive so many ata_piix interrupts given that you shouldn't be using the emulated disk at all.
Maybe you are reading from an emulated cdrom?
-----Inline Attachment Follows-----
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Here we go:-
<domain type="xen" id="4">
<name>LucidHVM</name> <uuid>0f26e840-836d-18f3-9438-0f12d1e42677</uuid> <memory>2097152</memory> <currentMemory>2097152</currentMemory>
<vcpu>2</vcpu>
<os>
<type>hvm</type> <loader>/usr/lib/xen/boot/hvmloader</loader>
<boot dev="hd"/>
</os>
<features>
<acpi/>
<apic/>
<pae/>
</features>
<clock offset="utc"/> <on_poweroff>destroy</on_poweroff> <on_reboot>restart</on_reboot> <on_crash>restart</on_crash>
<devices> <emulator>/usr/lib64/xen/bin/qemu-dm</emulator>
************************************************************
<disk type="block" device="disk">
<driver name="phy"/>
<source dev="/dev/sda7"/>
<target dev="hda" bus="ide"/>
</disk>
<disk type="file" device="cdrom">
<target dev="hdc" bus="ide"/>
<readonly/>
*************************************************************
</disk>
<interface type="bridge">
<mac address="00:16:36:2a:cd:af"/>
<source bridge="br0"/>
<script path="/etc/xen/scripts/vif-bridge"/>
<target dev="vif4.0"/>
</interface>
<serial type="pty">
<source path="/dev/pts/0"/>
<target port="0"/>
</serial>
<console type="pty" tty="/dev/pts/0">
<source path="/dev/pts/0"/>
<target port="0"/>
</console>
<input type="mouse" bus="ps2"/>
<graphics type="vnc" port="5900" autoport="yes" keymap="en-us"/> <sound model="es1370"/>
</devices>
</domain>
That's XML profile kept by virt-manager after it's own install HVM DomU on F13
Boris.
--- On Thu, 5/27/10, Stefano Stabellini <[email protected]> wrote:
From: Stefano Stabellini <[email protected]>
Subject: Re: [Xen-devel] [PATCH] xen: implement vector callback for evtchn delivery
To: "Boris Derzhavets" <[email protected]>
Cc: "[email protected]" <[email protected]>, "Keir Fraser" <[email protected]>, "Stefano Stabellini" <[email protected]>
Date: Thursday, May 27, 2010, 10:58 AM
Quoted 24 lines · Boris Derzhavets
root@LucidSRV:~# cat /proc/interrupts CPU0 CPU1 0: 29 0 IO-APIC-edge timer 1: 107 0 IO-APIC-edge i8042 4: 1 0 IO-APIC-edge 6: 2 0 IO-APIC-edge floppy 8: 0 0 IO-APIC-edge rtc0 9: 0 0 IO-APIC-fasteoi acpi 12: 187 496 IO-APIC-edge i8042 14: 0 0 IO-APIC-edge ata_piix 15: 933 0 IO-APIC-edge ata_piix 16: 293 0 xen-dyn-event xenbus 17: 5059 0 xen-dyn-event blkif 18: 0 0 xen-dyn-event blkif 19: 72 0 xen-dyn-event eth0 23: 0 0 IO-APIC-fasteoi uhci_hcd:usb1 36: 0 0 IO-APIC-fasteoi Ensoniq AudioPCI NMI: 0 0 Non-maskable interrupts LOC: 2767 2901 Local timer interrupts SPU: 0 0 Spurious interrupts PMI: 0 0 Performance monitoring interrupts PND: 0 0 Performance pending work PLT: 5211 0 Platform interrupts RES: 1189 1949 Rescheduling interrupts
Quoted 9 lines
CAL: 130 89 Function call interrupts TLB: 230 179 TLB shootdowns TRM: 0 0 Thermal event interrupts THR: 0 0 Threshold APIC interrupts MCE: 0 0 Machine check exceptions MCP: 1 1 Machine check polls ERR: 0 MIS: 0
You definitely have the vector callback enabled.
I am not sure why you receive so many ata_piix interrupts given that you shouldn't be using the emulated disk at all.
Maybe you are reading from an emulated cdrom?
-----Inline Attachment Follows-----
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Quoted 8 lines · Boris Derzhavets
<disk type="block" device="disk">
<driver name="phy"/>
<source dev="/dev/sda7"/>
<target dev="hda" bus="ide"/>
</disk>
<disk type="file" device="cdrom">
<target dev="hdc" bus="ide"/>
<readonly/>
I am pretty sure that the interrupts on the ata_piix device are due to the cdrom that has been used through the emulated interface. Using xend/xl, it is possible to make sure your guest can use the pv interface for the cdrom too, specifying xvdc instead of hdc as virtual device:
disk = [ 'file:/path/to/iso,xvdc:cdrom,r' ]