Significant performance problem with modprobe

Lauri Kasanen curaga at operamail.com
Wed Jun 15 13:17:33 UTC 2011


> The second thing that popped up in callgrind is the way bb modprobe does
> the modentry caching. Apparently the amount of modentries can blowup
> depending on how you've configured. Actually, this can even be the
> slowest thing depending on the exact thing how things go.
> 
> Please try the inlined patch below.

Hi Timo

The patch was line-wrapped, but after fixing, it sped bb up from 1.9x to
1.78x; less than _unlocked but still measurable. I haven't tried it in
combination with getc_unlocked.

It looks good to me.

- Lauri

-- 
http://www.fastmail.fm - mmm... Fastmail...



More information about the busybox mailing list