Re: Guaranteed allocation of huge pages (1G) using movablecore=N doesn't seem to work at all

2017-11-06 Thread Michal Hocko
On Mon 06-11-17 19:03:08, Maxim Levitsky wrote: > I am fully aware of this. > This is why we have /proc/vm/treat_hugepages_as_moveable which I did set. > Did you remove this option? Yes http://lkml.kernel.org/r/20171003072619.8654-1-mho...@kernel.org > I don't need/have memory hotplug so I am ok

Re: Guaranteed allocation of huge pages (1G) using movablecore=N doesn't seem to work at all

2017-11-06 Thread Michal Hocko
On Mon 06-11-17 19:03:08, Maxim Levitsky wrote: > I am fully aware of this. > This is why we have /proc/vm/treat_hugepages_as_moveable which I did set. > Did you remove this option? Yes http://lkml.kernel.org/r/20171003072619.8654-1-mho...@kernel.org > I don't need/have memory hotplug so I am ok

Re: Guaranteed allocation of huge pages (1G) using movablecore=N doesn't seem to work at all

2017-11-06 Thread Michal Hocko
On Sat 04-11-17 11:55:14, Maxim Levitsky wrote: > Hi! > > My system has 64G of ram and I want to create 32 1G huge pages to use > in KVM virtualization, > on demand, only when VM is running. > > So I booted the kernel with > 'hugepagesz=1G hugepages=0 default_hugepagesz=1G movablecore=40G' Why

Re: Guaranteed allocation of huge pages (1G) using movablecore=N doesn't seem to work at all

2017-11-06 Thread Michal Hocko
On Sat 04-11-17 11:55:14, Maxim Levitsky wrote: > Hi! > > My system has 64G of ram and I want to create 32 1G huge pages to use > in KVM virtualization, > on demand, only when VM is running. > > So I booted the kernel with > 'hugepagesz=1G hugepages=0 default_hugepagesz=1G movablecore=40G' Why

Guaranteed allocation of huge pages (1G) using movablecore=N doesn't seem to work at all

2017-11-04 Thread Maxim Levitsky
Hi! My system has 64G of ram and I want to create 32 1G huge pages to use in KVM virtualization, on demand, only when VM is running. So I booted the kernel with 'hugepagesz=1G hugepages=0 default_hugepagesz=1G movablecore=40G' However I still can't allocate the pages reliably. For instance this

Guaranteed allocation of huge pages (1G) using movablecore=N doesn't seem to work at all

2017-11-04 Thread Maxim Levitsky
Hi! My system has 64G of ram and I want to create 32 1G huge pages to use in KVM virtualization, on demand, only when VM is running. So I booted the kernel with 'hugepagesz=1G hugepages=0 default_hugepagesz=1G movablecore=40G' However I still can't allocate the pages reliably. For instance this

Re: Collapse all Print all In new window Guaranteed allocation of huge pages (1G) using movablecore=N doesn't seem to work at all.

2017-11-03 Thread Maxim Levitsky
Sorry for garbaged title - I copy & pased from older mail which I by mistake sent in HTML (had to use gmail web interface here) Beset regards, Maxim Levitsky On Sat, Nov 4, 2017 at 1:31 AM, Maxim Levitsky wrote: > Hi! > > My system has 64G of ram and I want to

Re: Collapse all Print all In new window Guaranteed allocation of huge pages (1G) using movablecore=N doesn't seem to work at all.

2017-11-03 Thread Maxim Levitsky
Sorry for garbaged title - I copy & pased from older mail which I by mistake sent in HTML (had to use gmail web interface here) Beset regards, Maxim Levitsky On Sat, Nov 4, 2017 at 1:31 AM, Maxim Levitsky wrote: > Hi! > > My system has 64G of ram and I want to create 32 1G huge pages

Collapse all Print all In new window Guaranteed allocation of huge pages (1G) using movablecore=N doesn't seem to work at all.

2017-11-03 Thread Maxim Levitsky
Hi! My system has 64G of ram and I want to create 32 1G huge pages to use in KVM virtualization, on demand, only when VM is running. So I booted the kernel with 'hugepagesz=1G hugepages=0 default_hugepagesz=1G movablecore=40G' However I still can't allocate the pages reliably. For instance this

Collapse all Print all In new window Guaranteed allocation of huge pages (1G) using movablecore=N doesn't seem to work at all.

2017-11-03 Thread Maxim Levitsky
Hi! My system has 64G of ram and I want to create 32 1G huge pages to use in KVM virtualization, on demand, only when VM is running. So I booted the kernel with 'hugepagesz=1G hugepages=0 default_hugepagesz=1G movablecore=40G' However I still can't allocate the pages reliably. For instance this