[PATCH 0/2] downgrade noisy debug calls in block devices and ramfs

Ahmad Fatoum a.fatoum at pengutronix.de
Mon Oct 28 09:44:07 PDT 2024


Hi,

On 28.10.24 17:17, Stefan Kerkmann wrote:
> These two patches are the outcome of an investigation why loading a
> fitimage from an eMMC took nearly 7s - the sheer amount of generated
> debugging messages slowed down the system by a factor of ~21 with
> KConfig options:
> 
> 	CONFIG_COMPILE_LOGLEVEL=7
> 	CONFIG_DEFAULT_LOGLEVEL=6
> 
> Which is the current default combination for barebox.
> 
> Before:
> 
> 	Booting entry 'system0'
> 	FIT: Reading time: 6722 ms
> 
> After:
> 
> 	Booting entry 'system0'
> 	FIT: Reading time: 324 ms

This is the time with these two patches applied or with
compile log level changed?

Cheers,
Ahmad

> 
> Signed-off-by: Stefan Kerkmann <s.kerkmann at pengutronix.de>
> ---
> Stefan Kerkmann (2):
>       block: downgrade noisy debug calls to verbose debug
>       fs: ramfs: downgrade noisy debug calls to verbose debug
> 
>  common/block.c |  4 ++--
>  fs/ramfs.c     | 10 +++++-----
>  2 files changed, 7 insertions(+), 7 deletions(-)
> ---
> base-commit: 59658c877bcc605fe3ca36653b4f40f57856b81a
> change-id: 20241028-fix-noisy-debug-calls-a6d6185be705
> 
> Best regards,


-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list