Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

HOWTO: Speeding up Debian

Share your HowTo, Documentation, Tips and Tricks. Not for support questions!.
Message
Author
User avatar
Hevoos
Posts: 69
Joined: 2007-03-30 18:04

#46 Post by Hevoos »

When I ran sysvconfig I noticed that I have three daemons running that seems to do the same thing, these are:
cron
atd
and anacron

Do I really need all three of them, or can I just remove atd and anacron?

Lou
Posts: 1739
Joined: 2006-05-08 02:15

#47 Post by Lou »

This is up to you, do

$ apt-cache show

for cron, anacron and at

and draw your own conclusions, i opted for letting them run.
Devuan Jessie - IceWM - vimperator - no DM
KISS - Keep It Simple, Stupid

Bulkley
Posts: 6386
Joined: 2006-02-11 18:35
Has thanked: 2 times
Been thanked: 39 times

#48 Post by Bulkley »

Question: do I need ppp and pppconfig? I haven't used a dial-up modem since I switched to adsl which used pppoe. Or, are they mixed somehow?

Lou
Posts: 1739
Joined: 2006-05-08 02:15

#49 Post by Lou »

I don't really know, i didn't touch them just to play it safe. Maybe somebody else will enlighten us :lol:
Devuan Jessie - IceWM - vimperator - no DM
KISS - Keep It Simple, Stupid

User avatar
mzilikazi
Forum Account
Forum Account
Posts: 3282
Joined: 2004-09-16 02:14
Location: Colorado Springs, CO

#50 Post by mzilikazi »

Bulkley wrote:Question: do I need ppp and pppconfig? I haven't used a dial-up modem since I switched to adsl which used pppoe. Or, are they mixed somehow?
They are optional packages.
Debian Sid Laptops:
AMD Athlon(tm) 64 X2 Dual-Core Processor TK-55 / 1.5G
Intel(R) Pentium(R) Dual CPU T2390 @ 1.86GHz / 3G

Bulkley
Posts: 6386
Joined: 2006-02-11 18:35
Has thanked: 2 times
Been thanked: 39 times

#51 Post by Bulkley »

mzilikazi wrote:
They are optional packages.[/quote]

Unfortunately, when I went to remove ppp, it wanted to remove pppoe.

User avatar
mzilikazi
Forum Account
Forum Account
Posts: 3282
Joined: 2004-09-16 02:14
Location: Colorado Springs, CO

#52 Post by mzilikazi »

Doh! Somehow I completely missed that you were now using adsl.
Here's what I probably should have told you:

Code: Select all

apt-cache depends pppoe
pppoe
  Depends: libc6
  Depends: ppp
Debian Sid Laptops:
AMD Athlon(tm) 64 X2 Dual-Core Processor TK-55 / 1.5G
Intel(R) Pentium(R) Dual CPU T2390 @ 1.86GHz / 3G

User avatar
Pobega
Posts: 833
Joined: 2007-01-04 04:30
Location: New York

#53 Post by Pobega »

I have a question: I heard somewhere that if you apt-get -b source xorg <yourwm> that it will be faster and more responsive. Is this true, or is it bologna?
Jabber: pobega@gmail.com
Pronunciation: Poh - Bay - Guh

Lou
Posts: 1739
Joined: 2006-05-08 02:15

#54 Post by Lou »

Never heard of it, let us know :D
Devuan Jessie - IceWM - vimperator - no DM
KISS - Keep It Simple, Stupid

User avatar
Pobega
Posts: 833
Joined: 2007-01-04 04:30
Location: New York

#55 Post by Pobega »

I guess I'll give it a shot when I get my laptop back, I sent it into System76 for repairs. Hopefully I'll have it back by the end of the week.
Jabber: pobega@gmail.com
Pronunciation: Poh - Bay - Guh

lucho115
Posts: 13
Joined: 2005-11-28 14:35

#56 Post by lucho115 »

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
luchox

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

#57 Post by CooSee »

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

User avatar
chrismortimore
Posts: 849
Joined: 2007-04-24 06:34
Location: Edinburgh, UK

#58 Post by chrismortimore »

Hevoos wrote:When I ran sysvconfig I noticed that I have three daemons running that seems to do the same thing, these are:
cron
atd
and anacron

Do I really need all three of them, or can I just remove atd and anacron?
They do different things:
  • cron - a usual cron simply executes a command at regular intervals, and does little thinking about it.
  • at - lets you execute a command at a particular time, or add it to a queue of commands and stuff.
  • anacron - makes sure that the things in cron actually get ran. cron assumes that the computer is on 24/7, so if something is set to run at 03:00 every morning and your computer isn't on, it'll never run. Each time anacron is ran, it checks when the jobs were last ran, and then runs anything that should be done.
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: 849
Joined: 2007-04-24 06:34
Location: Edinburgh, UK

#59 Post by chrismortimore »

Pobega wrote:I have a question: I heard somewhere that if you apt-get -b source xorg <yourwm> that it will be faster and more responsive. Is this true, or is it bologna?
If you set hardware specific compiling options so it's optimised for your machine, it'll be quicker. But trust me on this, it is almost certainly not worth the time and hassle.
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

Kateikyoushi
Posts: 30
Joined: 2007-05-08 00:35

#60 Post by Kateikyoushi »

I second that, considering the compilation time especially in this case, it does not worth the small speed boost.

lucho115
Posts: 13
Joined: 2005-11-28 14:35

#61 Post by lucho115 »

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

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

#62 Post by CooSee »

hallo,

apt-get install rcconf

rcconf

CooSee ' Ya

User avatar
hellfire[bg]
Posts: 499
Joined: 2006-06-21 19:15
Location: Sliven, Bulgaria

#63 Post by hellfire[bg] »

How can i restore locales deleted by locale purge?
...to boldly go where no one has gone before...

User avatar
chrismortimore
Posts: 849
Joined: 2007-04-24 06:34
Location: Edinburgh, UK

#64 Post by chrismortimore »

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

lucho115
Posts: 13
Joined: 2005-11-28 14:35

#65 Post by lucho115 »

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

Post Reply