惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

C
CERT Recently Published Vulnerability Notes
S
Security @ Cisco Blogs
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
D
Darknet – Hacking Tools, Hacker News & Cyber Security
Help Net Security
Help Net Security
Spread Privacy
Spread Privacy
WordPress大学
WordPress大学
S
Schneier on Security
博客园 - 聂微东
C
Cybersecurity and Infrastructure Security Agency CISA
F
Full Disclosure
人人都是产品经理
人人都是产品经理
Cisco Talos Blog
Cisco Talos Blog
D
Docker
aimingoo的专栏
aimingoo的专栏
Application and Cybersecurity Blog
Application and Cybersecurity Blog
酷 壳 – CoolShell
酷 壳 – CoolShell
月光博客
月光博客
GbyAI
GbyAI
Stack Overflow Blog
Stack Overflow Blog
V
Visual Studio Blog
Security Latest
Security Latest
C
CXSECURITY Database RSS Feed - CXSecurity.com
N
News and Events Feed by Topic
小众软件
小众软件
A
About on SuperTechFans
Scott Helme
Scott Helme
Cloudbric
Cloudbric
T
Threatpost
雷峰网
雷峰网
NISL@THU
NISL@THU
N
News | PayPal Newsroom
Microsoft Azure Blog
Microsoft Azure Blog
T
Tailwind CSS Blog
T
Tor Project blog
T
The Blog of Author Tim Ferriss
The Hacker News
The Hacker News
C
Cyber Attacks, Cyber Crime and Cyber Security
量子位
Latest news
Latest news
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
I
Intezer
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
P
Privacy International News Feed
TaoSecurity Blog
TaoSecurity Blog
N
News and Events Feed by Topic
IT之家
IT之家
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
MongoDB | Blog
MongoDB | Blog
P
Privacy & Cybersecurity Law Blog

Proxmox Support Forum

[SOLVED] - Github Auth for Mirrors-Kernel Repo? [Automation] Mass migration tool for MS Win11/Server Proxmox GUI hang - not response is it possible to reject or quarantine spam based on conditions I set ? The PVENode task list in PVE9 is partially obscured due to the terminal font being too large. About 100% error reporting due to pveproxy.service hooks Kubernetes overlay networking breaks when upgrading from PVE 9.1 to PVE 9.2.3 Zentraler Speicher No space left on device Combine datastore and direct file archival to tape Kernel panic VFS: Unable to mount root fs on unknown-block (0,0) sobald ein 7.x Kernel verwendet wird. How to migrate disk of a VM from one ZFS to another Windows Server 2025 fails to boot after PVE 9.2 / Linux 7.0 Kernel upgrade Cannot Install Proxmox on T610 Poweredge with H700 PERC card sdn Config. gateway not reachable How to safely change domain/FQDN? Welche Filterquote erreicht ihr? NFS Share status unknown on 2 of 5 nodes Can't connect to PVE9 consoles [solved] Can't connect to PVE9 consoles [solved] [SOLVED] - Use secondary network for PVE commands Created cluster, one node storage gone BUG: proxmox mail gateway FROM = null bypass spam filtering Moving existing PBS from VMWare workstation to PVE cluster Does eBGP SDN fabric support external peering? Bug: PDM 1.1 not recognizing valid license status Proxmox GUI hang - not response PVE crashes unexpectedly Proxmox Backup Server 4.2 released! Advice ceph-osd crashes with kernel 6.17.2-1-pve on Dell system [META] Links on Proxmox Forum Website Hardwarer oder Software RAID Joining a cluster with already created guests VM PDM missing backup jobs from PVE / Log retention Remove VM.Monitor from all users/roles, PVE 9.2 Proxmox Freezing (new instalation) 9.2.2 - Intel 12700T No Web gui and random connection reset by peer [SOLVED] - i40e module for X710 Intel NIC Dutch Proxmox Day 2026 How pools use the space Corosync initiiert Reboot trotz Verfügbarkeit der Systeme Opt-in Linux 7.0 Kernel for Proxmox VE 9 available After PVE 8to9 upgrade, unable to check guest fs freeze status Problem with MegaRAID SAS3508 controller proxmox-kernel-7.0.2-6-pve failing network service Auto sync guest time after rollback of VM snapshot with RAM/state Broadcom BCM57504 (100G) bnxt_en TX timeout and NIC reset on Proxmox 8.1.5 — while BCM57414 (25G) works fine on same host QEMU 11.0 available on pve-test and pve-no-subscription as of now 350 MPM Solventless Lamination Machine for High-Speed Flexible Packaging Making sense of NVMe zfs and SMART errors [SOLVED] - PVE loses network connection after kernel upgrade to proxmox-kernel-7.0.0-3-pve [SOLVED] - Remove or reset cluster configuration. Proxmox 8.4.1 Fresh Install BCM57416 10G Ethernet Adapter Not Recognized PDM 1.1.1 unable to add AD realm with anonymous search [TUTORIAL] - Developer Workstation (Proxmox-VE 9) with cinnamon (LMDE7) SDN zone shows "pending" on peer nodes after node reboot (9.2.x) Cluster not quorate - extending auth key lifetime! Proxmox not rebooting properly (SOLVED) Proxmox 9 Stuck on loading initial ramdisk With new HA-Disarm Feature is there a Documentation for NUT Setup on Clusters? Proxmox 8.3 Installation Issue on ProLiant DL380 Gen9 Cluster networking setup LXC System images unavailable [SOLVED] - Fix: NVIDIA Drivers Failing after upgrade to Proxmox 9.2.2 (Kernel 7.0.2-6-pve) / NovaCore Conflict Install NUT directly on Proxmox VE and control guests from here driver usb for windows 7 System startup error and no network: Failed to start ifupdown2-pre.service - Helper to synchronize boot up for ifupdown. PBS backup space grow up constantly Proxmox Datacenter Manager 1.1 released! IPv4 not available in newly created VM Recommended Setup for Offsite Proxmox Backups? Hetzner Storage Box & Remote PBS Challenges duplicate, please delete this passthrought an USB device "by ID" to CT PDM Installer Freezes at 66% Tried PDM for the first time (version 1.1) - had issues PDM 1.1 automated install Suche Server-Provider für Proxmox connecting sdn to edge firewall SDN, IPAM & DHCP Migrating from read-only file system Ubuntu 26.04 installation fails for unknown reason Status Unbekannt nach Cluster Join Installing Proxmox Backup Server on Mac Mini (Late 2012) kernel 7.0 performance issue with zfs pools PVE becomes unreachable via ethernet but OS is running [SOLVED] - New 9.2 install - can't find 7.0.2-6-pve , not all the time [SOLVED] - Backup and dedupe a VM with LUKS Gibt es mit PVE 2.x ggf. Änderungen bei der RAM-Nutzung, bzw. deren Anzeige bei VMs? I need help for setting up backup solution Way more NAGware, very little functionality, bugs galore Root squashing virtiofsd with --uid-map Intel ixgbe Driver Update Fail Passkey Login (not 2FA) Roblox VM detection - can be overcome? [TUTORIAL] - ZFS-Autosnaptshot inkl. Rollback und Daten direkt recovern (Windows/Linux) How to stop PVE Kernel upgrade [SOLVED] - very long waiting to log in to lxc debian 11 ssh [TUTORIAL] - Configuring Fusion-Io (SanDisk) ioDrive, ioDrive2, ioScale and ioScale2 cards with Proxmox Increase maximum USB devices in vm.conf
VM optimization to malloc
invalid@exam · 2026-06-12 · via Proxmox Support Forum

Bom dia pessoal, fiz questão de voltar aqui pra poder concluir o diagnóstico com vocês. Espero que isso ajude outras pessoas.
Vamos lá, conforme comentei no dia Jun 11, 2026 auditei o código de Malloc que a Totvs fornece, e conclui que aquele código testa mais poder de processamento single thread do que qualquer outra coisa.
Esse código fornecido pela Totvs não faz testes confiáveis de alocação de memória nem leitura/escrita em disco, como teste fio faz.

Nosso servidor com Raid 10 SSD, controladora com cache e memória ram sobrando, sempre retornou resultados ruins mesmo com windows server instalado em baremetal no servidor, esse resultado do malloc sempre foi ruim, porém o Protheus performava.

Após a mudança de baremetal para virtualização promox (usando VMs Oracle Linux) o teste de malloc começou apresentar resultados péssimos (antes era ruim), e realmente o Protheus não estava performando depois de mudar de baremetal para proxmox + vm oracle linux.

A diferença é que antes o SO rodava em baremetal, e o promox, querendo ou não, criou uma camada de abstração entre o SO do Protheus (VM) e o Hardware.

Nosso servidor tinha 2 CPU Intel Xeon Silver 4114 de 2.2GHz, na documentação atual da Totvs eles dizem que o clock base mínimo é de 2.3GHz, bem, com isso em mãos, compramos outros processadores e colocamos 2 CPU Intel Xeon Gold 5215 de 2.50GHz, ou seja, 0.200GHz a mais que o mínimo recomendado pela Totvs e 0.300GHz a mais do que tínhamos.

Após a troca do processador o sistema já começou a performar. Abaixo coloquei os resultados do teste malloc após a troca do processador, os resultados saltaram de péssimos para ótimos conforme evidenciado.

Para ajudar o pessoal mais um pouco com esse tipo de analise, eu tinha feito o seguinte teste antes de comprar/trocar o processador. Habilitei o log do postgresql para salvar todas as querys executadas no banco, entrei no sistema na rotina de cadastro de produtos, sistema demorava 18 segundos totais para abrir a tela, ao analisar o log do banco, vi que todas as querys gastavam um total de 4 segundos para serem executadas, ou seja, os outros 14 segundos eram gastos pelo Appserver+DbAccess. Com isso, identificamos que o banco estava performando corretamente, não havia mais nada de tunning para fazer no banco.
Trocamos o processador e o tempo gasto pelo Protheus começou a ser de 4 segundos. Ou seja o banco manteve 4 segundos de retorno mais 4 segundos do Protheus, somando total de 8 segundos. Foi uma queda de 18 segundos para 8 segundos totais em uma abertura de tela.

Uma observação importante é que mesmo que seu processador não esteja mostrando picos de processamento, ele ainda pode ser o culpado, nos meus testes o processador batia 15% de processamento nos momentos de pico, ou seja, aos olhos não tinha nada errado com processador quando se analisava somente o pico de processamento.

A conclusão final é que o Protheus (Appserver/Dbacces) para performar precisa de clock base alto em single thread, não adianta só configurar proxmox deixando processador como host, dar memória ram ou usar cache de writeback. Se o clock base do processador não for alto o sistema não vai performar e os testes do malloc nunca darão resultados bons.

Resultados do malloc após a troca do processador com clock mais alto

Bash:

./mallocio-linux-1.2.0-x86_64
Path - ./ | File - output.json
  __  __    _    _     _     ___   ____     ___ ___ 
 |  \/  |  / \  | |   | |   / _ \ / ___|   |_ _/ _ \
 | |\/| | / _ \ | |   | |  | | | | |   _____| | | | |
 | |  | |/ ___ \| |___| |__| |_| | |__|_____| | |_| |
 |_|  |_/_/   \_\_____|_____\___/ \____|   |___\___/
                                               1.2.0 x86_64
                                                  
 
 
 
TESTE 1
ALOCANDO BLOCO DE MEMORIA
 
TEMPO LEVADO PARA ALOCAR MEMORIA: 4.000000 segundos
 
RESULTADO DO TESTE: Otimo -> RECOMENDADO PARA O PROTHEUS
 
 
TESTE 2
ESCRITA EM DISCO
 
TEMPO LEVADO PARA REALIZAR A ESCRITA EM DISCO: 1.000000 segundos
 
 
 
TESTE 3
LEITURA EM DISCO
 
TEMPO LEVADO PARA REALIZAR A LEITURA EM DISCO: 6.000000 segundos
 
RESULTADO DO TESTE: Otimo -> RECOMENDADO PARA O PROTHEUS
 
 
 ***********************************************************************
 
 TABELA DE REFERENCIA - ALOCAR BLOCO DE MEMORIA
 
Otimo   - ate 10.000000 segundos (RECOMENDADO PARA O PROTHEUS)
Bom     - ate 15.000000 segundos (NAO recomendado para o Protheus)
Ruim    - ate 25.000000 segundos (NAO recomendado para o Protheus)
Pessimo -   + 25.000000 segundos (NAO recomendado para o Protheus)
 
 TABELA DE REFERENCIA - LEITURA EM DISCO
 
Otimo   - ate 10.000000 segundos (RECOMENDADO PARA O PROTHEUS)
Bom     - ate 25.000000 segundos (NAO recomendado para o Protheus)
Ruim    - ate 26.000000 segundos (NAO recomendado para o Protheus)
Pessimo -   + 26.000000 segundos (NAO recomendado para o Protheus)

Atenciosamente.
Súlivan Simões

  • 1782917050942.png

    1782917050942.png

    67.5 KB · Views: 1