Hey there. I’ve been using Fedora 33 for quite some time right now and I since I often switch distributions, I’ve noticed that Fedora’s performance isn’t top notch, heck, it isn’t even close to the “competitors”. Here’s what I am talking about.
I do my daily web development using Docker. Before Fedora 33 got official repository for Docker CE, I’ve used moby-engine, but performance is more or less the same.
MySQL (native) and Docker are having really bad I/O performance. I don’t want this thread to be too long, but here’s what’s the problem:
I am importing this MySQL dump (https://raw.githubusercontent.com/invoiceninja/invoiceninja/v5-develop/database/schema/db-ninja-01-schema.dump).
All these numbers are tested on the same hardware (not virtualisation). Here’s what I was able to get:
Fedora 33 (5,10, ext4, native MariaDB (not Docker)) ~ 2500ms
Fedora 33 (5.10, ext4, Docker MariaDB) ~ 3200+ ms
Arch Linux (5.10, ext4, Docker) ~ 420ms
WSL2 Ubuntu 20.04 (4.2, Docker) ~ 560ms.
Ubuntu 18.04 ~1000ms.
Can someone guide me, what’s the deal here?
Here’s what I’ve tried:
- I thought Fedora might be “bloated” with Workstation edition, so I tried server netinstall) - +100ms improvement.
- Installing Vanilla kernel, didn’t help - Kernel Vanilla Repositories - Fedora Project Wiki
What could be the deal here? I really love Fedora & don’t want to give it up, so… I’d love to find out what’s wrong here.
In case you need to see dockerfiles - invoiceninja5-dockerfiles/docker-compose.yml at master · beganovich/invoiceninja5-dockerfiles · GitHub
For the sake of testing I still have Fedora 33 (btrfs) and WSL2 Ubuntu 20.04 installed, so I can debug stuff.
Thanks in advance!