HOWTO: Speeding up Debian

Share your own howto's etc. Not for support questions!

Postby lucho115 » 2007-05-09 19:48

CooSee wrote:
lucho115 wrote:i use sysvconfig , rcconf and sysv-rc-conf but i cant remove from the init the avahi and hal daemons, where i have to look to disable to load at boot time, anybod knows?
thks


hallo,

/etc/default/avahi-daemon


CooSee ' Ya


I use this file yet, i config like this:

Code: Select all
AVAHI_DAEMON_START=0


but it still start at boot time.

With hal i use in /etc/default/hal this code
Code: Select all
 DAEMON_OPTS=NO


but it still start at boot time.

Any other tip??
luchox
lucho115
 
Posts: 13
Joined: 2005-11-28 14:35

Postby CooSee » 2007-05-09 20:33

hallo,

apt-get install rcconf

rcconf

CooSee ' Ya
CooSee
 
Posts: 15
Joined: 2004-09-15 15:50

Postby hellfire[bg] » 2007-05-10 05:59

How can i restore locales deleted by locale purge?
...to boldly go where no one has gone before...
User avatar
hellfire[bg]
 
Posts: 499
Joined: 2006-06-21 19:15
Location: Sliven, Bulgaria

Postby chrismortimore » 2007-05-10 06:52

hellfire[bg] wrote:How can i restore locales deleted by locale purge?
Set the locales you want in /etc/locale.gen, and then run locale-gen, that should do it.
Desktop: AMD Athlon64 3800+ Venice Core, 2GB PC3200, 5x320GB WD 7200rpm Caviar RE2 (RAID5), Nvidia 6600GT 256MB
Laptop: Intel Pentium M 1.5GHz, 512MB PC2700, 60GB 5400rpm IBM TravelStar, Nvidia 5200Go 64MB
User avatar
chrismortimore
 
Posts: 862
Joined: 2007-04-24 06:34
Location: Edinburgh, UK

Postby lucho115 » 2007-05-10 14:42

CooSee wrote:hallo,

apt-get install rcconf

rcconf

CooSee ' Ya


OK, thanks but if you look my first post i said " i use sysvconfig , rcconf and sysv-rc-conf but i cant remove ...."
I remove avahi and hal at rc levels and at rcS, but still up with the system boot.
Any other tip??
luchox
lucho115
 
Posts: 13
Joined: 2005-11-28 14:35

Postby chrismortimore » 2007-05-10 14:52

lucho115 wrote:OK, thanks but if you look my first post i said " i use sysvconfig , rcconf and sysv-rc-conf but i cant remove ...."
I remove avahi and hal at rc levels and at rcS, but still up with the system boot.
Any other tip??
What else do you have running? Some other daemons depend on it and start it if they need it.
Desktop: AMD Athlon64 3800+ Venice Core, 2GB PC3200, 5x320GB WD 7200rpm Caviar RE2 (RAID5), Nvidia 6600GT 256MB
Laptop: Intel Pentium M 1.5GHz, 512MB PC2700, 60GB 5400rpm IBM TravelStar, Nvidia 5200Go 64MB
User avatar
chrismortimore
 
Posts: 862
Joined: 2007-04-24 06:34
Location: Edinburgh, UK

Postby Bulkley » 2007-05-12 05:35

Why does my boot try to start some modules twice? I can't say which because the screen goes by too fast, but there are seven or eight modules that it attempts to double load. This has only been happening with the 2.4.6-18.3 & 4 kernels. I've hunted through /var/log but haven't seen it. Any idea which log I should look in?

I've been trying to streamline the boot as much as possible and would like to stop the duplication.
Bulkley
 
Posts: 5844
Joined: 2006-02-11 18:35

Postby onemyndseye » 2007-05-13 07:27

make sure the bootlogd package is installed. then edit /etc/default/bootlogd as root to enable the service.

issue the following as root:

ln -s /etc/init.d/bootlogd /etc/rcS.d/S00bootlogd


On next boot youll find a log in /var/log/boot of everything that was output to the screen during bootup. :)


Also, /etc/modules (or maybe /etc/modules-<kernel version>) is the list of all modules loaded at boot by modutils and the like.. though other init scripts in /etc/rc*.d may also be trying to load your dupes... Look through the bootlog and youll be able to narrow it down to what may be loading them and when.

-Justin
One Mynds Eye
onemyndseye
 
Posts: 17
Joined: 2007-02-09 11:24

Postby Pobega » 2007-05-13 20:03

Would removing the unused xserver dependencies make Debian's binary xorg go any faster?

i A xserver-xorg-video-tga - X.Org X server -- TGA display driver
i A xserver-xorg-video-trident - X.Org X server -- Trident display driver
i A xserver-xorg-video-tseng - X.Org X server -- Tseng display driver
i A xserver-xorg-video-v4l - X.Org X server -- Video 4 Linux display dr
i A xserver-xorg-video-vesa - X.Org X server -- VESA display driver
i A xserver-xorg-video-vga - X.Org X server -- VGA display driver
i A xserver-xorg-video-via - X.Org X server -- VIA display driver
i A xserver-xorg-video-vmware - X.Org X server -- VMware display driver
i A xserver-xorg-video-voodoo - X.Org X server
Jabber: pobega@gmail.com
Pronunciation: Poh - Bay - Guh
User avatar
Pobega
 
Posts: 870
Joined: 2007-01-04 04:30
Location: New York

Postby Lou » 2007-05-13 22:50

I've never done it, it seems you're gonna have to go "where no man has gone before" [star trek music background]
Devuan Jessie - IceWM - vimperator - no DM
KISS - Keep It Simple, Stupid
Lou
 
Posts: 1775
Joined: 2006-05-08 02:15

Postby Pobega » 2007-05-14 00:04

After running it through aptitude --simulate, it seems that removing any of those drivers would break the xserver-xorg package. I guess I'll just leave it alone then.
Jabber: pobega@gmail.com
Pronunciation: Poh - Bay - Guh
User avatar
Pobega
 
Posts: 870
Joined: 2007-01-04 04:30
Location: New York

Postby Bulkley » 2007-05-14 00:32

onemyndseye wrote:make sure the bootlogd package is installed. then edit /etc/default/bootlogd as root to enable the service.

issue the following as root:

ln -s /etc/init.d/bootlogd /etc/rcS.d/S00bootlogd


Thanks. I was able to adjust a couple of things in /etc/modules. Here's what puzzles me.

Code: Select all
Sun May 13 17:04:30 2007: Cleaning up ifupdown....
Sun May 13 17:04:30 2007: Loading kernel module ide-floppy.
Sun May 13 17:04:30 2007: Loading kernel module ide-cd.
Sun May 13 17:04:30 2007: Loading kernel module psmouse.
Sun May 13 17:04:30 2007: Loading kernel module mousedev.
Sun May 13 17:04:30 2007: Loading kernel module usbhid.
Sun May 13 17:04:30 2007: Loading kernel module i2c-isa.
Sun May 13 17:04:30 2007: Loading kernel module eeprom.
Sun May 13 17:04:30 2007: Loading kernel module w83627ehf.
Sun May 13 17:04:30 2007: Loading device-mapper support.
Sun May 13 17:04:30 2007: Will now check all file systems.

. . . . . . .

Sun May 13 17:04:30 2007: Detecting hardware...Discovered hardware for these modules: amd64_agp i2c_viapro tulip sata_via via82cxxx snd_via82xx uhci_hcd ehci_hcd
Sun May 13 17:04:30 2007: ^[[33m*^[[39;49m Skipping already loaded module amd64_agp.
Sun May 13 17:04:30 2007: ^[[33m*^[[39;49m Skipping already loaded module i2c_viapro.
Sun May 13 17:04:30 2007: ^[[33m*^[[39;49m Skipping already loaded module tulip.
Sun May 13 17:04:31 2007: ^[[33m*^[[39;49m Skipping already loaded module sata_via.
Sun May 13 17:04:31 2007: ^[[33m*^[[39;49m Skipping already loaded module via82cxxx.
Sun May 13 17:04:31 2007: ^[[33m*^[[39;49m Skipping already loaded module snd_via82xx.
Sun May 13 17:04:31 2007: ^[[33m*^[[39;49m Skipping already loaded module uhci_hcd.
Sun May 13 17:04:31 2007: ^[[33m*^[[39;49m Skipping already loaded module ehci_hcd.


It looks to me that the kernel is loading, or has pre-loaded, modules and then hardware detection is trying to do it all over again. Or am I mis-interpreting?
Bulkley
 
Posts: 5844
Joined: 2006-02-11 18:35

Postby sinical » 2007-05-14 04:43

Speaking of preloading.. no one has mentioned prelinking yet so ..

Code: Select all
sudo apt-get update && sudo updatedb && sudo apt-get install prelink


Then edit /etc/default/prelink changing

Code: Select all
PRELINKING=unknown
to
Code: Select all
PRELINKING=yes
and
Code: Select all
PRELINK_FULL_TIME_INTERVAL=14
to
Code: Select all
PRELINK_FULL_TIME_INTERVAL=7


then run
Code: Select all
sudo /etc/cron.daily/prelink
Every cloud has a silver lining, except for the mushroom shaped ones, which have a lining of Strontium 90.
---------------------------------------------
umop apisdn
User avatar
sinical
 
Posts: 1022
Joined: 2007-03-25 11:52

Postby hellfire[bg] » 2007-05-14 05:28

After running it through aptitude --simulate, it seems that removing any of those drivers would break the xserver-xorg package. I guess I'll just leave it alone then.

I removed them with apt (two or three months ago) - i had no problems with xorg.
...to boldly go where no one has gone before...
User avatar
hellfire[bg]
 
Posts: 499
Joined: 2006-06-21 19:15
Location: Sliven, Bulgaria

Postby Pobega » 2007-05-14 10:08

hellfire[bg] wrote:
After running it through aptitude --simulate, it seems that removing any of those drivers would break the xserver-xorg package. I guess I'll just leave it alone then.

I removed them with apt (two or three months ago) - i had no problems with xorg.


Did it increase your speed though?

And is there any way to tell which ones are in use so I don't remove something I'm using?
Jabber: pobega@gmail.com
Pronunciation: Poh - Bay - Guh
User avatar
Pobega
 
Posts: 870
Joined: 2007-01-04 04:30
Location: New York

PreviousNext

Return to Docs, Howtos, Tips & Tricks

Who is online

Users browsing this forum: No registered users and 3 guests

fashionable