Linear Advance - ThomasToka/MarlinFirmware GitHub Wiki
Linear Advance is activated in the firmware with a K value of 0.035.
The range is very small so you need to configure the pattern with 0.01 offset.
You can do your own tests and optimize it by using the gcode from the offical pattern generator:
https://marlinfw.org/tools/lin_advance/k-factor.html
Here are example settings for a basic calibration:
The generated pattern is here: