> Due to testing been done i have to go to conclusion
> that SNV87  Dom0 won't provide a good performance for
> Solaris HVM guests.
> For SNV87 HVM (64-bit) guest  i've got elasped time:-
> 40 sec at Xen 3.2 CentOS 5.1 Dom0 vs 300 sec at SNV87 Dom0.

Hmm, on a 32-bit Xen 3.2 Gentoo Dom0, a 32-bit HVM SNV85 DomU
needs ~ 60 seconds for the fork_100 test.  The HVM SNV85 DomU 
kernel is using a virtual 3-level  MMU with the PAE extension.

Forcing the HVM SNV85 DomU kernel not to use the PAE MMU
extension results in the fork_100 benchmark running twice as fast;
now it runs in ~ 30 seconds.

GRUB boot entry to force using 2-level MMU page tables in 32-bit mode:

title Solaris Express Community Edition snv_85 X86 (32-bit, noPAE)
kernel$ /platform/i86pc/kernel/unix -B disablePAE=true
module$ /platform/i86pc/boot_archive



The same test on a xVM 3.1.2 64-bit SNV_89 Dom0 crashed quite
spectacular:  First the 32-bit non-PAE HVM domU paniced, and after
the HVM domU had written a crash dump and was destroyed the dom0
kernel paniced, too.

domU panic:
===========

# mdb -k 0
Loading modules: [ unix genunix specfs cpu.generic cpu_ms.AuthenticAMD.15 uppc 
pcplusmp scsi_vhci ufs ip hook neti sctp arp usba uhci s1394 qlc fctl nca lofs ]
> ::status
debugging crash dump vmcore.0 (32-bit) from xen-hvm
operating system: 5.11 snv_85 (i86pc)
panic message: 
BAD TRAP: type=e (#pf Page fault) rp=d5e635dc addr=113 occurred in module "genun
ix" due to a NULL pointer dereference
dump content: kernel pages only
> $c
i_ddi_intr_get_supported_types+0xe(ffffffff)
ddi_intr_alloc+0x83(ffffffff, d5f0b0f0, 1, 0, 1, d5e63768)
ec_init+0xa6(ffffffff)
xen_pv_init+0x1de()
::msgbuf
...
MESSAGE                                                               
SunOS Release 5.11 Version snv_85 32-bit
Copyright 1983-2008 Sun Microsystems, Inc.  All rights reserved.
Use is subject to license terms.
features: 10e7fff<cpuid,cx16,sse3,nx,sse2,sse,sep,pat,cx8,pae,mca,mmx,cmov,de,pg
e,mtrr,msr,tsc,lgpg>
mem = 523876K (0x1ff99000)
root nexus = i86pc
pseudo0 at root
pseudo0 is /pseudo
scsi_vhci0 at root
scsi_vhci0 is /scsi_vhci
isa0 at root
pcplusmp: vector 0x9 ioapic 0x1 intin 0x9 is bound to cpu 0
pseudo-device: acpippm0
acpippm0 is /pseudo/[EMAIL PROTECTED]
pseudo-device: ppm0
ppm0 is /pseudo/[EMAIL PROTECTED]
pci0 at root: space 0 offset 0
pci0 is /[EMAIL PROTECTED],0
pcplusmp: ide (ata) instance 0 vector 0xe ioapic 0x1 intin 0xe is bound to cpu 0
        IDE device at targ 0, lun 0 lastlun 0x0
        model QEMU HARDDISK
        ATA/ATAPI-7 supported, majver 0xf0 minver 0x16
ata_set_feature: (0x66,0x0) failed
ata_set_feature: (0x66,0x0) failed
PCI-device: [EMAIL PROTECTED], ata0
ata0 is /[EMAIL PROTECTED],0/[EMAIL PROTECTED],1/[EMAIL PROTECTED]
        UltraDMA mode 5 selected
Disk0:  <Vendor 'Gen-ATA ' Product 'QEMU HARDDISK   '>
cmdk0 at ata0 target 0 lun 0
cmdk0 is /[EMAIL PROTECTED],0/[EMAIL PROTECTED],1/[EMAIL PROTECTED]/[EMAIL 
PROTECTED],0
SMBIOS v2.4 loaded (285 bytes)
/cpus (cpunex0) online
pseudo-device: dld0
dld0 is /pseudo/[EMAIL PROTECTED]
pcplusmp: i8042 (i8042) instance 0 vector 0x1 ioapic 0x1 intin 0x1 is bound to c
pu 0
pcplusmp: i8042 (i8042) instance #0 vector 0xc ioapic 0x1 intin 0xc is bound to 
cpu 0
8042 device:  [EMAIL PROTECTED], kb8042 # 0
kb80420 is /isa/[EMAIL PROTECTED],60/[EMAIL PROTECTED]
8042 device:  [EMAIL PROTECTED], mouse8042 # 0
mouse80420 is /isa/[EMAIL PROTECTED],60/[EMAIL PROTECTED]
NOTICE: Kernel debugger present: disabling console power management.
NOTICE: MPO disabled because memory is interleaved

cpu0: x86 (AuthenticAMD 40F33 family 15 model 67 step 3 clock 3207 MHz)
cpu0: AMD Athlon(tm) 64 X2 Dual Core Processor 6400+
workaround applied for cpu erratum #122
workaround applied for cpu issue #6336786
pcplusmp: pci10ec,8139 (rtls) instance 0 vector 0x20 ioapic 0x1 intin 0x20 is bo
und to cpu 0
NOTICE: rtls0 registered
NOTICE: rtls0 link up, 100 Mbps, half duplex
pseudo-device: devinfo0
devinfo0 is /pseudo/[EMAIL PROTECTED]         
dump on /dev/dsk/c0d0s1 size 512 MB

panic[cpu0]/thread=d6a1f800: 
BAD TRAP: type=e (#pf Page fault) rp=d5e635dc addr=113 occurred in module "genun
ix" due to a NULL pointer dereference


devices-local: 
#pf Page fault
Bad kernel fault at addr=0x113
pid=74, pc=0xfe8d80ae, sp=0x1, eflags=0x10286
cr0: 8005003b<pg,wp,ne,et,ts,mp,pe> cr4: 6d8<xmme,fxsr,pge,mce,pse,de>
cr2: 113
cr3: 1c487000

         gs:      1b0  fs:        0  es:      160  ds: d5e60160
        edi: ffffffff esi:        1 ebp: d5e63698 esp: d5e63614
        ebx: ffffffff edx: d3c243b0 ecx:        0 eax:        0
        trp:        e err:        0 eip: fe8d80ae  cs:      158
        efl:    10286 usp:        1  ss:        1

d5e6352c unix:die+98 (e, d5e635dc, 113, 0)
d5e635c8 unix:trap+12a5 (d5e635dc, 113, 0)
d5e635dc unix:cmntrap+7c (1b0, 0, 160, d5e601)
d5e63698 genunix:i_ddi_intr_get_supported_types+e (ffffffff)
d5e63724 genunix:ddi_intr_alloc+83 (ffffffff, d5f0b0f0,)
d5e6376c xpv:ec_init+a6 (ffffffff)

panic[cpu0]/thread=d6a1f800: 
BAD TRAP: type=e (#pf Page fault) rp=fec3ad20 addr=0 occurred in module "genunix
" due to a NULL pointer dereference

syncing file systems...
 [1]
 1
 done (not all i/o completed)
dumping to /dev/dsk/c0d0s1, offset 107413504, content: kernel
> 



Followed by:

dom0 panic:
===========

# mdb -k 1
Loading modules: [ unix genunix specfs dtrace xpv_uppc xpv_psm scsi_vhci ufs sd 
ip hook neti sctp arp usba s1394 nca fctl zfs lofs audiosup md random crypto 
smbsrv nfs fcp fcip logindmux ptm nsctl sdbc sv ii sppp nsmb rdc ipc ]
> ::status
debugging crash dump vmcore.1 (64-bit) from tiger2
operating system: 5.11 snv_90_jk (i86pc)
panic message: 
BAD TRAP: type=d (#gp General protection) rp=ffffff0010369b70 addr=ffffff02e0a0b
940
dump content: kernel pages only
> $c
anon_decref+0x21(68732f6e696228)
anon_free+0x81(ffffff02e0a0b940, 0, 1fe000)
segvn_free+0x177(ffffff02df7e6440)
seg_free+0x34(ffffff02df7e6440)
segvn_unmap+0xa9f(ffffff02df7e6440, 7ffffe003000, 1fe000)
as_unmap+0x10a(ffffff02df9620e0, 7ffffe003000, 1fe000)
munmap+0x87(7ffffe003000, 1fe000)
sys_syscall+0x1c9()

> ::msgbuf
...
/xpvd/[EMAIL PROTECTED],768 (xdb0) online
/xpvd/[EMAIL PROTECTED],5632 (xdb1) online
/xpvd/[EMAIL PROTECTED],0 (xnbe0) online
NOTICE: vnic1005 registered
NOTICE: vnic1005 unregistered
NOTICE: vnic1007 registered
/xpvd/[EMAIL PROTECTED],0 (xnbe0) offline
/xpvd/[EMAIL PROTECTED],768 (xdb0) offline
/xpvd/[EMAIL PROTECTED],5632 (xdb1) offline
NOTICE: vnic1007 unregistered
/xpvd/[EMAIL PROTECTED],768 (xdb0) online
/xpvd/[EMAIL PROTECTED],5632 (xdb1) online
/xpvd/[EMAIL PROTECTED],0 (xnbe0) online

panic[cpu0]/thread=ffffff02de1cbe00: 
BAD TRAP: type=d (#gp General protection) rp=ffffff0010369b70 addr=ffffff02e0a0b
940


python: 
#gp General protection
addr=0xffffff02e0a0b940
pid=1042, pc=0xfffffffffbaae2e1, sp=0xffffff0010369c60, eflags=0x10216
cr0: 8005003b<pg,wp,ne,et,ts,mp,pe> cr4: 660<xmme,fxsr,mce,pae>
cr2: 7ffffee43258

        rdi:   68732f6e696228 rsi:                0 rdx:                0
        rcx:                0  r8:            7ffff  r9: ffffff02c7465000
        rax:                0 rbx:   68732f6e696228 rbp: ffffff0010369c90
        r10:              1fe r11:              200 r12:   68732f6e696228
        r13:                0 r14: ffffff0010369cd0 r15: ffffff02e0a0b940
        fsb:     7ffffee44200 gsb: fffffffffbc5c070  ds:               4b
         es:               4b  fs:                0  gs:                0
        trp:                d err:                0 rip: fffffffffbaae2e1
         cs:             e030 rfl:            10216 rsp: ffffff0010369c60
         ss:             e02b

ffffff0010369a50 unix:die+ea ()
ffffff0010369b60 unix:trap+3e4 ()
ffffff0010369b70 unix:_cmntrap+12f ()
ffffff0010369c90 genunix:anon_decref+21 ()
ffffff0010369cf0 genunix:anon_free+81 ()
ffffff0010369d40 genunix:segvn_free+177 ()
ffffff0010369d70 genunix:seg_free+34 ()
ffffff0010369e20 genunix:segvn_unmap+a9f ()
ffffff0010369ec0 genunix:as_unmap+10a ()
ffffff0010369f00 genunix:munmap+87 ()
ffffff0010369f10 unix:brand_sys_syscall+261 ()

syncing file systems...
 4
 done
dumping to /dev/dsk/c9t0d0s1, offset 860356608, content: kernel
 
 
This message posted from opensolaris.org
_______________________________________________
xen-discuss mailing list
[email protected]

Reply via email to