From: Leandro Roggerone <leandro@tecnetmza.com.ar>
To: Proxmox VE user list <pve-user@lists.proxmox.com>
Subject: Re: [PVE-User] Windows sever 2016 vm with very high ram usage
Date: Mon, 29 Mar 2021 11:30:32 -0300 [thread overview]
Message-ID: <CALt2oz7P5UDNciJoRvWJKY=1z6C2hZ6jF51BNFsBK3xDeeJfBQ@mail.gmail.com> (raw)
In-Reply-To: <mailman.254.1617026258.347.pve-user@lists.proxmox.com>
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ó:
>
>
>
> ---------- Forwarded message ----------
> From: Arjen <leesteken@protonmail.ch>
> To: Proxmox VE user list <pve-user@lists.proxmox.com>
> 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 other
> >
>
> > 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 too
> >
>
> > 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 for
> >
>
> > 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=150G
> >
>
> > ide1: local-lvm:vm-107-disk-1,size=350G
> >
>
> > ide2:
> >
>
> >
> local:iso/Windows_Server_2016_Datacenter_EVAL_en-us_14393_refresh.ISO,media=cdrom,size=6808810K
> >
>
> > memory: 32768
> >
>
> > name: KAIKENII
> >
>
> > net0: e1000=1A:F1:10:BF:92:0A,bridge=vmbr3,firewall=1
> >
>
> > numa: 0
> >
>
> > ostype: win10
> >
>
> > scsihw: virtio-scsi-pci
> >
>
> > smbios1: uuid=daf8f767-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 = 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, which
> is slow. Using just the cores from one of your CPU's (or less) will perform
> 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ó:
> >
>
> > > ---------- 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 usage
> > >
>
> > > 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 maybe
> 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 you
> 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-configuration.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 usage
> > >
>
> > > 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 <pve-user@lists.proxmox.com>
> To: Proxmox VE user list <pve-user@lists.proxmox.com>
> Cc: Arjen <leesteken@protonmail.ch>
> 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
>
next prev parent reply other threads:[~2021-03-29 14:30 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-26 14:28 Leandro Roggerone
2021-03-26 14:35 ` Alfio munoz
[not found] ` <mailman.195.1616769614.347.pve-user@lists.proxmox.com>
2021-03-29 13:37 ` Leandro Roggerone
2021-03-29 13:53 ` Leandro Roggerone
[not found] ` <mailman.254.1617026258.347.pve-user@lists.proxmox.com>
2021-03-29 14:30 ` Leandro Roggerone [this message]
[not found] ` <mailman.257.1617029237.347.pve-user@lists.proxmox.com>
2021-03-30 12:34 ` Leandro Roggerone
2021-04-03 8:51 ` Stefan Fuhrmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CALt2oz7P5UDNciJoRvWJKY=1z6C2hZ6jF51BNFsBK3xDeeJfBQ@mail.gmail.com' \
--to=leandro@tecnetmza.com.ar \
--cc=pve-user@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox