Boot speedup with readahead

Panu Matilainen pmatilai at laiskiainen.org
Thu Sep 11 08:34:10 UTC 2008


On Wed, 10 Sep 2008, Seth Vidal wrote:

> On Wed, 2008-09-10 at 14:14 -0400, Colin Walters wrote:
>> On Tue, Sep 9, 2008 at 5:33 PM, Seth Vidal <skvidal at fedoraproject.org> wrote:
>>>
>>> Here's a proof of concept plugin:
>>>
>>> http://skvidal.fedorapeople.org/misc/post-transaction-actions/
>>
>> Ok cool - with one small fix to the plugin, this simple action:
>
> Thank you, I've applied this to the one I uploaded above.
>
> So this seems to work - now the question is - should we push for this to
> go into rpm instead?

Not instead, but to rpm *too*, yes.

Quite obviously an action that's currently done from say %post script 
should stay at rpm level, moving some things to be only done once per 
transaction is just an optimization really. But yum knows a lot more about 
the surrounding world than rpm does, such as which repository a package 
came from which is something rpm has no clue about, and thus it can do 
things in post-transaction that rpm simply could not do. I don't have an 
example use-case in mind atm but I'm sure somebody can come up with some 
relatively sane example ;)

 	- Panu -




More information about the fedora-devel-list mailing list