[CentOS] Performance issues/difference of two servers running same task (one is quicker)

Thu Jul 4 07:39:18 UTC 2019
Roberto Ragusa <mail at robertoragusa.it>

On 7/4/19 8:43 AM, Jobst Schmalenbach wrote:
> Clearly the development server is hardware wise way below the specs of the Dell but
> software wise they are identical (they get upgraded at the same time).
As a first step, you have to test subsystems one by one.

Try this to see how fast the CPU and kernel are (including meltdown/spectre

time dd 2>/dev/null if=/dev/zero of=/dev/null bs=1 count=1000000

Then try this to see how fast your disks are for DB operations:

cd /a/directory/on/the/filesystem/you/want/to/test
time bash -c "for((i=0;i<1000;i++)); do dd 2>/dev/null if=/dev/zero of=test bs=1 count=1 conv=fsync;done"
rm test

    Roberto Ragusa    mail at robertoragusa.it