[Lunar-commits] r22395 - in moonbase/trunk/utils: . preload preload/init.d
Auke Kok
sofar at lunar-linux.org
Sat Dec 2 07:01:53 CET 2006
Author: sofar
Date: 2006-12-02 07:01:53 +0100 (Sat, 02 Dec 2006)
New Revision: 22395
Added:
moonbase/trunk/utils/preload/
moonbase/trunk/utils/preload/BUILD
moonbase/trunk/utils/preload/DETAILS
moonbase/trunk/utils/preload/init.d/
moonbase/trunk/utils/preload/init.d/preload
Log:
adding preload - start this and startup time will reduce because preload
will attempt to load all often-used binaries in memory once an application
starts. I have noticed a slight but significant change at boot even with
minimal programs started already, so it does help, but uses some memory.
Added: moonbase/trunk/utils/preload/BUILD
===================================================================
--- moonbase/trunk/utils/preload/BUILD (rev 0)
+++ moonbase/trunk/utils/preload/BUILD 2006-12-02 06:01:53 UTC (rev 22395)
@@ -0,0 +1,7 @@
+(
+
+ sedit 's/install-data-am: install-initdSCRIPTS/:install-data-am: /' Makefile.in &&
+ default_build &&
+ mkdir -p /var/lib/preload
+
+) > $C_FIFO 2>&1
Added: moonbase/trunk/utils/preload/DETAILS
===================================================================
--- moonbase/trunk/utils/preload/DETAILS (rev 0)
+++ moonbase/trunk/utils/preload/DETAILS 2006-12-02 06:01:53 UTC (rev 22395)
@@ -0,0 +1,14 @@
+ MODULE=preload
+ VERSION=0.4
+ SOURCE=$MODULE-$VERSION.tar.gz
+ SOURCE_URL=$SFORGE_URL/$MODULE
+ SOURCE_VFY=sha1:24ed2fcbb0920775d8bbbe79f85a1365086f9b1f
+ WEB_SITE=http://sourceforge.net/projects/preload
+ ENTERED=20061130
+ UPDATED=20061130
+ SHORT="Speeds up application starting by predictive preloading files"
+cat << EOF
+preload monitors and registers which files applications use a lot and
+preloads them into memory, usually speeding up startup times after several
+runs.
+EOF
Added: moonbase/trunk/utils/preload/init.d/preload
===================================================================
--- moonbase/trunk/utils/preload/init.d/preload (rev 0)
+++ moonbase/trunk/utils/preload/init.d/preload 2006-12-02 06:01:53 UTC (rev 22395)
@@ -0,0 +1,10 @@
+#!/bin/bash
+#
+# Startup script for dbus
+#
+# chkconfig: 2345 05 95
+# description: speed up startup times for aplications
+# processname: preload
+# pidfile: /var/run/preload.pid
+
+. /lib/lsb/init-functions $1
More information about the Lunar-commits
mailing list