Hello all, As I have reported earlier, everything works for me now! Therefore :), it is time for some more advanced questions: Is it possible to have more IP addresses per virtual domain? Can a virtual domain reconfigure it''s IP address? What kind of CPU time control is possible (or planned)? To be more precise, how can one stop one domain to hog the cpu? (some kind of minimum guaranteded CPU time setting?) Is there a description for xi_sched* helpers? What happens if user inside virtual domain issues a reboot? (nothing eg. stuck - if my testing is correct). IMHO, it would be good if user could reboot. If I understand the documentation correctly, the memory size given with xi_create is minimum guaranteed? Guest can grow beyond that, and under that limit? There is a mention about absolute maximum limit. How is this set? Many thanks for all the help! Best regards, Tvrtko A. Ursulin -- Croadria Internet usluge <http://www.croadria.com> - Web hosting (Linux & Windows), E-commerce Podrska: <http://podrska.croadria.com> Tel: 01/4657 818, 01/4655 601 Fax: 01/4657 819 ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
On 11 Nov 2003, at 15:25, Tvrtko A. Uršulin wrote:> Hello all, > > As I have reported earlier, everything works for me now! > > Therefore :), it is time for some more advanced questions: > > Is it possible to have more IP addresses per virtual domain? > Can a virtual domain reconfigure it''s IP address?Currently we don''t support multiple VIF (virtual interface) per domain. You can configure a domain''s IP address in /etc/xenctl.xml After it''s running, you can ssh from domain 0 into that domain and do whatever you like with ''ifconfig'' etc. -- Bin ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
On Tuesday 11 November 2003 16:36, Bin Ren wrote:> > Is it possible to have more IP addresses per virtual domain? > > Can a virtual domain reconfigure it''s IP address? > > Currently we don''t support multiple VIF (virtual interface) per domain. > You can configure a domain''s IP address in /etc/xenctl.xml > After it''s running, you can ssh from domain 0 into that domain and > do whatever you like with ''ifconfig'' etc.Hmmm... what do you mean with "whatever you like"? I tried ifconfig eth0:0 inet 192.168.200.19 up (eth0 was 192.168.200.18) and the .19 was not pingable from nowhere except the guest itself. -- Croadria Internet usluge <http://www.croadria.com> - Web hosting (Linux & Windows), E-commerce Podrska: <http://podrska.croadria.com> Tel: 01/4657 818, 01/4655 601 Fax: 01/4657 819 ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
On 11 Nov 2003, at 15:44, Tvrtko A. Uršulin wrote:> Hmmm... what do you mean with "whatever you like"? > > I tried ifconfig eth0:0 inet 192.168.200.19 up (eth0 was > 192.168.200.18) and > the .19 was not pingable from nowhere except the guest itself.8-) Sorry for my words. I meant you could change the network interface configuration just in the same way as you change a real physical network interface configuration on a real machine. And it seems you added an alias to a VIF in a domain. Currently we support neither multiple VIF per domain, nor multiple IP addresses per VIF. -- Bin ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
On Tue, 2003-11-11 at 15:25, Tvrtko A. Uršulin wrote:> Hello all, > > As I have reported earlier, everything works for me now! > > Therefore :), it is time for some more advanced questions: > > Is it possible to have more IP addresses per virtual domain? > Can a virtual domain reconfigure it''s IP address? > > What kind of CPU time control is possible (or planned)? To be more precise, > how can one stop one domain to hog the cpu? (some kind of minimum guaranteded > CPU time setting?) Is there a description for xi_sched* helpers?the current scheduler is a weighted proportional fair scheduler. The scheduler is called BVT (Borrowed Virtual Time) and is described in this paper: http://citeseer.nj.nec.com/duda99borrowedvirtualtime.html. by default all domains have the same weight and should therefore share the CPU equally if they all need the CPU. xi_sched_domain allows you to change the weight of a domain. the first parameter is the domid, the second is the _inverse_ of the weight. For an explanation of the other parameters I''d suggest to read the paper. Essentially, they control the wake-up latency of a blocking domain. xi_sched_global sets a global parameter for the scheduler called context switch allowance. The default value is sensible and you shouldn''t need to change it. Be aware that the xi_sched_* and the corresponding hypercalls do not do any range checking and allow you to shoot yourself in the foot. I guess this should be fixed :) To answer your other questions more directly: if you don''t assign weights in a very skewed way one domain should not be able to hog the CPU. You can "guarantee" shares of CPU if you control the weights and the sum of weights carefully. there are vague plans to also provide a scheduler which gives absolute guarantees, rather than weighted proportional fairness. But that is not yet very high on the list but should be reasonably straight forward.> What happens if user inside virtual domain issues a reboot? (nothing eg. stuck > - if my testing is correct). IMHO, it would be good if user could reboot. > > If I understand the documentation correctly, the memory size given with > xi_create is minimum guaranteed? Guest can grow beyond that, and under that > limit? There is a mention about absolute maximum limit. How is this set?My understanding is that all memory a domains gets is guaranteed. a domain might _voluntarily_ relinguish some of its memory (e.g., using the balloon driver) but will get it back when it asks for it. This also means that xen can''t allocate the memory it gets back from a domain permanently and guaranteed to another domain. Rolf> > Many thanks for all the help! > > Best regards, > Tvrtko A. Ursulin------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel