VPS Slow Performance

serra123123

Member
Aug 5, 2022
9
0
6
All my VPS are slow both Windows and Linux I don't know what could be. One thing I noticed was that on Windows VPS the qemu agent is buggy, it's installed and it was working previously. On Linux VPS I don't use qemu agent but linux VPS are also slow. I send the print below my settings. Thanks

1663190019930.png

1663189848132.png
1663189882742.png

disk test
root@pve:~# smartctl -a /dev/sdb
smartctl 7.2 2020-12-30 r5155 [x86_64-linux-5.15.53-1-pve] (local build)
Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Device Model: TOSHIBA MQ04ABD200
Serial Number: 11GDPXIYT
LU WWN Device Id: 5 000039 a827843b3
Firmware Version: JT001U
User Capacity: 2,000,398,934,016 bytes [2.00 TB]
Sector Sizes: 512 bytes logical, 4096 bytes physical
Rotation Rate: 5400 rpm
Form Factor: 2.5 inches
Zoned Device: Device managed zones
Device is: Not in smartctl database [for details use: -P showall]
ATA Version is: ACS-3 T13/2161-D revision 5
SATA Version is: SATA 3.3, 3.0 Gb/s (current: 3.0 Gb/s)
Local Time is: Wed Sep 14 22:04:16 2022 WEST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status: (0x00) Offline data collection activity
was never started.
Auto Offline Data Collection: Disabled.
Self-test execution status: ( 0) The previous self-test routine completed
without error or no self-test has ever
been run.
Total time to complete Offline
data collection: ( 120) seconds.
Offline data collection
capabilities: (0x5b) SMART execute Offline immediate.
Auto Offline data collection on/off support.
Suspend Offline collection upon new
command.
Offline surface scan supported.
Self-test supported.
No Conveyance Self-test supported.
Selective Self-test supported.
SMART capabilities: (0x0003) Saves SMART data before entering
power-saving mode.
Supports SMART auto save timer.
Error logging capability: (0x01) Error logging supported.
General Purpose Logging supported.
Short self-test routine
recommended polling time: ( 2) minutes.
Extended self-test routine
recommended polling time: ( 332) minutes.
SCT capabilities: (0x003d) SCT Status supported.
SCT Error Recovery Control supported.
SCT Feature Control supported.
SCT Data Table supported.

SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
1 Raw_Read_Error_Rate 0x000b 100 100 050 Pre-fail Always - 0
2 Throughput_Performance 0x0005 100 100 050 Pre-fail Offline - 0
3 Spin_Up_Time 0x0027 100 100 001 Pre-fail Always - 2166
4 Start_Stop_Count 0x0032 100 100 000 Old_age Always - 129
5 Reallocated_Sector_Ct 0x0033 100 100 050 Pre-fail Always - 0
7 Seek_Error_Rate 0x000b 100 100 050 Pre-fail Always - 0
8 Seek_Time_Performance 0x0005 100 100 050 Pre-fail Offline - 0
9 Power_On_Hours 0x0032 084 084 000 Old_age Always - 6712
10 Spin_Retry_Count 0x0033 102 100 030 Pre-fail Always - 0
12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 125
191 G-Sense_Error_Rate 0x0032 100 100 000 Old_age Always - 0
192 Power-Off_Retract_Count 0x0032 100 100 000 Old_age Always - 83
193 Load_Cycle_Count 0x0032 100 100 000 Old_age Always - 3080
194 Temperature_Celsius 0x0022 100 100 000 Old_age Always - 30 (Min/Max 15/36)
196 Reallocated_Event_Count 0x0032 100 100 000 Old_age Always - 0
197 Current_Pending_Sector 0x0032 100 100 000 Old_age Always - 0
198 Offline_Uncorrectable 0x0030 100 100 000 Old_age Offline - 0
199 UDMA_CRC_Error_Count 0x0032 200 253 000 Old_age Always - 0
220 Disk_Shift 0x0002 100 100 000 Old_age Always - 0
222 Loaded_Hours 0x0032 085 085 000 Old_age Always - 6209
223 Load_Retry_Count 0x0032 100 100 000 Old_age Always - 0
224 Load_Friction 0x0022 100 100 000 Old_age Always - 0
226 Load-in_Time 0x0026 100 100 000 Old_age Always - 272
240 Head_Flying_Hours 0x0001 100 100 001 Pre-fail Offline - 0

SMART Error Log Version: 1
No Errors Logged

SMART Self-test log structure revision number 1
Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error
# 1 Short offline Completed without error 00% 4594 -

SMART Selective self-test log data structure revision number 1
SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS
1 0 0 Not_testing
2 0 0 Not_testing
3 0 0 Not_testing
4 0 0 Not_testing
5 0 0 Not_testing
Selective self-test flags (0x0):
After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.
 
I was the one who purposely limited it so if someone is extracting or downloading large amounts of data it doesn't affect the other vms. On disk graphics Windows doesn't use 2 MB/s. As you can see in the print, windows does not use 2 Mb/s and is still slow. I already had it disabled yesterday and I put 2 Mb/s because I thought that the vms could all together overload the disk but I limited the vms even so it's still slow. Ps: On the linux machine I have no disk limitation and it is slow too. Thanks

1663192798587.png
 
Last edited:
On one of your screenshots there is a IO delay of 35%. Wouldn't wonder if your 5400 RPM HDDs is slowing everything down, no matter if you limit the guests bandwidth or not.
 
Last edited:
The thing is: Every week, at least one person starts a thread, saying their system/VMs are slow. But what actually means "slow"? "Slow", without using any standardized tools that give you standardized and comparable numbers black on white, is basically nothing more than a subjective feeling. Everyone can feel it different.
So the, more or less, only thing other people, trying to help, can do is guessing.

With that said; here is my guessing:
  • Like others already said: HDDs are really bad as any system drive. Today even a cheap office system with only one Windows-installation on it usually comes with an SSD as system drive. And you are running probably 6 VMs/OS-installations (including (a) heavy Windows machine(s)) and maybe additional 7 LXCs and, as you said, also extensive file-operations (big downloads/extractions) on top of that, all on that HDD...
  • If those E7-4820s are really v1s, then those and the whole platform is over 11 years old [1]. Again, who today wants to run a current (still in support; not EOL) Windows-installation on a 11 year old CPU/platform and on top of that from a HDD?! And you have simultaneous multiple complete OSs, probably with CPU-intensive tasks (e.g.: extractions), running...
  • Especially Windows-VMs with a Desktop Environment can be ever considered as "slow", because all the graphics has to be processed by the CPU (hits even more with such old ones); unless you PCIe-passthrough a reasonable physical GPU to the VM.

Because you can get basically anything running on basically any host with (Linux-)Virtualization as base, does not necessarily mean that it is a good choice or experience.

PS.: Sorry for the little bit of ranting. No offense and not meant to be rude. :)

[1] https://ark.intel.com/content/www/u...20-18m-cache-2-00-ghz-5-86-gts-intel-qpi.html
 
  • Like
Reactions: aaron
I've been checking and the problem was with the disk. Thank you very much for the information I am very grateful for the knowledge that you transmitted to me thank you very much.