From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id 2E6D66C68C for ; Mon, 29 Mar 2021 16:30:47 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 1A160169FC for ; Mon, 29 Mar 2021 16:30:47 +0200 (CEST) Received: from mail-lf1-x136.google.com (mail-lf1-x136.google.com [IPv6:2a00:1450:4864:20::136]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by firstgate.proxmox.com (Proxmox) with ESMTPS id 1BF4616811 for ; Mon, 29 Mar 2021 16:30:44 +0200 (CEST) Received: by mail-lf1-x136.google.com with SMTP id b83so18719520lfd.11 for ; Mon, 29 Mar 2021 07:30:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tecnetmza-com-ar.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=wKELhB9CPq8pYsP5Z8TIW8YNTnckIdY+MncyXtRrnk4=; b=yiV/OfOvW7xfYeinmADC9bp/1CYzitKtLXk0eSKHMbjSiLoEc2dvyLWeR2zIsHZKvs z1XnseD0bFUiSL+gBIsYIhaz9y1ibHvZ4A+JpJZ974jyvwFLZ4dk0X/a1SyeI0uKGtfF 6YXj4grY89tj74HmbiFTrRLKGW7wc7UWdqayGgwLBZ6DO9gMDxlt8ZMkOUwfGcYda27g 146LKnfLWldolo9CKJbB8tVE/i5Z5s6QnVS2fl0mrzJmKJcpCyR5hPbfJU2ysex5jROj 5BnpsvKtvc+2pHP8dbhITlYdBxQ5vsJ1qCgr3IhHrj8tNQduyFH6eAlevUI8CCZPYS2+ 557w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=wKELhB9CPq8pYsP5Z8TIW8YNTnckIdY+MncyXtRrnk4=; b=l51uMcbaC9fsvpMsPGQ5xOOFj3qjvX3nVofN5CkBT15ohszMp+PxXDGLDAenkWtucy t7/8LC1LSO2ohk+Y3sG6xTVoqb2jB5S4qq3i+pzAicn/KJZOVrSoPaXK/OgJz5s9ip3U KLql7XyQBi0iifeiN9/BsYFbqlBMEQWXDSIHBRCVG6kk2YlARc+OIICNAlE0g24lKKKp WLN0ZScI8otmd+5S933Aa8EIUXWflV4U3R0gNtHe9e2lYr3BQ8+wR2Lq6gMwA+8SD36f F0Ht8fa5wB2fysMuRQZvt9hp2XjTLeHXKCTE4KI9ZyyipSlhYMSSCij7GB7T1I0veDpI TywA== X-Gm-Message-State: AOAM533HXXqrIJ4cA5s/M56+uaZrRAro13LkbNcWxq19yQwKraWwh7Z5 C8bda5c/IeIbtNMq8xjgeoA0ER8z6dqbaGDL9ofBUWtBSTy9zsY= X-Google-Smtp-Source: ABdhPJw55rFKT3NxmHCuqqq6AjquFJCaOHQE/cW74mdR9pGb0Tdg0PhhZ1uCWDrZoxj38V/PwctdnzTb0MwzkhvoP1k= X-Received: by 2002:a19:550d:: with SMTP id n13mr16711714lfe.100.1617028243382; Mon, 29 Mar 2021 07:30:43 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Leandro Roggerone Date: Mon, 29 Mar 2021 11:30:32 -0300 Message-ID: To: Proxmox VE user list X-SPAM-LEVEL: Spam detection results: 1 AWL 0.194 Adjusted score from AWL reputation of From: address DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature HTML_MESSAGE 0.001 HTML included in message RCVD_IN_DNSWL_NONE -0.0001 Sender listed at https://www.dnswl.org/, no trust SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_SOFTFAIL 0.972 SPF: sender does not match SPF record (softfail) Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: Re: [PVE-User] Windows sever 2016 vm with very high ram usage X-BeenThere: pve-user@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE user list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Mar 2021 14:30:47 -0000 Dear Arjen , nice data you provided , im trying it right now. BTW , after installing virtIO drivers , memory usage looks ok on the proxmox gui (very nice!). Regarding CPU layout , I understood this: I should use just one socket , so in my case would be 1socket x 6 cores , total 6 vCPUs. If I notice that cpu usage goes high , lets suppose over 85% , I should add a second socket and enable NUMA. I will change ide for scsi as you suggested. No problem if I need to re install OS. Regards. Leandro. El lun, 29 mar 2021 a las 10:57, Arjen via pve-user (< pve-user@lists.proxmox.com>) escribi=C3=B3: > > > > ---------- Forwarded message ---------- > From: Arjen > To: Proxmox VE user list > Cc: > Bcc: > Date: Mon, 29 Mar 2021 13:56:59 +0000 > Subject: Re: [PVE-User] Windows sever 2016 vm with very high ram usage > On Monday, March 29th, 2021 at 15:37, Leandro Roggerone < > leandro@tecnetmza.com.ar> wrote: > > > Hi guys , thanks for your words , have some feedback: > > > > > Maybe Proxmox cannot look inside the VM for the actual memory usage > because > > > > > the VirtIO balloon driver is not installed or active? Or maybe the othe= r > > > > > 90% is in use as Windows file cache? > > > > > I think so ... > > > > > Dont know about windows file cache ... > > > > > Have you installed the VirtIO drivers for Windows? Are you assigning to= o > > > > > many vCPUs or memory? Can you share the VM configuration file? Can you > tell > > > > > us something about your Proxmox hardware and version? > > > > > No , I have not ... now you mentioned im reading about VirtIO , I will > try > > > > > to install and let you know how it goes > > > > > Should install it no my pve box or directly inside windows vm ? > > > > > I'm assigning max vCPUs abailables (24 , 4 sockets 6 cores) and 32gb fo= r > > > > > memory. > > > > > (I really don't know about any criteria to assign vcpus) > > > > > This is VM config file: > > > > > root@pve:~# cat /etc/pve/nodes/pve/qemu-server/107.conf > > > > > bootdisk: ide0 > > > > > cores: 6 > > > > > ide0: local-lvm:vm-107-disk-0,size=3D150G > > > > > ide1: local-lvm:vm-107-disk-1,size=3D350G > > > > > ide2: > > > > > > local:iso/Windows_Server_2016_Datacenter_EVAL_en-us_14393_refresh.ISO,med= ia=3Dcdrom,size=3D6808810K > > > > > memory: 32768 > > > > > name: KAIKENII > > > > > net0: e1000=3D1A:F1:10:BF:92:0A,bridge=3Dvmbr3,firewall=3D1 > > > > > numa: 0 > > > > > ostype: win10 > > > > > scsihw: virtio-scsi-pci > > > > > smbios1: uuid=3Ddaf8f767-59c7-4e87-b3be-75d4a8020c38 > > > > > sockets: 4 > > > > > vmgenid: a7634624-1230-4a3e-9e7c-255d32ad2030 > > > > > My PVE is: > > > > > CPU(s) 24 x Intel(R) Xeon(R) CPU X5680 @ 3.33GHz (2 Sockets) > > > > > Kernel Version Linux 5.0.15-1-pve #1 SMP PVE 5.0.15-1 (Wed, 03 Jul 2019 > > > > > 10:51:57 +0200) > > > > > PVE Manager Version pve-manager/6.0-4/2a719255 > > > > > Total Mem =3D 64GB. > > > > > That's all. > > > > > Thanks > > You are using emulated IDE drives, which is very slow. Please install the > VirtIO SCSI driver for Windows inside the VM and attach the disk with > (vitual) scsi instead of ide. You might need to reinstall Windows to make > it boot. Use the VirtIO virtual floppy to install the VirtIO SCSI driver > when starting the Windows installation setup inside the VM. > > Use as little virtual cores and as little memory as is needed (or just a > little more), this makes the VM run more smoothly. You systems has two > sockets, so you might want to enable NUMA in the VM configuration, > otherwise your VM memory access has to go to the other socket often, whic= h > is slow. Using just the cores from one of your CPU's (or less) will perfo= rm > better than using all for the same reason of less communication between > physical sockets. > > Currently, you have chosen all the slowest options to run this VM on your > kind of system. Each of the steps above will increase performance. The > VirtIO driver installation is the most work, but also gives the most > performance increase. Selecting 'host' instead of kvm64 will also improve > performance. > > kind regards, Arjen > > > El vie, 26 mar 2021 a las 11:40, Arjen via pve-user (< > > > > > pve-user@lists.proxmox.com>) escribi=C3=B3: > > > > > > ---------- Forwarded message ---------- > > > > > > > From: Arjen leesteken@protonmail.ch > > > > > > > To: Proxmox VE user list pve-user@lists.proxmox.com > > > > > > > Cc: > > > > > > > Bcc: > > > > > > > Date: Fri, 26 Mar 2021 14:39:13 +0000 > > > > > > > Subject: Re: [PVE-User] Windows sever 2016 vm with very high ram usag= e > > > > > > > On Friday, March 26th, 2021 at 15:28, Leandro Roggerone < > > > > > > > leandro@tecnetmza.com.ar> wrote: > > > > > > > > Hi guys , Just wanted to share this with you. > > > > > > > > After creating a VM for a windows sever 2016 with 32 GB ram I can > > > > > > > > see continuos high memory usage (about 99-100%). > > > > > > > > I have no running task , since it is a fresh server and from task > manager > > > > > > > > can see a 10% of memory usage. > > > > > > > > Regarding those confusing differences, server performance is very > bad. > > > > > > > Maybe Proxmox cannot look inside the VM for the actual memory usage > > > > > > > because the VirtIO balloon driver is not installed or active? Or mayb= e > the > > > > > > > other 90% is in use as Windows file cache? > > > > > > > > User experience is very poor with a non fluent user interface. > > > > > > > > Is there something to do / check to improve this ? > > > > > > > Have you installed the VirtIO drivers for Windows? Are you assigning > too > > > > > > > many vCPUs or memory? Can you share the VM configuration file? Can yo= u > tell > > > > > > > us something about your Proxmox hardware and version? > > > > > > > > Any advice would be welcome. > > > > > > > Maybe search the forum for similar Windows performance questions? > > > > > > > > https://forum.proxmox.com/forums/proxmox-ve-installation-and-configuratio= n.16/ > > > > > > > > Thanks. > > > > > > > best of luck, Arjen > > > > > > > ---------- Forwarded message ---------- > > > > > > > From: Arjen via pve-user pve-user@lists.proxmox.com > > > > > > > To: Proxmox VE user list pve-user@lists.proxmox.com > > > > > > > Cc: Arjen leesteken@protonmail.ch > > > > > > > Bcc: > > > > > > > Date: Fri, 26 Mar 2021 14:39:13 +0000 > > > > > > > Subject: Re: [PVE-User] Windows sever 2016 vm with very high ram usag= e > > > > > > > pve-user mailing list > > > > > > > pve-user@lists.proxmox.com > > > > > > > https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-user > > > > > pve-user mailing list > > > > > pve-user@lists.proxmox.com > > > > > https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-user > > > ---------- Forwarded message ---------- > From: Arjen via pve-user > To: Proxmox VE user list > Cc: Arjen > Bcc: > Date: Mon, 29 Mar 2021 13:56:59 +0000 > Subject: Re: [PVE-User] Windows sever 2016 vm with very high ram usage > _______________________________________________ > pve-user mailing list > pve-user@lists.proxmox.com > https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-user >