FreeBSD on Amazon AWS EC2 long standing performance problems

Jin Guojun[VFF] jguojun at gmail.com
Fri Feb 5 23:00:14 UTC 2021


On 2021-02-05 12:45, Gunther Schadow wrote:
> Gordon Bergling wrote:
>> Can you verify your feelings by numbers?
>
> Yes, like I said
>
>>> Not by a few % points, but by factors if not an order of magnitude!
>
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253261
>
> Do this:
>
> dd if=/dev/zero of=/dev/nvd2 bs=100M status=progress
>
> and you see that it's writing with the "whopping" speed of 70 MB/s.
>
> That used to be good, but it is no longer good. Compare Amazon Linux 
> doing
> the same thing at 300 MB/s.
>
> Now, when you put a file system over it, zfs or ufs, then instantly the
> performance gets better:
>
> newfs /dev/nvd2
> mount /dev/nvd2 /mnt
> dd if=/dev/zero of=/mnt/test bs=100M status=progress
>
> now that works at about 250 MB/s. Decent. So, problem solved? 

It is not clear if this compares Apple to Apple.

What disk drives and CPUs are on FreeBSD, and what are disk drive(s) and 
CPU(s) on AWS?

Knowing the drive brand and models will tell approximately the disk 
throughput. Agree, 70MB/s is slow for modern disks, but your information 
does not provide clue why this could be slow.

Can this setup get 250MB/s on FreeBSD 11.4? or 300MB/s with Ubuntu 16.04 
on the same hardware?

-Jin



More information about the freebsd-performance mailing list