I have freshly installed Ubuntu 22.04 on my Macbook Air 13 Inch Mid-2013. I enabled full disk encryption in the setup process (CPU supports AES-NI, all latest updates installed).
When starting programs it takes very long for them to start up (e.g. Firefox). Also commands in the terminal run very long (e.g. a few minutes for apt install tmux
) - which should be quite fast. It is to a degree that the system is not usable anymore.
Some investigation
Transferring single files is fast:
dd if=/dev/zero of=/home/admini/temp/test.img bs=5GB count=1 oflag=dsync
results in speeds of 480 MB/s
After a bit of digging I notices atop showing low IO performance at times when I also experience a slow system. However, if I run the dd command above, this does not slow down the system. Only certain actions on my computer do (e.g. apt install ...
)
atop while experiencing slow performance (while updating Firefox via the build in Software Center via snap):Output of atop
LVM sda3_crypt busy 88%LVM gubuntu-root busy 88%DSK sda busy 91%
MB/s read and write are only around 0.0 - 0.2 MB/s. CPU usage at 1%. Memory is 7.7 GB free.
It looks like there is some issue with the SSD, Ubuntu & encryption - however I'm not able to figure out whats going on here and how to fix it. Can you help?