I have looked into it a bit. I have noticed that some functions were not
inlined in 5.15, but were inlined in 5.4. For example `lzma_literal` and
`lzma_match` (see difference in System.map). After removing
`CONFIG_DEBUG_SECTION_MISMATCH=y` from `debian/rules.d/0-common-vars.mk`
(I am not sure why it is there, maybe a left over for some debugging), I
got those functions to be inlined in 5.15. However while there is some
measurable speed gain, it is very small, and it seems to be a only small
fraction of the issue.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1975688

Title:
  Accessing squashfs with lzma compression is ~16% slower in 5.15 when
  compared to 5.4, on an RPi3 B+

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/1975688/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to