Re: Memory locking limit and zero-copy migrations

2022-08-18 Thread Milan Zamazal
Fangge Jin writes: > On Fri, Aug 19, 2022 at 4:08 AM Milan Zamazal wrote: > >> > Not sure whether you already know this, but I had a hard time >> > differentiating the two concepts: >> > 1. memlock hard limit(shown by prlimit): the hard limit for locked host >> > memory >> > 2. memtune hard limi

Re: Memory locking limit and zero-copy migrations

2022-08-18 Thread Fangge Jin
On Fri, Aug 19, 2022 at 4:08 AM Milan Zamazal wrote: > > Not sure whether you already know this, but I had a hard time > > differentiating the two concepts: > > 1. memlock hard limit(shown by prlimit): the hard limit for locked host > > memory > > 2. memtune hard limit(memtune->hard_limit): the h

Re: Memory locking limit and zero-copy migrations

2022-08-18 Thread Milan Zamazal
Fangge Jin writes: > On Thu, Aug 18, 2022 at 2:46 PM Milan Zamazal wrote: > >> Fangge Jin writes: >> >> > I can share some test results with you: >> > 1. If no memtune->hard_limit is set when start a vm, the default memlock >> > hard limit is 64MB >> > 2. If memtune->hard_limit is set when star

Re: Problem with a disk device of type 'volume'

2022-08-18 Thread Peter Krempa
On Tue, Aug 16, 2022 at 13:51:20 +0200, Frédéric Lespez wrote: > Hi, > > I have progressed in my research. > > I created a minimal test case in order to reproduce the problem (see below). > > I made tests on 3 (physical) machines under Debian 11.4: the problem is > present on 2 machines but ther

Re: Libvirt virsh : Error starting network, cannot execute binary /usr/sbin/iptables

2022-08-18 Thread Pascal
Hi Laine, Thank you so much for your answer and the fully detailled explanation. It is much clear to me now. First I want to correct my error : after reinstalling iptables, I forgot to restart libvirtd.service, thus the same error raised. After restarting the service, I was able to start the

Re: Problem with a disk device of type 'volume'

2022-08-18 Thread Frédéric Lespez
Hi, I have progressed in my research. I created a minimal test case in order to reproduce the problem (see below). I made tests on 3 (physical) machines under Debian 11.4: the problem is present on 2 machines but there is no problem on the third. I booted a machine where the problem is prese

Re: Memory locking limit and zero-copy migrations

2022-08-18 Thread Fangge Jin
On Thu, Aug 18, 2022 at 2:46 PM Milan Zamazal wrote: > Fangge Jin writes: > > > I can share some test results with you: > > 1. If no memtune->hard_limit is set when start a vm, the default memlock > > hard limit is 64MB > > 2. If memtune->hard_limit is set when start a vm, memlock hard limit wil