Peter Booth | 1 Jun 2009 04:37
Picon

Re: Xen Performance

Luke,

Apologies for my first incomplete reply.

Here's more context. The VMs weren't page scanning. They did show non- 
trivial %steal (where non-trivial is > 1%)
These VMs are commercially hosted on five quad core hosts with approx  
14 VMs per host and just under 1GB RAM per VM. Thats not a lot of  
memory, but then the workload of one nginx and three mongrels per VM  
is comfortably under 512MB of RSS.

I have heard numerous mentions of similar behavior from users of other  
utility platforms . There is a recent (Feb 2009) report by IBM that  
also describes this behavior once #domU exceeds six.

My point, however, is that Xen performance is not well understood in  
general, and there are situations where virtualization doesnt perform  
well.

Peter

On May 30, 2009, at 4:11 PM, Peter Booth wrote:

> In this example, swapping/page scanning was not an issue.
>
> On May 30, 2009, at 4:05 PM, Luke S Crawford wrote:
>
>> Peter Booth <peter_booth <at> mac.com> writes:
>>> One real world example:
>>> native Linux:  		page response times of (  400ms/150ms)
(Continue reading)

Fajar A. Nugraha | 1 Jun 2009 07:12

Re: strange network issue after upgrade to 3.4

On Sun, May 31, 2009 at 6:18 PM, Fajar A. Nugraha <fajar <at> fajar.net> wrote:
> On Fri, May 29, 2009 at 7:02 PM, Ian Tobin <itobin <at> tidyhosts.com> wrote:
>> Yep,
>>
>> Make
>> Make install
>
> That's odd. It should mean you're using both the new hypervisor and
> userland. Can you try disabling xend's startup (on RHEL this is
> chkconfig) and see if networking works with the new hypervisor but
> before xend's bridging code takes place.

Another note: when you install xen from sources, it overwrites scripts
on /etc/xen/scripts as well as the config /etc/xen/xend-config.sxp.
One of the difference is that Lenny's packages uses network-dummy by
default, and you have to either:
- setup bridges manually, or
- edit xend-config.sxp to enable network-bridge.

Xen's config uses network-bridge by default.

The thing is network-bridge from Lenny's Xen-3.2 package did not work
for me (I kept getting "receive pakage with own address as source" or
something like that), while Xen 3.4's version works. It might be the
other way around for you. If that's the case then disabling xend
during during startup would at least make sure that networking
(modules, gateway, etc.) is OK, and that you only have to find
bridging setup that works for you (manual setup, Lenny's, or Xen
3.4's).

(Continue reading)

ITZIAR BALENCIAGA | 1 Jun 2009 08:59
Picon

Linux-Windows data sharing in Xen

Hi,

I have an app with two processes in windows and I want to move it to my new system. The problem is that I want to put one of the processes in my dom0 and the other one in my domU and they have to share data. I think that it is possible because I've seen a post saying something similar but I don't understand it well and I'd need an example. The link of the post is:

http://lists.xensource.com/archives/html/xen-devel/2006-07/msg00770.html

Now I'll try to explain my situation a little bit more. I use Xen 3.3.1 and have Ubuntu 8.10 as my dom0 and Windows XP as my domU. I have two processes where one of them writes into a counter and the other one visualizes its value. I've done it in windows with shared memory (using CreateFileMapping) and now I'd like to move it to my new system. My intention is putting the process that writes into the counter in Linux and the other one in Windows. In the post I've previously mentioned he says that he does something similar using the functions xc_domain_translate_gpfn_list and xc_map_foreign_batch. I've tried to understand what these functions do but I had no success and don't know how to use them. Does anybody know anything about these functions? Has anybody done anything similar and can show me the code in order to try to understand it better? If not, where could I find an example doing something similar?


Thanks in advanced,

Itziar Balenciaga

_______________________________________________
Xen-users mailing list
Xen-users <at> lists.xensource.com
http://lists.xensource.com/xen-users
zhaoyinghuan | 1 Jun 2009 11:53
Picon
Favicon

how to view xen server's hotfix info

hello,everyone
 
how to view xen server's all hotfix infos ?
for example, Hotfix 7839 - For XenServer 5.0
 
 
thanks.
 
 
 

立刻下载 MSN 保护盾,保障Messenger 安全稳定! 现在就下载!
_______________________________________________
Xen-users mailing list
Xen-users <at> lists.xensource.com
http://lists.xensource.com/xen-users
James Harper | 1 Jun 2009 14:08
Picon

RE: Linux-Windows data sharing in Xen

> 
> Now I'll try to explain my situation a little bit more. I use Xen
3.3.1 and
> have Ubuntu 8.10 as my dom0 and Windows XP as my domU. I have two
processes
> where one of them writes into a counter and the other one visualizes
its
> value. I've done it in windows with shared memory (using
CreateFileMapping)
> and now I'd like to move it to my new system. My intention is putting
the
> process that writes into the counter in Linux and the other one in
Windows. In
> the post I've previously mentioned he says that he does something
similar
> using the functions xc_domain_translate_gpfn_list and
xc_map_foreign_batch.
> I've tried to understand what these functions do but I had no success
and
> don't know how to use them. Does anybody know anything about these
functions?
> Has anybody done anything similar and can show me the code in order to
try to
> understand it better? If not, where could I find an example doing
something
> similar?
> 

How often are your counters being updated? If it's not too often then
xenstore could be used for this.

James
vovfooo | 1 Jun 2009 14:13

Xen install question, need your help!

my install config file is:
********************************
ostype="sles10"
name="suse10"
memory=256
vcpus=1
on_crash="destroy"
on_poweroff="destroy"
on_reboot="destroy"
localtime=0
builder="linux"
kernel = "/boot/vmlinuz-2.6.18-92.el5xen"
ramdisk = "/boot/initrd-2.6.18-92.el5xen-no-scsi.img"
extra="TERM=xterm install=ftp://129.22.0.201/pxe/suse10_sp2_x86"
disk=[ 'phy:/dev/sdb6,xvda,w', ]
vif = ['bridge=xenbr0']
dhcp = "dhcp"
********************************
Run "xm create" command
The install process stop with message:
********************************
.......
Waiting for driver initialization.
Scanning and configuring dmraid supported devices
Scanning logical volumes
  Reading all physical volumes.  This may take a while...
  No volume groups found
Activating logical volumes
  Volume group "VolGroup00" not found
Creating root device.
Mounting root filesystem.
mount: could not find filesystem '/dev/root'
Setting up other filesystems.
Setting up new root fs 
[root <at> localhost opt]#
********************************
 
Thanks for your help!
 
_______________________________________________
Xen-users mailing list
Xen-users <at> lists.xensource.com
http://lists.xensource.com/xen-users
ITZIAR BALENCIAGA | 1 Jun 2009 14:17
Picon

RE: Linux-Windows data sharing in Xen

The counter is continuously changing and I refresh the window where I show the value every 500 ms. Is it too often for xenstore?


-----Mensaje original-----
De: James Harper [mailto:james.harper <at> bendigoit.com.au]
Enviado el: lun 01/06/2009 14:08
Para: ITZIAR BALENCIAGA; xen-users <at> lists.xensource.com
Asunto: RE: [Xen-users] Linux-Windows data sharing in Xen

>
> Now I'll try to explain my situation a little bit more. I use Xen
3.3.1 and
> have Ubuntu 8.10 as my dom0 and Windows XP as my domU. I have two
processes
> where one of them writes into a counter and the other one visualizes
its
> value. I've done it in windows with shared memory (using
CreateFileMapping)
> and now I'd like to move it to my new system. My intention is putting
the
> process that writes into the counter in Linux and the other one in
Windows. In
> the post I've previously mentioned he says that he does something
similar
> using the functions xc_domain_translate_gpfn_list and
xc_map_foreign_batch.
> I've tried to understand what these functions do but I had no success
and
> don't know how to use them. Does anybody know anything about these
functions?
> Has anybody done anything similar and can show me the code in order to
try to
> understand it better? If not, where could I find an example doing
something
> similar?
>

How often are your counters being updated? If it's not too often then
xenstore could be used for this.

James


_______________________________________________
Xen-users mailing list
Xen-users <at> lists.xensource.com
http://lists.xensource.com/xen-users
Marcin Krol | 1 Jun 2009 14:52
Picon

terrible problems with Xen on SLES 10.2 / 11

Hello everyone,

I'm totally new to Xen and trying to run it on some platforms (x86, x64) 
using SLES (that is what I have to use for reasons other than technical).

Several machines on which I tried using Xen simply fails to run normally 
using Xen kernel: either network communication is not functioning at all 
despite proper configuration (that works on non-Xen kernel), or the 
kernel can't communicate with disks, issuing SCSI bus reset commands in 
loop (and failing to reset it).

Hardware is mainly made by IBM (xSeries with older Xeon or Opteron CPUs).

While booting Xen kernels on SLES they have following symptoms:

- various FATAL errors while loading modules, like missing xen_vbd or 
missing xen_vnif

- when booting non-xen kernel, messages in dmesg like:

xen_vnif: Unknown symbol balloon_update_driver_allowance
xen_vnif: Unknown symbol balloon_release_driver_page

I have searched for xen_vbd and xen_vnif modules in /lib/modules and 
they're simply not there! Are they 'internal' modules loaded by another 
module file? Or are they regular modules and they should be normally 
located as .ko files in /lib/modules/? I can't tell because I couldn't 
get ANY xen kernel to function correctly.

Kernel config is as follows:

title Xen -- SUSE Linux Enterprise Server 11 - 2.6.27.19-5
     root (hd0,0)
     kernel /boot/xen.gz acpi=off noapic
     module /boot/vmlinuz-2.6.27.19-5-xen 
root=/dev/disk/by-id/scsi-SIBM-ESXSST336753LC_F3HX25YV80000743
8FXG9-part1 console=tty0 resume=/dev/sda2 splash=silent showopts
     module /boot/initrd-2.6.27.19-5-xen

I have following xen packages installed (on SLES 11 x64):

xen-3.3.1_18546_12-3.1
enic-kmp-xen-0.0.1_2.6.27.19_5-10.6
oracleasm-kmp-xen-2.0.5_2.6.27.19_5-7.6
xen-doc-pdf-3.3.1_18546_12-3.1
iscsitarget-kmp-xen-0.4.15_2.6.27.19_5-94.6
ext4dev-kmp-xen-0_2.6.27.19_5-7.6
xen-doc-html-3.3.1_18546_12-3.1
xen-libs-3.3.1_18546_12-3.1
xen-kmp-default-3.3.1_18546_12_2.6.27.19_5-3.1
brocade-bfa-kmp-xen-1.1.0.2_2.6.27.19_5-6.6
xen-tools-3.3.1_18546_12-3.1
kernel-xen-2.6.27.19-5.1
kernel-xen-base-2.6.27.19-5.1
fnic-kmp-xen-1.0.0_2.6.27.19_5-9.11
xen-tools-domU-3.3.1_18546_12-3.1

Please help, I'm at dead end with this.

Regards,
mk
Fajar A. Nugraha | 1 Jun 2009 14:59

Re: Xen install question, need your help!

2009/6/1 vovfooo <vovfooo <at> huaweisymantec.com>:
> kernel = "/boot/vmlinuz-2.6.18-92.el5xen"
> ramdisk = "/boot/initrd-2.6.18-92.el5xen-no-scsi.img"
> extra="TERM=xterm install=ftp://129.22.0.201/pxe/suse10_sp2_x86"

> mount: could not find filesystem '/dev/root'

Are you trying to install a new suse domU? If yes, you should ask
whoever gave you the above instructions. You're trying to use Redhat's
(?) kernel and initrd to install suse10. It won't work.

Try searching suse's documentation for the correct way on how to
install suse PV domU, or search prebuilt images.

--

-- 
Fajar
James Harper | 1 Jun 2009 15:00
Picon

RE: Linux-Windows data sharing in Xen

> 
> The counter is continuously changing and I refresh the window where I
show the
> value every 500 ms. Is it too often for xenstore?

So you are reading it every 500ms, but how often are you writing it?

There is lots of overhead for a single write of xenstore, so if the
value changes a lot then do it another way.

James

> 
> 
> -----Mensaje original-----
> De: James Harper [mailto:james.harper <at> bendigoit.com.au]
> Enviado el: lun 01/06/2009 14:08
> Para: ITZIAR BALENCIAGA; xen-users <at> lists.xensource.com
> Asunto: RE: [Xen-users] Linux-Windows data sharing in Xen
> 
> >
> > Now I'll try to explain my situation a little bit more. I use Xen
> 3.3.1 and
> > have Ubuntu 8.10 as my dom0 and Windows XP as my domU. I have two
> processes
> > where one of them writes into a counter and the other one visualizes
> its
> > value. I've done it in windows with shared memory (using
> CreateFileMapping)
> > and now I'd like to move it to my new system. My intention is
putting
> the
> > process that writes into the counter in Linux and the other one in
> Windows. In
> > the post I've previously mentioned he says that he does something
> similar
> > using the functions xc_domain_translate_gpfn_list and
> xc_map_foreign_batch.
> > I've tried to understand what these functions do but I had no
success
> and
> > don't know how to use them. Does anybody know anything about these
> functions?
> > Has anybody done anything similar and can show me the code in order
to
> try to
> > understand it better? If not, where could I find an example doing
> something
> > similar?
> >
> 
> How often are your counters being updated? If it's not too often then
> xenstore could be used for this.
> 
> James
> 
> 
> 

Gmane