Hi list!

I tried to find out if preloading can improve startup time if you use
autologin (=no login screen, KDE gets started immediately). With just
one small modification I managed to save 11.6 seconds on my system,
bringing the time from 71 seconds down to 59.4!

This would certainly be a great thing for the 1CD install, so I would
like you to test this. I want to see if it is really that easy to
improve performance.

Setup:
- activate autologin for a user that uses KDE
- Insert a command in /etc/init.d/boot.localfs. Change

>  rc_status
>  mount -av -t nonfs,noproc,nodevpts,nosmbfs -O no_netdev
>  rc_status -v1 -r
>  ;;
>stop)

to

> rc_status
> mount -av -t nonfs,noproc,nodevpts,nosmbfs -O no_netdev
> /usr/bin/ionice -n6 /sbin/preload < /var/cache/preload/kde.preload &
> rc_status -v1 -r
> ;;
>stop)

The only remaining problem is timing. A stopwatch is too unprecise, so I
have attached a file that you should place in /opt/kde3/share/autostart.
When the system starts, it will open a small window that shows the
current uptime of the system (first number, ignore the second one). I
would really appreciate your feedback!

Cheers
nordi

Attachment: timer.desktop
Description: application/desktop

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to