Parallel Startup for KDE.

Andrew Morton akpm at osdl.org
Thu Oct 2 14:35:48 CEST 2003


Oswald Buddenhagen <ossi at kde.org> wrote:
>
> i remember we actually serialized some things in kde, because disk
> trashing slows down the loading process.

Demand paging of executables and shared libraries causes a largely random
pattern of seeking.

Try running mdavise(MADV_WILLNEED) against these things, to force them into
pagecache in a nice single disk slurp.

Linux 2.6 implements posix_fadvise(), which also can be used to populate
pagecache in an IO-optimal fashion.



More information about the Kde-optimize mailing list