Skip to contentSkip to conversation

Weekly benchmark results [ww04]

IA64 Applied KUWAMURA Shin'ya 4 participants 7 messages Feb 1, 2008 – Feb 5, 2008

lore
Share & tools
lore
#0 lore raw

Hi,

I report a benchmark result of this week on IPF using ia64/xen-unstable and ia64/linux-2.6.18-xen.

I did not test a VTi domain, since loading xen-platform-pci.ko failed:
Loading xen-platform-pci.ko module
xen_platform_pci: Unknown symbol xencomm_hypercall_suspend
insmod: error inserting '/lib/xen-platform-pci.ko':
-1 Unknown symbol in module
ERROR: /bin/insmod exited abnormally! (pid 210)

TEST ENVIRONMENT

    Machine          : Tiger4
    Kernel           : 2.6.18.8-xen
    Changeset        : 16947:33d0cf9474f9 (ia64/xen-unstable)

401:e32fe4703ab6 (ia64/linux-2.6.18-xen)
68:6efa9014e0a5 (efi-vfirmware)
Dom0 OS : RHEL4 U2 (2P)
DomU OS : RHEL4 U2 (8P, using tap:aio)
DomVTi OS : RHEL4 U2 (8P, with PV-on-HVM drivers)
Scheduler : credit

TEST RESULT
DomU:

    unixbench4.1.0    : Pass
    bonnie++-1.03     : Pass
    ltp-full-20070930 : Pass
    iozone3_191       : Pass
    lmbench-3.0-a5    : Pass

DomVTi: (not tested)

Best regards,
KUWAMURA and Fujitsu members

#1 lore raw

Could you try the attached patch?
NOTE: I did NOT compile/test it. But I believe it's easy to fix.

Quoted 40 lines · KUWAMURA Shin'ya

Hi,

I report a benchmark result of this week on IPF using ia64/xen-unstable and ia64/linux-2.6.18-xen.

I did not test a VTi domain, since loading xen-platform-pci.ko failed:
Loading xen-platform-pci.ko module
xen_platform_pci: Unknown symbol xencomm_hypercall_suspend
insmod: error inserting '/lib/xen-platform-pci.ko':
-1 Unknown symbol in module
ERROR: /bin/insmod exited abnormally! (pid 210)

TEST ENVIRONMENT

    Machine          : Tiger4
    Kernel           : 2.6.18.8-xen
    Changeset        : 16947:33d0cf9474f9 (ia64/xen-unstable)

401:e32fe4703ab6 (ia64/linux-2.6.18-xen)
68:6efa9014e0a5 (efi-vfirmware)
Dom0 OS : RHEL4 U2 (2P)
DomU OS : RHEL4 U2 (8P, using tap:aio)
DomVTi OS : RHEL4 U2 (8P, with PV-on-HVM drivers)
Scheduler : credit

TEST RESULT
DomU:

    unixbench4.1.0    : Pass
    bonnie++-1.03     : Pass
    ltp-full-20070930 : Pass
    iozone3_191       : Pass
    lmbench-3.0-a5    : Pass

DomVTi: (not tested)

Best regards,
KUWAMURA and Fujitsu members

_______________________________________________
Xen-ia64-devel mailing list
[email protected]
http://lists.xensource.com/xen-ia64-devel

Signature · 1 line
yamahata

# HG changeset patch
# User [email protected]
# Date 1201869305 -32400
# Node ID 81a850b973580a541870db1fdd895839b61b4e31
# Parent e32fe4703ab68245dedcf32d76510623ba86953a
split xencomm_arch_hypercall_suspend to its own file to use from unmodified driver.
Loading xen-platform-pci.ko module
xen_platform_pci: Unknown symbol xencomm_hypercall_suspend
insmod: error inserting '/lib/xen-platform-pci.ko':
-1 Unknown symbol in module
ERROR: /bin/insmod exited abnormally! (pid 210)

PATCHNAME: split_xencomm_arch_hypercall_suspend

arch/ia64/xen/Makefile +1 -1
@@ -4,6 +4,6 @@
 
 obj-y := hypercall.o xenivt.o xenentry.o xensetup.o xenpal.o xenhpski.o \
 	 hypervisor.o util.o xencomm.o xcom_hcall.o \
-	 xcom_privcmd.o xen_dma.o
+	 xcom_privcmd.o xcom_asm.o xen_dma.o
 
 obj-$(CONFIG_IA64_GENERIC) += machvec.o
arch/ia64/xen/xcom_asm.S new file +25 -0
new file mode 100644
@@ -0,0 +1,25 @@
+/*
+ * xencomm suspend support
+ * Support routines for Xen
+ *
+ * Copyright (C) 2005 Dan Magenheimer <[email protected]>
+ */
+#include <asm/asmmacro.h>
+#include <xen/interface/xen.h>
+
+/* Stub for suspend.
+   Just force the stacked registers to be written in memory.  */	
+GLOBAL_ENTRY(xencomm_arch_hypercall_suspend)
+	;; 
+	alloc r20=ar.pfs,0,0,6,0
+	mov r2=__HYPERVISOR_sched_op
+	;; 
+	/* We don't want to deal with RSE.  */
+	flushrs
+	mov r33=r32
+	mov r32=2 // SCHEDOP_shutdown
+	;;
+	break 0x1000
+	;; 
+	br.ret.sptk.many b0
+END(xencomm_arch_hypercall_suspend)
arch/ia64/xen/xcom_hcall.c +0 -2
@@ -484,7 +484,6 @@ xencomm_hypercall_hvm_op(int cmd, void *
 }
 EXPORT_SYMBOL_GPL(xencomm_hypercall_hvm_op);
 
-#ifndef CONFIG_VMX_GUEST
 int
 xencomm_hypercall_suspend(unsigned long srec)
 {
@@ -495,7 +494,6 @@ xencomm_hypercall_suspend(unsigned long 
 	return xencomm_arch_hypercall_suspend(
 		xencomm_map_no_alloc(&arg, sizeof(arg)));
 }
-#endif
 
 int
 xencomm_hypercall_xenoprof_op(int op, void *arg)
arch/ia64/xen/xensetup.S +0 -19
@@ -38,22 +38,3 @@ GLOBAL_ENTRY(early_xen_setup)
 	br.ret.sptk.many rp
 	;;
 END(early_xen_setup)
-
-#include <xen/interface/xen.h>
-
-/* Stub for suspend.
-   Just force the stacked registers to be written in memory.  */	
-GLOBAL_ENTRY(xencomm_arch_hypercall_suspend)
-	;; 
-	alloc r20=ar.pfs,0,0,6,0
-	mov r2=__HYPERVISOR_sched_op
-	;; 
-	/* We don't want to deal with RSE.  */
-	flushrs
-	mov r33=r32
-	mov r32=2 // SCHEDOP_shutdown
-	;;
-	break 0x1000
-	;; 
-	br.ret.sptk.many b0
-END(xencomm_arch_hypercall_suspend)

# HG changeset patch
# User [email protected]
# Date 1201867969 -32400
# Node ID 107a4608a832603055593d33fba77af959fd7129
# Parent 33d0cf9474f93ff1eb7654754554b41351148f57 add xencomm_arch_hypercall_suspend to fix the following error.
Loading xen-platform-pci.ko module
xen_platform_pci: Unknown symbol xencomm_hypercall_suspend
insmod: error inserting '/lib/xen-platform-pci.ko':
-1 Unknown symbol in module
ERROR: /bin/insmod exited abnormally! (pid 210)
PATCHNAME: split_xencomm_arch_hypercall_suspend

unmodified_drivers/linux-2.6/mkbuildtree +1 -0
@@ -77,6 +77,7 @@ i[34567]86|x86_64)
     ln -sf ${XL}/include/asm-ia64/xen/xcom_hcall.h include/asm/xen
     ln -sf ${XL}/include/asm-ia64/xen/xencomm.h include/asm/xen
     ln -sf ${XL}/arch/ia64/xen/xcom_hcall.c platform-pci/
+    ln -sf ${XL}/arch/ia64/xen/xcom_asm.S platform-pci/
     ln -sf ${XL}/arch/ia64/xen/xencomm.c platform-pci/xencomm_arch.c
     ln -sf ${XL}/drivers/xen/core/xencomm.c platform-pci
   ;;
unmodified_drivers/linux-2.6/platform-pci/Kbuild +1 -1
@@ -17,5 +17,5 @@ xen-platform-pci-objs += ../xenbus/xen_p
 
 # Can we do better ?
 ifeq ($(ARCH),ia64)
-  xen-platform-pci-objs += xencomm.o xencomm_arch.o xcom_hcall.o
+  xen-platform-pci-objs += xencomm.o xencomm_arch.o xcom_hcall.o xcom_asm.o
 endif

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#2 lore raw

Hi Isaku,

Quoted 2 lines · Isaku Yamahata

Could you try the attached patch?

Thank you. These patches worked well with the attached patch.

Signature · 1 line
  KUWAMURA Shin'ya

# HG changeset patch
# User KUWAMURA Shin'ya <[email protected]> # Date 1202085889 -32400
# Node ID d97e305d22b37f8ec9c68b969451ca2aa2197475 # Parent 107a4608a832603055593d33fba77af959fd7129 add EXTRA_AFLAGS for platform-pci/xcom_asm.S

unmodified_drivers/linux-2.6/overrides.mk +1 -0
@@ -12,3 +12,4 @@ endif
 endif
 
 EXTRA_CFLAGS += -include $(objtree)/include/linux/autoconf.h
+EXTRA_AFLAGS += -I$(M)/include -I$(M)/compat-include -DHAVE_XEN_PLATFORM_COMPAT_H

_______________________________________________
Xen-ia64-devel mailing list
[email protected]
http://lists.xensource.com/xen-ia64-devel

#3 lore raw

All these patches, including the overrides.mk change, are okay by me to go into the ia64 repository.

-- Keir

Quoted 8 lines · KUWAMURA Shin'ya

Hi Isaku,

Quoted 2 lines · Isaku Yamahata

Could you try the attached patch?

Thank you. These patches worked well with the attached patch.

#4 lore raw
In reply to KUWAMURA Shin'ya
Quoted 8 lines · KUWAMURA Shin'ya

Hi Isaku,

Quoted 2 lines · Isaku Yamahata

Could you try the attached patch?

Thank you. These patches worked well with the attached patch.

Kuwamura-san,

Can you please send a sign-off for this? Thanks,

Alex

Quoted 20 lines

plain text document attachment (16948-add-aflags.patch) # HG changeset patch
# User KUWAMURA Shin'ya <[email protected]> # Date 1202085889 -32400
# Node ID d97e305d22b37f8ec9c68b969451ca2aa2197475 # Parent 107a4608a832603055593d33fba77af959fd7129 add EXTRA_AFLAGS for platform-pci/xcom_asm.S

unmodified_drivers/linux-2.6/overrides.mk +1 -0
@@ -12,3 +12,4 @@ endif
 endif
 
 EXTRA_CFLAGS += -include $(objtree)/include/linux/autoconf.h
+EXTRA_AFLAGS += -I$(M)/include -I$(M)/compat-include -DHAVE_XEN_PLATFORM_COMPAT_H

_______________________________________________
Xen-ia64-devel mailing list
[email protected]
http://lists.xensource.com/xen-ia64-devel

Signature · 1 line
Alex Williamson                             HP Open Source & Linux Org.
#5 lore raw

Hi Alex,

Quoted 4 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

On Mon, 04 Feb 2008 08:42:20 -0700
[email protected](Alex Williamson) said:

Can you please send a sign-off for this?

I added Signed-off-by: line.

Best Regards,

Signature · 1 line
  KUWAMURA Shin'ya

# HG changeset patch
# User KUWAMURA Shin'ya <[email protected]> # Date 1202194119 -32400
# Node ID 2d4e3112a5ca5d48ea2b74b4740645380277722a # Parent c98276a51ff8066eabdd3a5399cfcf3d94bde1d0 add EXTRA_AFLAGS for platform-pci/xcom_asm.S

unmodified_drivers/linux-2.6/overrides.mk +1 -0
@@ -12,3 +12,4 @@ endif
 endif
 
 EXTRA_CFLAGS += -include $(objtree)/include/linux/autoconf.h
+EXTRA_AFLAGS += -I$(M)/include -I$(M)/compat-include -DHAVE_XEN_PLATFORM_COMPAT_H

_______________________________________________
Xen-ia64-devel mailing list
[email protected]
http://lists.xensource.com/xen-ia64-devel

#6 lore raw
Quoted 8 lines · KUWAMURA Shin'ya

Hi Alex,

Quoted 4 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

On Mon, 04 Feb 2008 08:42:20 -0700
[email protected](Alex Williamson) said:

Can you please send a sign-off for this?

I added Signed-off-by: line.

Applied. Thanks,

Alex

Signature · 1 line
Alex Williamson                             HP Open Source & Linux Org.