I tested yes using pv with following command on two different distros :
yes | pv > /dev/null
Results :
Ubuntu 16.04 : 5.83GiB/s
Centos 7.x : 100MiB/s
Here is my Specs:
1st distro : Ubuntu Ubuntu 16.04.6 LTS - VM(VMware Workstation) - 4GB ram - 4 CPU- kernel : 4.4.0-166-generic.x86_64
2nd distro : Centos 7.7.1908 (Core) - VM(Vmware Workstation) - 4GB ram - 4 CPU- kernel : 3.10.0-1062.4.1.el7.x86_64
Vmware workstation 15.5 installed on Windows 10
I was wondering what is the cause of such difference between these two to write on the ram.
Why is Centos too slow to write on the ram?
or is Ubuntu making mistake on performance monitoring while writing on the ram?