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 64730632BB for ; Tue, 9 Feb 2021 14:47:38 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 521082DF8D for ; Tue, 9 Feb 2021 14:47:08 +0100 (CET) Received: from mail-lj1-x231.google.com (mail-lj1-x231.google.com [IPv6:2a00:1450:4864:20::231]) (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 E57ED2DF77 for ; Tue, 9 Feb 2021 14:47:04 +0100 (CET) Received: by mail-lj1-x231.google.com with SMTP id f8so12645575ljk.3 for ; Tue, 09 Feb 2021 05:47:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tecnetmza-com-ar.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=uD8CudYHmqPRENnL0WkP/4Ym67f0pU5/aDAdl+98Zlo=; b=RBlE/0JkAxxASxV/xYUoE3l4ZHc+WPm2nVGKkd46QSEjEaOxWeV4YE6mPvOgwKmvrG JDm6ugqmn5Ze+4WcwjNzy4HbltgIsRwH5isNxe8TnWEHXrT0gDbcP8DSkHLb9polWSLG GxSS6XFAl0ZoZK80mBGUN0Wg2Kdj1xrbZhoTFDvYESUZjIKGiMhKFW+65RPKG0hBF9P8 WDQRGhsxzWj2Qg3HVbIzl9j04fxm8y4vRLB8qBeiQ03JAMfI3tfo+35U8XpVWqJxxPsv wY/+S+Czkrt+Qa+8gVw1niCoEYdWZlA40oZo2FCjYppNf8nSZEP1zZr6cHA+UHnaaS3r D56Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=uD8CudYHmqPRENnL0WkP/4Ym67f0pU5/aDAdl+98Zlo=; b=WsSzMtrA0pR2Kl4G1jd+EWqW5wRTfCuMWDst7OUmOZnFud/Ct1afg2dgT2tGFF3mH9 p/+5nEqIUIc/rBFed9O0d1fMKsY25cWYnIdHj79HMVtudHBkEH9LwzYDQM+SvWwyaOhe ryJOHfhAj4QmGE7qpoGBEYoswZv5piAHrMeolEBPPR4doKnKsLkLy/ylK+nzDpd4MA7T mNalkmwozp1dozS/jO8rdx9DEElqTz1NzXJc13GTMtpdreGtx8c8E5eg+NfO0LQfs3DX cVMW9mlSLIbS55SSFUwy5PBtkPVGHKWDhRX0OWHlCBCGhHzl65svyvo2WdWVdEaWcDr2 +wlA== X-Gm-Message-State: AOAM533dyC4L+FM4BL/k5T8o7xHMXD9iNaKFSw+t+Um4AsMLkU9U3GEX D4URZdp3Tc5ovH03BdRK+RHGG/Ke6YJWcX1hUmPfW8cvhofvl4Y= X-Google-Smtp-Source: ABdhPJzMJCywjLB7ektjdr9y9CrU09nbj9s+F+FzZlfu6GSW9E6hVMeEqtCnvcFb+uvTNlP3Li0N34O3Xf1HFX5520o= X-Received: by 2002:a2e:9b96:: with SMTP id z22mr1447074lji.35.1612878417740; Tue, 09 Feb 2021 05:46:57 -0800 (PST) MIME-Version: 1.0 From: Leandro Roggerone Date: Tue, 9 Feb 2021 10:46:49 -0300 Message-ID: To: PVE User List X-SPAM-LEVEL: Spam detection results: 1 AWL 0.199 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) T_REMOTE_IMAGE 0.01 Message contains an external image Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: [PVE-User] Server performance question 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: Tue, 09 Feb 2021 13:47:38 -0000 Hi guys , I noticed some vms applications are running very slow. For instance , I'm running librenms on a dedicated vm , which takes too long to load its views. After checking my box I have following questions: Executing top command on pve cli , I can see: ################################### When looking to cpu load with top command , I see: top - 10:16:53 up 53 days, 13 min, 4 users, load average: 14.74, 8.60, 8.44 Tasks: 659 total, 1 running, 658 sleeping, 0 stopped, 0 zombie %Cpu0 : 1.5/12.2 14[|||||||||||||| ] %Cpu1 : 3.7/5.4 9[||||||||| ] %Cpu2 : 1.3/1.7 3[||| ] %Cpu3 : 3.0/3.0 6[|||||| ] %Cpu4 : 2.3/1.0 3[||| ] %Cpu5 : 0.7/2.6 3[|||| ] %Cpu6 : 1.0/2.7 4[|||| ] %Cpu7 : 2.3/1.3 4[||| ] %Cpu8 : 1.7/1.0 3[||| ] %Cpu9 : 1.3/7.4 9[|||||||| ] %Cpu10 : 1.3/2.0 3[||| ] %Cpu11 : 1.3/9.8 11[||||||||||| ] %Cpu12 : 1.4/1.4 3[|| ] %Cpu13 : 5.7/7.4 13[||||||||||||| ] %Cpu14 : 2.0/1.3 3[||| ] %Cpu15 : 3.3/4.7 8[|||||||| ] %Cpu16 : 1.7/1.0 3[||| ] %Cpu17 : 4.8/9.2 14[|||||||||||||| ] %Cpu18 : 1.3/0.7 2[|| ] %Cpu19 : 1.0/3.7 5[||||| ] %Cpu20 : 2.7/1.7 4[||||| ] %Cpu21 : 2.7/0.7 3[|||| ] %Cpu22 : 5.0/1.7 7[||||||| ] %Cpu23 : 2.4/2.7 5[||||| ] MiB Mem : 64404.3 total, 3516.4 free, 56097.8 used, 4790.0 buff/cache MiB Swap: 8192.0 total, 734.0 free, 7458.0 used. 5235.3 avail Mem ################################### When looking to memory usage with top command at cli: MiB Mem : 92.1/64404.3 [|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| ] MiB Swap: 91.0/8192.0 [||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| ] ###################################When I see "summary" at pve tab it shows: CPU usage 17.08% of 24 CPU(s) Load average 9.37,10.23,9.12 RAM usage 87.79% (55.22 GiB of 62.89 GiB SWAP usage 91.04% (7.28 GiB of 8.00 GiB) ________________________________________________________________________________ Have following quesions: 1 Is my system at full capacity ?? cpu usage looks like it is around 20% and less so ... it is not at full capacity. but cpu load shows load average: 14.74, 8.60, 8.44 (top) Load average 9.37,10.23,9.12 (gui) (Both values are dynamically moving , so the are not same but refers to same parameter) It shows that the system is at very high utilization. 2 Why is swap memory almost full ? Will the Systeml use swap memory or physic memory first ? Should I increase my swap memory ? I 3 Regarding cpu resources when creating VM. I use to set 1 socket and 4 cores for applications like librenms monitoring 15 devices. but Proxmox allows me to set maximum sockets : 4 cores: 28 So , I'm wondering what happens if I use the maximum available cpu resources for all my VMs. Will it force the system to have a better distribution of cpus load ? if not ... What would be the difference to set max cpu resources to all my VMs. That's all ... sorry for the loooong email. Any feeling about this would be welcome. Leandro Libre de virus. www.avast.com <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>