Re: limit cpu speed in domain xml

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Mar 16, 2017 at 08:41:48PM +0300, Vasiliy Tolstov wrote:
> Thanks! Next question, does it possible to provide constant speed for vps
> in case of cloud service? For example user buy vps with 500mhz or 1ghz and
> pay for guaranteed resource?

IMHO that's a pretty poor way to provide/allocate capacity. The relative
processors speeds don't directly correlate to performance. If you want
to restrict a user to 1/2 the CPU, then run it at full speed but give a
schedular cap

> Weights not very useful because I can't guarantee that each vps have needed
> processor time...

CPU quota + period are the settings you want to timeslice CPUs into fixed
quanties. Weight is just a relative prioritization measure.

Regards,
Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://entangle-photo.org       -o-    http://search.cpan.org/~danberr/ :|

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]
  Powered by Linux