I made another alternative: Let update-binfmts maintain a cache of the strings it would write to $PROCDIR/register. At boot time just write those strings into $PROCDIR/register, and only run the full update- binfmts --enable if the cache is incomplete.
This way the whole format and DB parsing is kept in one place as before. https://code.launchpad.net/~tormodvolden/binfmt-support/bootcache The gain in boot performance can be seen on the bootchart diagram. One seconds-long red chunk less! (If you test this with the perl machinery already loaded, you won't see much difference.) ** Attachment added: "bootchart-before-and-after.png" http://launchpadlibrarian.net/31741944/bootchart-before-and-after.png ** Branch linked: lp:~tormodvolden/binfmt-support/bootcache -- update-binfmts is slow on boot https://bugs.launchpad.net/bugs/320822 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
