[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <551A7786.3060908@plexistor.com>
Date: Tue, 31 Mar 2015 13:31:34 +0300
From: Boaz Harrosh <boaz@...xistor.com>
To: Christoph Hellwig <hch@....de>
CC: linux-nvdimm@...1.01.org, linux-fsdevel@...r.kernel.org,
linux-kernel@...r.kernel.org, x86@...nel.org,
ross.zwisler@...ux.intel.com, axboe@...nel.dk
Subject: Re: another pmem variant V2
On 03/31/2015 01:25 PM, Boaz Harrosh wrote:
> On 03/31/2015 12:25 PM, Christoph Hellwig wrote:
<>
> The problem I see is that if I state a memmap=nn!aa that crosses a NUMA
> boundary then the machine will not boot.
> So BTW for sure I need that "don't merge E820_PMEM ranges" patch because
> otherwise I will not be able to boot if I have pmem on both NUMA nodes
> and they happen to be contiguous.
>
BTW if you need NUMA emulated in your KVM add the below to your virsh edit
<cpu>
....
<numa>
<cell cpus='0-3' memory='5242880'/>
<cell cpus='4-7' memory='3145728'/>
</numa>
</cpu>
memory= is in KiB only
The sum of these must exactly match what you have for
<memory unit='KiB'>8388608</memory>
<currentMemory unit='KiB'>8388608</currentMemory>
And you probably already have say:
<topology sockets='2' cores='4' threads='1'/>
Cheers
Boaz
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists