On 07/12/2012 11:37 AM, Osier Yang wrote:
> On 2012年07月12日 17:19, Hu Tao wrote:
>> On Thu, Jul 12, 2012 at 05:03:52PM +0800, Osier Yang wrote:
>>> Setting hard_limit larger than previous swap_hard_limit must fail,
>>> it's not that good if one wants to change the swap_hard_limit
>>> and hard_limit
Setting hard_limit larger than previous swap_hard_limit must fail,
it's not that good if one wants to change the swap_hard_limit
and hard_limit together. E.g.
% virsh memtune rhel6
hard_limit : 100
soft_limit : 100
swap_hard_limit: 100
% virsh memtune rhel6 --hard-limit 12
On 2012年07月12日 17:19, Hu Tao wrote:
On Thu, Jul 12, 2012 at 05:03:52PM +0800, Osier Yang wrote:
Setting hard_limit larger than previous swap_hard_limit must fail,
it's not that good if one wants to change the swap_hard_limit
and hard_limit together. E.g.
% virsh memtune rhel6
hard_limit : 1
On Thu, Jul 12, 2012 at 05:03:52PM +0800, Osier Yang wrote:
> Setting hard_limit larger than previous swap_hard_limit must fail,
> it's not that good if one wants to change the swap_hard_limit
> and hard_limit together. E.g.
>
> % virsh memtune rhel6
> hard_limit : 100
> soft_limit : 1