Re: apt: cron.daily necessary?
Since CFQ is the default IO scheduler, this kind of tasks should be
launched with "ionice -c3", no ?
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: