Hi.. I m in a process to monitorperformance of Xen. If you know any or few answers to the following query kindly let me know that :- 1. Can i specify multiple CPU to Xen server. 2.Can i use multiple instances of the same operating system on different clients. Say i have installed Window-XP on my Xen server can i make use of same Windows at two different location. 3. How many operating system can be installed on a Xen server. 4. Suggest the best way to monitor the performance of my Xen Server. Right now what i have done is written perl Scripts for Windows and Linux. For windows i m using perfmon and for Linux Sans. -- View this message in context: http://www.nabble.com/Performance-monitoring-for-Xen-tf4140474.html#a11777385 Sent from the Xen - User mailing list archive at Nabble.com. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> I m in a process to monitorperformance of Xen. If you know any or few > answers to the following query kindly let me know that :- > > 1. Can i specify multiple CPU to Xen server.Xen supports a multiprocessor host machine, and guests can have multiple virtual processors too. The guest processors will be scheduled across the available physical processors.> 2.Can i use multiple instances of the same operating system on different > clients. Say i have installed Window-XP on my Xen server can i make use of > same Windows at two different location.I''m not sure what you mean by this? You can connect remotely to the WinXP guest using VNC, and there''s no reason you couldn''t connect from multiple locations but there''d still only be one virtual display so they''d have to share (just like if you VNCed to a real machine). Or you could just install multiple independent copies of Windows.> 3. How many operating system can be installed on a Xen server.The only limit to how many installed guests you can have is how much disk space you have available. The limit for how many guests can be running at a given time is usually memory: guests have a "hard" allocation of memory and don''t get swapped by Xen, so you can only start another guest if there''s enough free memory to hold it. Obviously depending on the work you want the guests to do you''ll also need to make sure there''s enough CPU time to go around... I know of people having started over 100 very small guests on a large machine, although I don''t imagine any of them were doing anything useful! This may have been on x86_64. I don''t know if the limits are likely to be different for 32-bit and 64-bit Xen.> 4. Suggest the best way to monitor the performance of my Xen Server. Right > now what i have done is written perl Scripts for Windows and Linux. For > windows i m using perfmon and for Linux Sans.There are various user interfaces. If you can use a recent Fedora, RHEL5 or CentOS 5 for the dom0 then you could use virt-manager. Or you could try to install virt-manager on your distro of choice. Other projects are Argo and Xenmon, but I''m not sure what state they''re in. You could also check out Enomalism, which gives you a pretty web GUI. Finally, the XenSource commercial products (and Xen-based commercial products from other vendors) provide their own ways of monitoring performance. Oh, and there''s the xm top command, which is like "top" for virtual machines :-) Cheers, Mark -- Dave: Just a question. What use is a unicyle with no seat? And no pedals! Mark: To answer a question with a question: What use is a skateboard? Dave: Skateboards have wheels. Mark: My wheel has a wheel! _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Mark Williamson wrote:> >> I m in a process to monitorperformance of Xen. If you know any or few >> answers to the following query kindly let me know that :- >> >> 1. Can i specify multiple CPU to Xen server. > > Xen supports a multiprocessor host machine, and guests can have multiple > virtual processors too. The guest processors will be scheduled across the > available physical processors. > >> 2.Can i use multiple instances of the same operating system on different >> clients. Say i have installed Window-XP on my Xen server can i make use >> of >> same Windows at two different location. > > I''m not sure what you mean by this? You can connect remotely to the WinXP > guest using VNC, and there''s no reason you couldn''t connect from multiple > locations but there''d still only be one virtual display so they''d have to > share (just like if you VNCed to a real machine). > > Or you could just install multiple independent copies of Windows. > >> 3. How many operating system can be installed on a Xen server. > > The only limit to how many installed guests you can have is how much disk > space you have available. > > The limit for how many guests can be running at a given time is usually > memory: guests have a "hard" allocation of memory and don''t get swapped by > Xen, so you can only start another guest if there''s enough free memory to > hold it. Obviously depending on the work you want the guests to do you''ll > also need to make sure there''s enough CPU time to go around... > > I know of people having started over 100 very small guests on a large > machine, > although I don''t imagine any of them were doing anything useful! This may > have been on x86_64. I don''t know if the limits are likely to be > different > for 32-bit and 64-bit Xen. > >> 4. Suggest the best way to monitor the performance of my Xen Server. >> Right >> now what i have done is written perl Scripts for Windows and Linux. For >> windows i m using perfmon and for Linux Sans. > > There are various user interfaces. If you can use a recent Fedora, RHEL5 > or > CentOS 5 for the dom0 then you could use virt-manager. Or you could try > to > install virt-manager on your distro of choice. Other projects are Argo > and > Xenmon, but I''m not sure what state they''re in. You could also check out > Enomalism, which gives you a pretty web GUI. > > Finally, the XenSource commercial products (and Xen-based commercial > products > from other vendors) provide their own ways of monitoring performance. > > Oh, and there''s the xm top command, which is like "top" for virtual > machines :-) > > Cheers, > Mark > > -- > Dave: Just a question. What use is a unicyle with no seat? And no pedals! > Mark: To answer a question with a question: What use is a skateboard? > Dave: Skateboards have wheels. > Mark: My wheel has a wheel! > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > >Hi Mark Thanks Still i have few queries left .. 1. Can i specify the number of CPU to the clients also. For e.g two CPU to WindowXP and one to Fedora in Xen Server. 2. What parameter i should look for while i m doing performance monitoring . For instance i m looking into CPU utilization and response time. -- View this message in context: http://www.nabble.com/Performance-monitoring-for-Xen-tf4140474.html#a11918054 Sent from the Xen - User mailing list archive at Nabble.com. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> Hi Mark Thanks > > Still i have few queries left ..Sure.> 1. Can i specify the number of CPU to the clients also. For e.g two CPU to > WindowXP and one to Fedora in Xen Server.You can choose how many virtual CPUs a guest is allowed in the guest''s config file. This determines how many physical CPUs the domain can be running on simultaneously *at most*. E.g. if you set a domain to have only one vCPU it will think that it''s uniprocessor, and it''ll only ever be allowed to use on pCPU (physical CPU) at any given time. If you set a domain to have several vCPUs then any subset of those vCPUs might be run at any time on available pCPUs. You can also specify the percentage of CPU bandwidth a domain will get in terms of percentage of one pCPU. Let me give examples: A domain with one vCPU and 80% bandwidth would run for on any available pCPUs, one at a time, for time equivalent to 80% of the capacity of a single pCPU. A domain with two vCPUs and 80% bandwidth would run any available pCPUs, up to two at a time, for time equivalent to 80% capacity of a single pCPU, /in total/. i.e. each vCPU might get 40% of a time slice whilst running on different pCPUs simultaneously. A domain with two vCPUs and 180% bandwidth should run on two pCPUs with each vCPU getting around 90% of the capacity of each pCPU. Exactly how the time is broken up between the vCPUs will vary depending on which pCPUs are available at the time. Also, you can pin vCPUs onto pCPUs so that (if you want) you can dedicate entire pCPUs to a domain, or you can restrict a domain to only run on some of the available pCPUs in the system. So you could partition your 4 pCPU system to act like 2 x 2-way SMP, or like 4x Uniprocessor, or just share all the CPUs flexibly.> 2. What parameter i should look for while i m doing performance monitoring > . For instance i m looking into CPU utilization and response time.xm li returns information on CPU utilization, in terms of the total time used so far. xm top shows a live readout of CPU utilization as well as some other info. Various friendly interfaces to Xen (including virt-manager) also give CPU usage readouts. For response time, I''m not so sure what the best way to get stats is... There''s some performance monitoring stuff in the Xen distribution. You also used to be able to get some statistics out of the Xen scheduler, but I''m not sure how supported that is now; it required special compilation options in any case. Hope that helps some! Cheers, Mark -- Dave: Just a question. What use is a unicyle with no seat? And no pedals! Mark: To answer a question with a question: What use is a skateboard? Dave: Skateboards have wheels. Mark: My wheel has a wheel! _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users