Hello, I have a question about disk access. (IDE in my case) When I _don''t_ boot the xen dom0 kernel and run hdparm -tT Timing buffered disk reads: 156 MB in 3.03 seconds = 51.44 MB/sec When I boot xen dom0 and run hdparm -tT Timing buffered disk reads: 8 MB in 3.22 seconds = 2.48 MB/sec I''m running this on debian testing and compiling xen3.0.0 When booting dom0 I get those fatal errors of the type "ide_generic module not found" (i''ve seen those on other instalations). While compiling xen from the source I noticed that ide_generic.o (i think) isn''t compiled as a module. I''m a bit stuck. Sould I compile ide as a module for dom0? Or perhaps this isn''t even the problem? Should I forget about IDE and go and buy SATA? Thanks Chris. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On 1/25/06, Chris Fanning <christopher.fanning@gmail.com> wrote:> > I have a question about disk access. (IDE in my case) > > When I _don''t_ boot the xen dom0 kernel and run hdparm -tT > Timing buffered disk reads: 156 MB in 3.03 seconds = 51.44 MB/sec > > When I boot xen dom0 and run hdparm -tT > Timing buffered disk reads: 8 MB in 3.22 seconds = 2.48 MB/sec > > I''m running this on debian testing and compiling xen3.0.0 > > When booting dom0 I get those fatal errors of the type "ide_generic > module not found" (i''ve seen those on other instalations). While > compiling xen from the source I noticed that ide_generic.o (i think) > isn''t compiled as a module.Which kernel are you compiling ? linux-2.6-xen0 / linux-2.6-xen Ian recommends using the xen kernel since it packs in more drivers, so if you aren''t using that, try to compile that and use it. I''m a bit stuck. Sould I compile ide as a module for dom0?> Or perhaps this isn''t even the problem? > Should I forget about IDE and go and buy SATA? >As for SATA, it definately gives you more performance ;) -- regards, Anand _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On 1/25/06, Anand <xen.mails@gmail.com> wrote:> On 1/25/06, Chris Fanning <christopher.fanning@gmail.com> wrote: > > I have a question about disk access. (IDE in my case) > > > > When I _don''t_ boot the xen dom0 kernel and run hdparm -tT > > Timing buffered disk reads: 156 MB in 3.03 seconds = 51.44 MB/sec > > > > When I boot xen dom0 and run hdparm -tT > > Timing buffered disk reads: 8 MB in 3.22 seconds = 2.48 MB/sec > > > > I''m running this on debian testing and compiling xen3.0.0 > > > > When booting dom0 I get those fatal errors of the type "ide_generic > > module not found" (i''ve seen those on other instalations). While > > compiling xen from the source I noticed that ide_generic.o (i think) > > isn''t compiled as a module. > > Which kernel are you compiling ? linux-2.6-xen0 / linux-2.6-xen > Ian recommends using the xen kernel since it packs in more drivers, so if > you aren''t using that, try to compile that and use it.Can you point me to a link on that? my install procedure simply: wget ..../downloads/xen-3.0.0-src.tgz tar -xvzf xen-3.0.0-src.tgz cd xen-unstable make world make install sh ./install.sh /boot/grub/menu.lst title Xen 3.0.0 / XenLinux 2.6.12.6-xen0 root (hd0,0) kernel /xen.gz dom0_mem=128M module /vmlinuz-2.6.12.6-xen0 root=/dev/hda6 ro console=tty0 Thanks Chris.> > I''m a bit stuck. Sould I compile ide as a module for dom0? > > Or perhaps this isn''t even the problem? > > Should I forget about IDE and go and buy SATA? > > > > As for SATA, it definately gives you more performance ;) > > -- > > regards, > > Anand_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On 1/25/06, Chris Fanning <christopher.fanning@gmail.com> wrote:> > Can you point me to a link on that? > > my install procedure simply: > > wget ..../downloads/xen-3.0.0-src.tgz > tar -xvzf xen-3.0.0-src.tgz > cd xen-unstable > make world > make install > sh ./install.sh > > /boot/grub/menu.lst > title Xen 3.0.0 / XenLinux 2.6.12.6-xen0 > root (hd0,0) > kernel /xen.gz dom0_mem=128M > module /vmlinuz-2.6.12.6-xen0 root=/dev/hda6 ro console=tty0 >In between your steps cd xen-unstable make world Just before the make world, do this vi Makefile Change KERNELS ?= linux-2.6-xen0 linux-2.6-xenU to KERNELS ?= linux-2.6-xen This will help compile the linux-2.6-xen kernel. The same kernel can be used for dom0 as well as domU. Alternatively you can follow the README file in the xen distribution make KERNELS=linux-2.6-xen world make install As for more documentation, just search this list for xen kernel and posts by Ian, you should see a lot of posts by him on this matter. There is an entry in wiki also on this, however i can''t seem to find it right now. However the above works for me for compiling the xen kernel. Don''t forget to create a initrd (read the README file) -- regards, Anand _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Thankyou Anand. That has solved the problem. Al those modules take a while to compile. I think I had better look into cutting them down a little. Cheers. Chris. On 1/25/06, Anand <xen.mails@gmail.com> wrote:> On 1/25/06, Chris Fanning <christopher.fanning@gmail.com> wrote: > > Can you point me to a link on that? > > > > my install procedure simply: > > > > wget ..../downloads/xen-3.0.0-src.tgz > > tar -xvzf xen-3.0.0-src.tgz > > cd xen-unstable > > make world > > make install > > sh ./install.sh > > > > /boot/grub/menu.lst > > title Xen 3.0.0 / XenLinux 2.6.12.6-xen0 > > root (hd0,0) > > kernel /xen.gz dom0_mem=128M > > module /vmlinuz-2.6.12.6-xen0 root=/dev/hda6 ro console=tty0 > > > > In between your steps > > cd xen-unstable > make world > > Just before the make world, do this > > vi Makefile > > Change > > KERNELS ?= linux-2.6-xen0 linux-2.6-xenU > > to > > KERNELS ?= linux-2.6-xen > > This will help compile the linux-2.6-xen kernel. The same kernel can be > used for dom0 as well as domU. > > Alternatively you can follow the README file in the xen distribution > > make KERNELS=linux-2.6-xen world > make install > > As for more documentation, just search this list for xen kernel and posts by > Ian, you should see a lot of posts by him on this matter. There is an entry > in wiki also on this, however i can''t seem to find it right now. However the > above works for me for compiling the xen kernel. > > Don''t forget to create a initrd (read the README file) > > -- > > regards, > > Anand_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On 1/26/06, Chris Fanning <christopher.fanning@gmail.com> wrote:> > Thankyou Anand. That has solved the problem. > Al those modules take a while to compile. I think I had better look > into cutting them down a little. >You can do that very easily. Its all in the README. Last point. To rebuild a kernel with a modified config: # make linux-2.6-xen-config CONFIGMODE=menuconfig (or xconfig) # make linux-2.6-xen-build # make linux-2.6-xen-install Depending on your config, you may need to use ''mkinitrd'' to create an initial ram disk, just like a native system e.g. # depmod 2.6.12.6-xen # mkinitrd -v -f --with=aacraid --with=sd_mod --with=scsi_mod initrd-2.6.12.6-xen.img 2.6.12.6-xen -- regards, Anand _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Molle Bestefich
2006-Jan-28 13:36 UTC
[Xen-users] Re: poor IDE buffered disk reads on dom0
Anand wrote:> Chris Fanning wrote: > > I''m a bit stuck. Sould I compile ide as a module for dom0? > > Or perhaps this isn''t even the problem? > > Should I forget about IDE and go and buy SATA? > > As for SATA, it definately gives you more performance ;)What? No. With a standard ATA disk, using SATA over PATA will not give you more performance. Neither will compiling IDE drivers as modules. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi Anand, I''ve been trying to cut down on the number of modules compiled for the _first_ time I compile xen. So vi Makefile Change KERNELS ?= linux-2.6-xen0 linux-2.6-xenU to KERNELS ?= linux-2.6-xen then make linux-2.6-xen-config CONFIGMODE=menuconfig make KERNELS=linux-2.6-xen world make install but this doesn''t take any notice of my config and compiles everything. The README does say 3. For the very first build, or if you want to destroy existing # make KERNELS=linux-2.6-xen world # make install 5. To rebuild a kernel with a modified config: # make linux-2.6-xen-config CONFIGMODE=menuconfig (or xconfig) # make linux-2.6-xen-build # make linux-2.6-xen-install Does that mean that I have to compile everything the first time round? My ignorance is shining through :( Thanks again. Chris. On 1/26/06, Anand <xen.mails@gmail.com> wrote:> On 1/26/06, Chris Fanning <christopher.fanning@gmail.com> wrote: > > Thankyou Anand. That has solved the problem. > > Al those modules take a while to compile. I think I had better look > > into cutting them down a little. > > > > You can do that very easily. Its all in the README. Last point. > > To rebuild a kernel with a modified config: > > # make linux-2.6-xen-config CONFIGMODE=menuconfig (or xconfig) > # make linux-2.6-xen-build > # make linux-2.6-xen-install > > Depending on your config, you may need to use ''mkinitrd'' to create > an initial ram disk, just like a native system e.g. > # depmod 2.6.12.6-xen > # mkinitrd -v -f --with=aacraid --with=sd_mod --with=scsi_mod > initrd-2.6.12.6-xen.img > 2.6.12.6-xen > > > -- > > regards, > > Anand_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
answering the question> Does that mean that I have to compile everything the first time round?make linux-2.6-xen-config CONFIGMODE=menuconfig make dist make install make linux-2.6-xen-build make linux-2.6-xen-install thanks for all. Chris. On 1/31/06, Chris Fanning <christopher.fanning@gmail.com> wrote:> Hi Anand, > > I''ve been trying to cut down on the number of modules compiled for the > _first_ time I compile xen. > > So vi Makefile > Change > KERNELS ?= linux-2.6-xen0 linux-2.6-xenU > to > KERNELS ?= linux-2.6-xen > > then > > make linux-2.6-xen-config CONFIGMODE=menuconfig > make KERNELS=linux-2.6-xen world > make install > > but this doesn''t take any notice of my config and compiles everything. > > The README does say > 3. For the very first build, or if you want to destroy existing > # make KERNELS=linux-2.6-xen world > # make install > > 5. To rebuild a kernel with a modified config: > # make linux-2.6-xen-config CONFIGMODE=menuconfig (or xconfig) > # make linux-2.6-xen-build > # make linux-2.6-xen-install > > Does that mean that I have to compile everything the first time round? > My ignorance is shining through :( > > Thanks again. > Chris. > > > On 1/26/06, Anand <xen.mails@gmail.com> wrote: > > On 1/26/06, Chris Fanning <christopher.fanning@gmail.com> wrote: > > > Thankyou Anand. That has solved the problem. > > > Al those modules take a while to compile. I think I had better look > > > into cutting them down a little. > > > > > > > You can do that very easily. Its all in the README. Last point. > > > > To rebuild a kernel with a modified config: > > > > # make linux-2.6-xen-config CONFIGMODE=menuconfig (or xconfig) > > # make linux-2.6-xen-build > > # make linux-2.6-xen-install > > > > Depending on your config, you may need to use ''mkinitrd'' to create > > an initial ram disk, just like a native system e.g. > > # depmod 2.6.12.6-xen > > # mkinitrd -v -f --with=aacraid --with=sd_mod --with=scsi_mod > > initrd-2.6.12.6-xen.img > > 2.6.12.6-xen > > > > > > -- > > > > regards, > > > > Anand >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users