Expectations for Magento 2 Performance on Cloud-3 KVM Plan

RoboPhung

New Member
Hello,

Just curious what exactly would be fair for my expectations for Magento 2 performance with regards to this plan? I am currently on this plan, and opted for the Litespeed addon. Performance of cached elements work great and speedy as expected with Litespeed/Litemage. But I have been told by multiple independent developers working on my Magento 2 site, that for noncached functions, TTFB is very bad, indicating a poor performing server. And I am still just currently in development phase, so I am very worried how this plan would hold up once I actually launch.

The plan is advertised as 6 vcores, but I can't find any information on the exact speed of each vcore.

An independent performance audit of my Magento 2 site came back with this information:

$ dd if=/dev/zero of=./test2.img bs=512 count=1000 oflag=dsync
1000+0 records in
1000+0 records out
512000 bytes (512 kB) copied, 3.47101 s, 148 kB/s
$ dd if=/dev/zero of=./test2.img bs=512 count=1000 oflag=dsync
1000+0 records in
1000+0 records out
512000 bytes (512 kB) copied, 5.19201 s, 98.6 kB/s
$ dd if=/dev/zero of=./test2.img bs=512 count=1000 oflag=dsync
1000+0 records in
1000+0 records out
512000 bytes (512 kB) copied, 5.44972 s, 93.9 kB/s

"Average SSD speed is a few Megabytes per second, it’s 100 times faster than what you have."
"Let your hosting team know."
"Getting a decent write/read speed will improve your TTFB (time to first byte)."

This perceived slowness can be felt on all functionalities of my site that is not cached.

So my question would be...is this par for the course? Or is there some other underlying issue? Should I expect better from my site performance on the cloud-3 KVM plan that's currently only in testing/developing? What kind of performance boost can I expect if I opt for th
 

KH-DanielP

KH-COO
Staff member
Howdy @RoboPhung

If you'd like we'll be glad to look further into this for you.
The DD tests that you copied show a mis-understanding of how DD works and why it isn't a good tool to measure with.

First off you're using the dsync flag, according to the man page it does this:
dsync

Use synchronized I/O for data. For the output file, this forces a physical write of output data on each write.

So it tests the writes in a synchronous order, also 'attempting' to bypass all of the cache, which is not really a good thing on a cloud as converged storage. Your applications & databases aren't going to bypass this either.

Without the dsync flag here's what you're looking at:
[root@host ksupport]# dd if=/dev/zero of=./test2.img bs=512 count=1000
1000+0 records in
1000+0 records out
512000 bytes (512 kB) copied, 0.00314609 s, 163 MB/s
[root@host ksupport]# dd if=/dev/zero of=./test2.img bs=512 count=1000
1000+0 records in
1000+0 records out
512000 bytes (512 kB) copied, 0.00250966 s, 204 MB/s
[root@host ksupport]# dd if=/dev/zero of=./test2.img bs=512 count=1000
1000+0 records in
1000+0 records out
512000 bytes (512 kB) copied, 0.00274038 s, 187 MB/


If you would, toss open a ticket with us and ask for it to be escalated to me. I'll be glad to look into any TTFB issues for you so we can get to the bottom of it.

Thanks!
 
Top