Many students, just like a good VPS, blindly buy some VPS, and basically do not test the performance of VPS after buying it, so today I will give you a few simple VPS performance test (which can also be said to be a view) command is issued, for your reference (reference for newbies, please don’t laugh at veterans)

Command: cat /proc/cpuinfo (CPU information)
cat /proc/meminfo (memory information)
df –lh (check hard disk information)
These are just to simply check the parameters of the VPS. No more screenshots.

Command: dd if=/dev/zero of=test bs=64k count=16k oflag=dsync
This command is to test the disk I/O performance. The disk write rate is shown in the figure, which can be used as a reference.
iotest
Or use this command: dd if=/dev/zero of=test bs=64k count=4k oflag=dsync
[Tips] In fact, when building a website normally, this DD value does not need to be too high I'm confused. As long as it's not ridiculously low, there won't be a big difference. I've been working on a good VPS for a long time with a VPS with a DD value of less than 1M/s.
Use this command for SSD disk: hdparm -t /dev/xvda
After the above two-step test, there are 2 more files on the disk: 100mb.test, test. We use the command to delete them.
rm 100mb.test              < x2>        rm test

Command: iostat  (disk and memory usage)
Command: Vmstat  (monitoring of process, memory, page I/O block and CPU information)
 


Hong Kong/United States/Domestic High Speed ​​VPS

postid
1620

Leave a Reply