All of lore.kernel.org
 help / color / mirror / Atom feed
* [IA64] Weekly benchmark results [ww04]
@ 2008-02-01 10:19 KUWAMURA Shin'ya
  2008-02-01 12:37 ` [Xen-ia64-devel] " Isaku Yamahata
  0 siblings, 1 reply; 7+ messages in thread
From: KUWAMURA Shin'ya @ 2008-02-01 10:19 UTC (permalink / raw)
  To: xen-ia64-devel; +Cc: xen-devel

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Xen-ia64-devel] [IA64] Weekly benchmark results [ww04]
  2008-02-01 10:19 [IA64] Weekly benchmark results [ww04] KUWAMURA Shin'ya
@ 2008-02-01 12:37 ` Isaku Yamahata
  2008-02-04  1:05   ` KUWAMURA Shin'ya
  0 siblings, 1 reply; 7+ messages in thread
From: Isaku Yamahata @ 2008-02-01 12:37 UTC (permalink / raw)
  To: KUWAMURA Shin'ya; +Cc: xen-devel, xen-ia64-devel

[-- Attachment #1: Type: text/plain, Size: 1479 bytes --]

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

On Fri, Feb 01, 2008 at 07:19:06PM +0900, KUWAMURA Shin'ya wrote:
> 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
> Xen-ia64-devel@lists.xensource.com
> http://lists.xensource.com/xen-ia64-devel
> 

-- 
yamahata

[-- Attachment #2: 402_81a850b97358_split_xencomm_arch_hypercall_suspend.patch --]
[-- Type: text/x-diff, Size: 2892 bytes --]

# HG changeset patch
# User yamahata@valinux.co.jp
# 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

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>

diff --git a/arch/ia64/xen/Makefile b/arch/ia64/xen/Makefile
--- a/arch/ia64/xen/Makefile
+++ b/arch/ia64/xen/Makefile
@@ -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
diff --git a/arch/ia64/xen/xcom_asm.S b/arch/ia64/xen/xcom_asm.S
new file mode 100644
--- /dev/null
+++ b/arch/ia64/xen/xcom_asm.S
@@ -0,0 +1,25 @@
+/*
+ * xencomm suspend support
+ * Support routines for Xen
+ *
+ * Copyright (C) 2005 Dan Magenheimer <dan.magenheimer@hp.com>
+ */
+#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)
diff --git a/arch/ia64/xen/xcom_hcall.c b/arch/ia64/xen/xcom_hcall.c
--- a/arch/ia64/xen/xcom_hcall.c
+++ b/arch/ia64/xen/xcom_hcall.c
@@ -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)
diff --git a/arch/ia64/xen/xensetup.S b/arch/ia64/xen/xensetup.S
--- a/arch/ia64/xen/xensetup.S
+++ b/arch/ia64/xen/xensetup.S
@@ -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)

[-- Attachment #3: 16948_107a4608a832_split_xencomm_arch_hypercall_suspend.patch --]
[-- Type: text/x-diff, Size: 1667 bytes --]

# HG changeset patch
# User yamahata@valinux.co.jp
# 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

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>

diff --git a/unmodified_drivers/linux-2.6/mkbuildtree b/unmodified_drivers/linux-2.6/mkbuildtree
--- a/unmodified_drivers/linux-2.6/mkbuildtree
+++ b/unmodified_drivers/linux-2.6/mkbuildtree
@@ -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
   ;;
diff --git a/unmodified_drivers/linux-2.6/platform-pci/Kbuild b/unmodified_drivers/linux-2.6/platform-pci/Kbuild
--- a/unmodified_drivers/linux-2.6/platform-pci/Kbuild
+++ b/unmodified_drivers/linux-2.6/platform-pci/Kbuild
@@ -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

[-- Attachment #4: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [IA64] Weekly benchmark results [ww04]
  2008-02-01 12:37 ` [Xen-ia64-devel] " Isaku Yamahata
@ 2008-02-04  1:05   ` KUWAMURA Shin'ya
  2008-02-04  7:23     ` [Xen-devel] " Keir Fraser
  2008-02-04 15:42     ` [Xen-ia64-devel] " Alex Williamson
  0 siblings, 2 replies; 7+ messages in thread
From: KUWAMURA Shin'ya @ 2008-02-04  1:05 UTC (permalink / raw)
  To: yamahata; +Cc: xen-devel, xen-ia64-devel

[-- Attachment #1: Type: Text/Plain, Size: 211 bytes --]

Hi Isaku,

On <20080201123757.GM26750%yamahata@valinux.co.jp>,
 Isaku Yamahata wrote:
> 
> Could you try the attached patch?

Thank you. These patches worked well with the attached patch.
-- 
  KUWAMURA Shin'ya

[-- Attachment #2: 16948-add-aflags.patch --]
[-- Type: Text/Plain, Size: 613 bytes --]

# HG changeset patch
# User KUWAMURA Shin'ya <kuwa@jp.fujitsu.com>
# Date 1202085889 -32400
# Node ID d97e305d22b37f8ec9c68b969451ca2aa2197475
# Parent  107a4608a832603055593d33fba77af959fd7129
add EXTRA_AFLAGS for platform-pci/xcom_asm.S

diff --git a/unmodified_drivers/linux-2.6/overrides.mk b/unmodified_drivers/linux-2.6/overrides.mk
--- a/unmodified_drivers/linux-2.6/overrides.mk
+++ b/unmodified_drivers/linux-2.6/overrides.mk
@@ -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

[-- Attachment #3: Type: text/plain, Size: 152 bytes --]

_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@lists.xensource.com
http://lists.xensource.com/xen-ia64-devel

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Xen-devel] Re: [IA64] Weekly benchmark results [ww04]
  2008-02-04  1:05   ` KUWAMURA Shin'ya
@ 2008-02-04  7:23     ` Keir Fraser
  2008-02-04 15:42     ` [Xen-ia64-devel] " Alex Williamson
  1 sibling, 0 replies; 7+ messages in thread
From: Keir Fraser @ 2008-02-04  7:23 UTC (permalink / raw)
  To: KUWAMURA Shin'ya, yamahata; +Cc: xen-devel, xen-ia64-devel

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

 -- Keir

On 4/2/08 01:05, "KUWAMURA Shin'ya" <kuwa@jp.fujitsu.com> wrote:

> Hi Isaku,
> 
> On <20080201123757.GM26750%yamahata@valinux.co.jp>,
>  Isaku Yamahata wrote:
>> 
>> Could you try the attached patch?
> 
> Thank you. These patches worked well with the attached patch.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Xen-ia64-devel] [IA64] Weekly benchmark results [ww04]
  2008-02-04  1:05   ` KUWAMURA Shin'ya
  2008-02-04  7:23     ` [Xen-devel] " Keir Fraser
@ 2008-02-04 15:42     ` Alex Williamson
  2008-02-05  6:50       ` KUWAMURA Shin'ya
  1 sibling, 1 reply; 7+ messages in thread
From: Alex Williamson @ 2008-02-04 15:42 UTC (permalink / raw)
  To: KUWAMURA Shin'ya; +Cc: yamahata, xen-devel, xen-ia64-devel


On Mon, 2008-02-04 at 10:05 +0900, KUWAMURA Shin'ya wrote:
> Hi Isaku,
> 
> On <20080201123757.GM26750%yamahata@valinux.co.jp>,
>  Isaku Yamahata wrote:
> > 
> > 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

> plain text document attachment (16948-add-aflags.patch)
> # HG changeset patch
> # User KUWAMURA Shin'ya <kuwa@jp.fujitsu.com>
> # Date 1202085889 -32400
> # Node ID d97e305d22b37f8ec9c68b969451ca2aa2197475
> # Parent  107a4608a832603055593d33fba77af959fd7129
> add EXTRA_AFLAGS for platform-pci/xcom_asm.S
> 
> diff --git a/unmodified_drivers/linux-2.6/overrides.mk b/unmodified_drivers/linux-2.6/overrides.mk
> --- a/unmodified_drivers/linux-2.6/overrides.mk
> +++ b/unmodified_drivers/linux-2.6/overrides.mk
> @@ -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
> Xen-ia64-devel@lists.xensource.com
> http://lists.xensource.com/xen-ia64-devel
-- 
Alex Williamson                             HP Open Source & Linux Org.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [IA64] Weekly benchmark results [ww04]
  2008-02-04 15:42     ` [Xen-ia64-devel] " Alex Williamson
@ 2008-02-05  6:50       ` KUWAMURA Shin'ya
  2008-02-05 18:52         ` [Xen-ia64-devel] " Alex Williamson
  0 siblings, 1 reply; 7+ messages in thread
From: KUWAMURA Shin'ya @ 2008-02-05  6:50 UTC (permalink / raw)
  To: alex.williamson; +Cc: yamahata, xen-devel, xen-ia64-devel

[-- Attachment #1: Type: Text/Plain, Size: 221 bytes --]

Hi Alex,

>>>>> On Mon, 04 Feb 2008 08:42:20 -0700
>>>>> alex.williamson@hp.com(Alex Williamson)  said:
> 
>    Can you please send a sign-off for this?

I added Signed-off-by: line.

Best Regards,
-- 
  KUWAMURA Shin'ya

[-- Attachment #2: 16979-add-aflags.patch --]
[-- Type: Text/Plain, Size: 668 bytes --]

# HG changeset patch
# User KUWAMURA Shin'ya <kuwa@jp.fujitsu.com>
# Date 1202194119 -32400
# Node ID 2d4e3112a5ca5d48ea2b74b4740645380277722a
# Parent  c98276a51ff8066eabdd3a5399cfcf3d94bde1d0
add EXTRA_AFLAGS for platform-pci/xcom_asm.S

Signed-off-by: KUWAMURA Shin'ya <kuwa@jp.fujitsu.com>

diff --git a/unmodified_drivers/linux-2.6/overrides.mk b/unmodified_drivers/linux-2.6/overrides.mk
--- a/unmodified_drivers/linux-2.6/overrides.mk
+++ b/unmodified_drivers/linux-2.6/overrides.mk
@@ -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

[-- Attachment #3: Type: text/plain, Size: 152 bytes --]

_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@lists.xensource.com
http://lists.xensource.com/xen-ia64-devel

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Xen-ia64-devel] [IA64] Weekly benchmark results [ww04]
  2008-02-05  6:50       ` KUWAMURA Shin'ya
@ 2008-02-05 18:52         ` Alex Williamson
  0 siblings, 0 replies; 7+ messages in thread
From: Alex Williamson @ 2008-02-05 18:52 UTC (permalink / raw)
  To: KUWAMURA Shin'ya; +Cc: yamahata, xen-devel, xen-ia64-devel


On Tue, 2008-02-05 at 15:50 +0900, KUWAMURA Shin'ya wrote:
> Hi Alex,
> 
> >>>>> On Mon, 04 Feb 2008 08:42:20 -0700
> >>>>> alex.williamson@hp.com(Alex Williamson)  said:
> > 
> >    Can you please send a sign-off for this?
> 
> I added Signed-off-by: line.

   Applied.  Thanks,

	Alex

-- 
Alex Williamson                             HP Open Source & Linux Org.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2008-02-05 18:52 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-01 10:19 [IA64] Weekly benchmark results [ww04] KUWAMURA Shin'ya
2008-02-01 12:37 ` [Xen-ia64-devel] " Isaku Yamahata
2008-02-04  1:05   ` KUWAMURA Shin'ya
2008-02-04  7:23     ` [Xen-devel] " Keir Fraser
2008-02-04 15:42     ` [Xen-ia64-devel] " Alex Williamson
2008-02-05  6:50       ` KUWAMURA Shin'ya
2008-02-05 18:52         ` [Xen-ia64-devel] " Alex Williamson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.