Hi @drewwestrick,
We are currently utilizing an AWS t3.medium instance to run the mender server. We are also using S3 for the artifacts
If you are utilizing S3 for storage of Mender Artifacts, then I suspect that this is related to “local saturation” of network.
Once a device is starting a download, it is downloading it directly from S3 and the Mender Server at this stage is not involved at all meaning that the traffic is not going trough your “t3.medium” instance. You would plenty of devices to be able to saturate the capacity of S3
, and this is the reason it is designed this way to allow large scale deployments.
the progress bar seems to move at the same speed for every device
Unfortunately the progress is actually just a mock up based on a guesstimate time which is same for everyone. That is why it be perceived as the same for every device.
The reason for this is (what I described above) that the Mender Server is not involved at all in the Download stage, and it can not know how many bytes the client has download (it does not report this). The Mender client will report state changes to the server, e.g going from Download → Install etc.
the file takes 3 - 4 minutes to download via wget.
Note that the Mender client will download the image and stream to the storage medium using synchronous writes, comparable to wget && sync.
This might also relate to which Mender client version you are using, because there was a significant improvement in Mender Client 2.x regarding write speeds, largely due to writing in larger blocks. I would expect the Mender Client 2.x to be comparable to wget, earlier versions where a bit slower.
But in the end it is the storage medium of the device that is the bottleneck if your network connectivity is optmial.
Also what are you all seeing in terms of update times for a given rootfs size an/or artifact size?
This is very hard to compare across different devices and will largely depend on the hardware write speed of the storage medium. e.g are you using eMMC, SD, RAW NAND, SSD, USB and what are the specifications of the interfaces on your SoC.
I have hardware that is able to download write 1,5GB (468MB Mender Artifact) in less then 2 minutes, but a similar size of artifact can take 10-20 minutes on a different hardware.