|
|
|
|
|
|
|
|
|
|
xen-ia64-devel
Re: [Xen-ia64-devel] a problem with "performance tuning TAKE 3"
On Thu, Aug 17, 2006 at 03:36:19PM +0900, Ken Hironaka wrote:
> Hi Isaku,
>
> Thank you on your advice on the changeset. The patch worked just
> fine(except for the copyright section at 5/10 but that's no big
> problem). I am now trying to install it all. My understanding is that
> you have to have
> CONFIG_XEN_IA64_TLB_TRACK
> CONFIG_XEN_IA64_PERVCPU_VHPT
> options on. I would like to know how exactly you do that at compile
> time. I'd tried adding
> CONFIG_XEN_IA64_TLB_TRACK=y
> CONFIG_XEN_IA64_PERVCPU_VHPT=y
> to the top level makefile and the Rules.mk under xen/arch/ia64
> but in either case, it has not worked.
Hi Ken.
To give these options for xen, use .config under the xen directory.
In your case, create "xen-ia64-unstable-PATCHED.hg/.config"
and add the following two lines
xen_ia64_tlb_track=y
xen_ia64_pervcpu_vhpt=y
It is also O.K. to edit Rules.mk. But you should add
the above two lines. not CONFIG_XEN_IA64_xxx=y.
FYI I use the following xen .config
$ cat .config
crash_debug=y
debug=y
verbose=y
xen_ia64_tlb_track=y
xen_ia64_pervcpu_vhpt=y
perfc=y
perfc_arrays=n
> I got the following error in while make world
>
> ld -g -T xen.lds.s -N \
> -Map map.out
> linux-xen/head.o /home/ken/xen-ia64-unstable-PATCHED.hg/xen/common/built_in.o
> /home/ken/xen-ia64-unstable-PATCHED.hg/xen/drivers/built_in.o
> /home/ken/xen-ia64-unstable-PATCHED.hg/xen/arch/ia64/built_in.o -o
> /home/ken/xen-ia64-unstable-PATCHED.hg/xen/xen-syms
> /home/ken/xen-ia64-unstable-PATCHED.hg/xen/arch/ia64/built_in.o(.text
> +0x2722): In function `arch_domain_create':
> /home/ken/xen-ia64-unstable-PATCHED.hg/xen/arch/ia64/xen/domain.c:416:
> undefined reference to `tlb_track_destroy'
> gcc -O2 -fomit-frame-pointer -DNDEBUG -Wall -Wstrict-prototypes
> -Wdeclaration-after-statement -D__XEN_TOOLS__ -Werror
> -I ../../tools/python/xen/lowlevel/xc -I ../../tools/libxc -o xc_shadow
> xc_shadow.o -L../../tools/libxc -lxenctrl
> make[4]: *** [/home/ken/xen-ia64-unstable-PATCHED.hg/xen/xen-syms] Error
> 1
> make[4]: Leaving directory
> `/home/ken/xen-ia64-unstable-PATCHED.hg/xen/arch/ia64'
> make[3]: *** [/home/ken/xen-ia64-unstable-PATCHED.hg/xen/xen] Error 2
> make[3]: Leaving directory `/home/ken/xen-ia64-unstable-PATCHED.hg/xen'
> make[2]: *** [install] Error 2
> make[2]: Leaving directory `/home/ken/xen-ia64-unstable-PATCHED.hg/xen'
> make[1]: *** [install-xen] Error 2
> make[1]: *** Waiting for unfinished jobs....
Hmm, Anyway this is a compilation bug which depends on configuration.
I'll fix it next post.
Thanks.
--
yamahata
_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel
|
|
|
|
|