Re: apt: cron.daily necessary?
Jakub Wilk wrote: > * Raphael Geissert , 2009-09-08, 13:28: >>> Since CFQ is the default IO scheduler, this kind of tasks should be >>> launched with "ionice -c3", no ? >> >>But that would introduce a dependency on ionice. An option would be to use >>start-stop-daemon's IO nice capabilities. > > $ dlocate -S /bin/ionice > util-linux: /usr/bin/ionice > > $ apt-cache show util-linux | grep ^Essential > Essential: yes > > Er, right. I guess I need to stop working on init scripts (since ionice is under /usr, any init script using it needs to add a *dependency* on $remote_fs on the LSB header). Sorry for the noise. Cheers, Raphael Geissert -- To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: apt: cron.daily necessary?
* Raphael Geissert , 2009-09-08, 13:28: Since CFQ is the default IO scheduler, this kind of tasks should be launched with "ionice -c3", no ? But that would introduce a dependency on ionice. An option would be to use start-stop-daemon's IO nice capabilities. $ dlocate -S /bin/ionice util-linux: /usr/bin/ionice $ apt-cache show util-linux | grep ^Essential Essential: yes -- Jakub Wilk -- To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: apt: cron.daily necessary?
[Dropping the -amd64 ML as it seems irrelevant] Olivier Bonvalet wrote: > Since CFQ is the default IO scheduler, this kind of tasks should be > launched with "ionice -c3", no ? > But that would introduce a dependency on ionice. An option would be to use start-stop-daemon's IO nice capabilities. Cheers, Raphael Geissert -- To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: apt: cron.daily necessary?
Since CFQ is the default IO scheduler, this kind of tasks should be launched with "ionice -c3", no ? Olivier Lennart Sorensen a écrit : On Tue, Sep 08, 2009 at 01:42:28PM +0200, Hans-J. Ullrich wrote: I would like to discuss and suggest the following thing: On my 64-bit notebook I am using anacron and (of course) apt. In the apt package included is the file /etc/cron.daily/apt, which contents some lines, which are starting a find process. This find process initiated by apt (and I hope, I am right with this information of the initiation source) consumes a lot of harddrive actions for several minutes after boot, which makes the computer at this time rather slow. Of course, it is one of the processes started by anacron. IMO this is an annoying situation for notebook users, as sepeciela , when you just want to start, wanted to do some things quickly, and then shutting down again - just as many notebook users do! My suggestion to this problem are these: 1. delete /etc/cron.daily/apt manually O.k., this can be easily done, but how necessary is this file at all? 2. If this file is not very necessary do not put /etc/cron.daily/apt into the apt-package, but maybe it should be put into some other package (for example cron-apt), or , another opportunity, as a standalone package. 3. put this file to cron.monthly or cron.weekly, or, let it start manually somehow (this third option was just a thought) What do you think? Is there a way and a chance, to improve things? Any feedback will be very welcome. Create file /etc/apt/apt.conf.d/disable_periodic_apt containing: APT::Periodic::Enable=0 Problem solved. -- To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: apt: cron.daily necessary?
On Tue, Sep 08, 2009 at 01:42:28PM +0200, Hans-J. Ullrich wrote: > I would like to discuss and suggest the following thing: > > On my 64-bit notebook I am using anacron and (of course) apt. In the apt > package included is the file /etc/cron.daily/apt, which contents some lines, > which are starting a find process. This find process initiated by apt (and I > hope, I am right with this information of the initiation source) consumes a > lot of harddrive actions for several minutes after boot, which makes the > computer at this time rather slow. > > Of course, it is one of the processes started by anacron. > > IMO this is an annoying situation for notebook users, as sepeciela , when you > just want to start, wanted to do some things quickly, and then shutting down > again - just as many notebook users do! > > My suggestion to this problem are these: > > 1. delete /etc/cron.daily/apt manually > > O.k., this can be easily done, but how necessary is this file at all? > > > 2. If this file is not very necessary do not put /etc/cron.daily/apt into the > apt-package, but maybe it should be put into some other package (for example > cron-apt), or , another opportunity, as a standalone package. > > > 3. put this file to cron.monthly or cron.weekly, or, let it start manually > somehow (this third option was just a thought) > > What do you think? Is there a way and a chance, to improve things? Any > feedback will be very welcome. Create file /etc/apt/apt.conf.d/disable_periodic_apt containing: APT::Periodic::Enable=0 Problem solved. -- Len Sorensen -- To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: apt: cron.daily necessary?
Twas brillig at 13:42:28 08.09.2009 UTC+02 when hans.ullr...@loop.de did gyre and gimble: HU> What do you think? Is there a way and a chance, to improve things? Any HU> feedback will be very welcome. Excerpt from the file itself: # check if the user really wants to do something AutoAptEnable=1 # default is yes eval $(apt-config shell AutoAptEnable APT::Periodic::Enable) if [ $AutoAptEnable -eq 0 ]; then exit 0 fi Just disable it. May be useful to have it disabled by default in DebianEeePC etc. -- http://fossarchy.blogspot.com/ pgpf4cjTQqhfg.pgp Description: PGP signature
apt: cron.daily necessary?
Hi all, I would like to discuss and suggest the following thing: On my 64-bit notebook I am using anacron and (of course) apt. In the apt package included is the file /etc/cron.daily/apt, which contents some lines, which are starting a find process. This find process initiated by apt (and I hope, I am right with this information of the initiation source) consumes a lot of harddrive actions for several minutes after boot, which makes the computer at this time rather slow. Of course, it is one of the processes started by anacron. IMO this is an annoying situation for notebook users, as sepeciela , when you just want to start, wanted to do some things quickly, and then shutting down again - just as many notebook users do! My suggestion to this problem are these: 1. delete /etc/cron.daily/apt manually O.k., this can be easily done, but how necessary is this file at all? 2. If this file is not very necessary do not put /etc/cron.daily/apt into the apt-package, but maybe it should be put into some other package (for example cron-apt), or , another opportunity, as a standalone package. 3. put this file to cron.monthly or cron.weekly, or, let it start manually somehow (this third option was just a thought) What do you think? Is there a way and a chance, to improve things? Any feedback will be very welcome. Best wishes Hans-J. Ullrich -- To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org