Zend certified PHP/Magento developer

Setup:upgrade is extremely slow on magento 2.4.4

Following are my system configurations

  • OS : Ubuntu 20.04
  • Server : Nginx
  • RAM : 16 GB
  • SSD Hard disk

Setup:upgrade used to run faster before the fresh OS installation. I ran into some problem so re-installed the OS and now it is working slow. Even the OS seems to be booting slow.
I’m not sure if the issue is with OS or magento related applications.

I don’t have much products, hardly 20 products. Basically I don’t have much data so data could not be the problem.

Please suggest the possible solutions or a way to debug the root cause for this. Thanks