upstart problems

Jakub 'Livio' Rusinek jakub.rusinek at gmail.com
Sat Mar 22 19:08:48 UTC 2008


Dnia 22-03-2008, sob o godzinie 19:01 +0100, Mark pisze:
> Oke, i did some more testing now and i got GDM to boot up way quicker
> than ever before. (on fedora and in my experience) in
> /etc/event.d/prefdm i commented out all lines so that i can control
> everything myself in a init script.
> 
> In /etc/rc5/d i added a script with the name:
> S27startgdm (chmod to 777) with this as the content: (don't know if
> it's all good but works)
> 
> #!/bin/sh
> 
> case "$1" in
>   start)
>     exec /etc/X11/prefdm -nodaemon
>     ;;
>   stop)
> 
>     ;;
>   *)
>     echo "Usage: $(basename $0) <start|stop>"
>     ;;
> esac
> 
> Try it out yourself!
> Now to speed up things more you can do a few other things which i will
> also all test out
> 
> 1. Add preload (just added here)
> 2. disable services that you don't use
> 3. customize the kernel for your needs only (advanced stuff)
> 
> For No. 3 that is a hard one which i'm gonna try to do now.. most
> speedups can likely be gained in there because the kernel is taking up
> a lot of time at boot and udev than hooks in a lot of stuff in the
> kernel. If you build all the modules in that udev includes than you
> get a lot speedups there.
> 
> This is getting more interesting by the minute ^_^

S05kudzu
S08iptables
S13irqbalance
S13rpcbind
S25fuse
S26rsyslog
S26udev-post
S27auditd
S27messagebus
S44acpid
S90ConsoleKit
S90crond
S95atd
S98haldaemon

<. here I can safely put GDM

S98NetworkManager
S98wine
S99anacron
S99local

I'm not sure which crons are needed, but it doesn't matter.

Add some kill command to the stop function :> .

-- 
Jakub 'Livio' Rusinek
http://liviopl.jogger.pl/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: To jest cz??? wiadomo?ci podpisana cyfrowo
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20080322/06751229/attachment.sig>


More information about the fedora-devel-list mailing list