Re: [pve-devel] [PATCH] add numa options

2015-01-07 Thread Alexandre DERUMIER
--- Mail original - De: "Cesar Peschiera" À: "aderumier" Cc: "dietmar" , "pve-devel" Envoyé: Mercredi 7 Janvier 2015 20:47:00 Objet: Re: [pve-devel] [PATCH] add numa options I have changed the vm config file according your suggestions after of apply your

Re: [pve-devel] [PATCH] add numa options

2015-01-07 Thread Cesar Peschiera
. ... :-) ...Many thanks for the patches !!! - Original Message - From: "Alexandre DERUMIER" To: "Cesar Peschiera" Cc: "dietmar" ; "pve-devel" Sent: Wednesday, January 07, 2015 4:59 AM Subject: Re: [pve-devel] [PATCH] add numa options Many thanks fo

Re: [pve-devel] [PATCH] add numa options

2015-01-07 Thread Alexandre DERUMIER
-kvm_2.2-2_amd64.deb and >>qemu-server_3.3-5_amd64.deb) Maybe qemu 2.2 optimisations ? If you don't have change vm config file, this can be the only explain. - Mail original - De: "Cesar Peschiera" À: "aderumier" Cc: "dietmar" , "pve-devel

Re: [pve-devel] [PATCH] add numa options

2015-01-06 Thread Cesar Peschiera
But that don't mean that physically, the virtual cpus|numa nodes will be mapped to correct physical cpus. Many thanks for your reply, and please, let me to do a question: Then, why I have a great difference of performance between the before and the after of install your patches if i never touche

Re: [pve-devel] [PATCH] add numa options

2015-01-06 Thread Alexandre DERUMIER
hout numa balancing) - Mail original - De: "Cesar Peschiera" À: "aderumier" Cc: "dietmar" , "pve-devel" Envoyé: Mardi 6 Janvier 2015 20:52:50 Objet: Re: [pve-devel] [PATCH] add numa options >(Note that I don't see how mssql can pin vcp

Re: [pve-devel] [PATCH] add numa options

2015-01-06 Thread Cesar Peschiera
talking in terms of data base). - Original Message - From: "Alexandre DERUMIER" To: "Cesar Peschiera" Cc: "dietmar" ; "pve-devel" Sent: Tuesday, January 06, 2015 2:31 PM Subject: Re: [pve-devel] [PATCH] add numa options ase excuse me if i don&

Re: [pve-devel] [PATCH] add numa options

2015-01-06 Thread Alexandre DERUMIER
to release it until next proxmox release. Because big changes are coming in this package this week. - Mail original - De: "Cesar Peschiera" À: "aderumier" Cc: "dietmar" , "pve-devel" Envoyé: Mardi 6 Janvier 2015 17:33:42 Objet: Re: [pve-devel] [PATC

Re: [pve-devel] [PATCH] add numa options

2015-01-06 Thread Cesar Peschiera
R" To: "Cesar Peschiera" Cc: "dietmar" ; "pve-devel" Sent: Tuesday, January 06, 2015 5:02 AM Subject: Re: [pve-devel] [PATCH] add numa options Hi, As i have running a VM with MS-SQL Server (and with 246 GB RAM exclusive for MS-SQL Server), the DBA of M

Re: [pve-devel] [PATCH] add numa options

2015-01-06 Thread Alexandre DERUMIER
with only 1vm, you can try to manually map virtual nodes to specific nodes. I'm interested to see results between both method (Maybe do you want last qemu-server deb from git ?) I plan to add gui for part1. - Mail original - De: "Cesar Peschiera" À: "aderumier&

Re: [pve-devel] [PATCH] add numa options

2015-01-05 Thread Cesar Peschiera
never more lost the cluster communication, but i must do some extensive testing to confirm it. Best regards Cesar - Original Message - From: "Alexandre DERUMIER" To: "Dietmar Maurer" Cc: Sent: Tuesday, December 02, 2014 8:17 PM Subject: Re: [pve-devel] [PATCH] add

Re: [pve-devel] [PATCH] add numa options

2014-12-03 Thread Alexandre DERUMIER
Ok, I'll send 2 patches today with both features. - Mail original - De: "Dietmar Maurer" À: "Alexandre DERUMIER" Cc: pve-devel@pve.proxmox.com Envoyé: Mercredi 3 Décembre 2014 06:48:37 Objet: RE: [pve-devel] [PATCH] add numa options > I think we co

Re: [pve-devel] [PATCH] add numa options

2014-12-02 Thread Cesar Peschiera
- Original Message - From: "Alexandre DERUMIER" To: "Cesar Peschiera" Cc: "Dietmar Maurer" ; Sent: Wednesday, December 03, 2014 2:47 AM Subject: Re: [pve-devel] [PATCH] add numa options Well,I think that some change will be done in config, the code is really fres

Re: [pve-devel] [PATCH] add numa options

2014-12-02 Thread Dietmar Maurer
> I think we could add: > > numa:0|1. I like that ;-) > which generate the first config, create 1numa node by socket, and share the > ram across the the nodes > > > > and also,for advanced users which need manual pinning: > > > numa0:cpus=,memory=,hostnode=,policy="bind|preferred|) > nu

Re: [pve-devel] [PATCH] add numa options

2014-12-02 Thread Alexandre DERUMIER
ox.com Envoyé: Mercredi 3 Décembre 2014 04:18:59 Objet: Re: [pve-devel] [PATCH] add numa options Hi Dietmar and Alexandre. First of all, I want to thank and congratulate them for the effort and professionalism that you demonstrate in their work. Now i have a doubt, as Alexandre gave me tw

Re: [pve-devel] [PATCH] add numa options

2014-12-02 Thread Cesar Peschiera
Hi Dietmar and Alexandre. First of all, I want to thank and congratulate them for the effort and professionalism that you demonstrate in their work. Now i have a doubt, as Alexandre gave me two patches that apparently will solve my problem of numa in PVE, i need to ask you if will be supported b

Re: [pve-devel] [PATCH] add numa options

2014-12-02 Thread Alexandre DERUMIER
ut pc-dimm hotplug, it's possible to add nume nodeid in "device_add pc-dimm,node=X" - Mail original - De: "Alexandre DERUMIER" À: "Dietmar Maurer" Cc: pve-devel@pve.proxmox.com Envoyé: Mardi 2 Décembre 2014 20:25:51 Objet: Re: [pve-devel] [P

Re: [pve-devel] [PATCH] add numa options

2014-12-02 Thread Alexandre DERUMIER
De: "Dietmar Maurer" À: "Alexandre DERUMIER" Cc: pve-devel@pve.proxmox.com Envoyé: Mardi 2 Décembre 2014 19:42:45 Objet: RE: [pve-devel] [PATCH] add numa options > "When do memory hotplug, if there is numa node, we should add the memory > size to the

Re: [pve-devel] [PATCH] add numa options

2014-12-02 Thread Dietmar Maurer
> "When do memory hotplug, if there is numa node, we should add the memory > size to the corresponding node memory size. > > For now, it mainly affects the result of hmp command "info numa"." > > > So, it's seem to be done automaticaly. > Not sure on which node is assigne the pc-dimm, but maybe

Re: [pve-devel] [PATCH] add numa options

2014-12-02 Thread Alexandre DERUMIER
l@pve.proxmox.com Envoyé: Mardi 2 Décembre 2014 17:02:51 Objet: RE: [pve-devel] [PATCH] add numa options > This add numa topology support > > numa[0-8]: memory=,[policy=] and how does this work with memory hotplug? And balloning? _

Re: [pve-devel] [PATCH] add numa options

2014-12-02 Thread Alexandre DERUMIER
Envoyé: Mardi 2 Décembre 2014 17:35:36 Objet: Re: [pve-devel] [PATCH] add numa options >>So migration from a NUMA host to a non-NUMA host always fail? I think it could work with: source host numa: -object memory-backend-ram,size=1024M,policy=bind,host-nodes=0,id=ram-node0 -numa node,n

[pve-devel] [PATCH] add numa options v2

2014-12-02 Thread Alexandre Derumier
This add numa topology support numa: on: only expose numa to guest other values : bind memory to host numa nodes example: --- sockets:4 cores:2 memory:4096 numa: bind qemu command line for values != on -- -object memory-backend-ram,size=1024M,policy=bind,hos

Re: [pve-devel] [PATCH] add numa options

2014-12-02 Thread Alexandre DERUMIER
t NUMA nodes: Invalid argument if the host node is not numa (can be check easily with -d /sys/devices/system/node/node$i/) - Mail original - De: "Dietmar Maurer" À: "Alexandre DERUMIER" Cc: pve-devel@pve.proxmox.com Envoyé: Mardi 2 Décembre 2014 17:00:51 Obj

Re: [pve-devel] [PATCH] add numa options

2014-12-02 Thread Alexandre DERUMIER
es. So, it'll be ready for qemu 2.3. - Mail original - De: "Dietmar Maurer" À: "Alexandre Derumier" , pve-devel@pve.proxmox.com Envoyé: Mardi 2 Décembre 2014 17:02:51 Objet: RE: [pve-devel] [PATCH] add numa options > This add numa topology support >

Re: [pve-devel] [PATCH] add numa options

2014-12-02 Thread Dietmar Maurer
> This add numa topology support > > numa[0-8]: memory=,[policy=] and how does this work with memory hotplug? And balloning? ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Re: [pve-devel] [PATCH] add numa options

2014-12-02 Thread Dietmar Maurer
> >>what happens when you migrate auch VM to a host with different NUMA > architecture? > > If the host have less numa nodes than vmsocket, the qemu process don't start. > (I have a check for this in my patch) > > AFAIK, this is the only restriction. So migration from a NUMA host to a non-NUMA h

Re: [pve-devel] [PATCH] add numa options

2014-12-02 Thread Alexandre DERUMIER
t numa here: http://www.linux-kvm.org/wiki/images/7/75/01x07b-NumaAutobalancing.pdf - Mail original - De: "Dietmar Maurer" À: "Alexandre DERUMIER" , pve-devel@pve.proxmox.com Envoyé: Mardi 2 Décembre 2014 14:20:08 Objet: RE: [pve-devel] [PATCH] add numa options >

Re: [pve-devel] [PATCH] add numa options

2014-12-02 Thread Dietmar Maurer
> numa: [policy=] > > then generate the numa nodes, from the sockets number with same policy and > split the memory across the nodes what happens when you migrate auch VM to a host with different NUMA architecture? ___ pve-devel mailing list pve-devel@

Re: [pve-devel] [PATCH] add numa options

2014-12-02 Thread Alexandre DERUMIER
Note that if we want to have something simplier but less flexible we could have an numa: [policy=] then generate the numa nodes, from the sockets number with same policy and split the memory across the nodes - Mail original - De: "Alexandre Derumier" À: pve-devel@pve.proxmox.com

[pve-devel] [PATCH] add numa options

2014-12-02 Thread Alexandre Derumier
This add numa topology support numa[0-8]: memory=,[policy=] example: --- sockets:4 cores:2 memory:4096 numa0: memory=1024,policy=bind numa1: memory=1024,policy=bind numa2: memory=1024,policy=bind numa3: memory=1024,policy=bind - total numa memory should be equal to vm memory - we assign 1 n