Debian Bug report logs - #436785
partman: Support relatime mount option and possibly enable by default

Package: partman-base; Maintainer for partman-base is Debian Install System Team <debian-boot@lists.debian.org>; Source for partman-base is src:partman-base.

Reported by: Frans Pop <elendil@planet.nl>

Date: Wed, 8 Aug 2007 23:15:08 UTC

Severity: wishlist

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian Install System Team <debian-boot@lists.debian.org>:
Bug#436785; Package partman-base. Full text and rfc822 format available.

Acknowledgement sent to Frans Pop <elendil@planet.nl>:
New Bug report received and forwarded. Copy sent to Debian Install System Team <debian-boot@lists.debian.org>. Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Frans Pop <elendil@planet.nl>
To: submit@bugs.debian.org
Subject: partman: Support relatime mount option and possibly enable by default
Date: Thu, 9 Aug 2007 01:14:08 +0200
[Message part 1 (text/plain, inline)]
Package: partman-base
Severity: wishlist

You should probably look at setting the new 'relatime' mount option by 
default for new installations. It's supported in current kernels and mount.
It should st least be supported in partman.
See [1] for a very interesting discussion about relatime.

For the "multi" recipes it could even be an option to set 'noatime' by 
default for some filesystems (like /boot and /usr).
I understand Ubuntu is possibly already doing this.

Filing the BR against partman-base as this affects multiple partman 
components. This will need some additional research as I have not checked 
if all filesystems support relatime.

Possibly in the future 'relatime' can be enabled by default using a kernel 
option.

Cheers,
FJP

[1] http://kerneltrap.org/node/14148
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Install System Team <debian-boot@lists.debian.org>:
Bug#436785; Package partman-base. Full text and rfc822 format available.

Acknowledgement sent to Petter Reinholdtsen <pere@hungry.com>:
Extra info received and forwarded to list. Copy sent to Debian Install System Team <debian-boot@lists.debian.org>. Full text and rfc822 format available.

Message #10 received at 436785@bugs.debian.org (full text, mbox):

From: Petter Reinholdtsen <pere@hungry.com>
To: 436785@bugs.debian.org
Subject: partman: Support relatime mount option and possibly enable by default
Date: Thu, 09 Aug 2007 10:46:31 +0200
As atime is used by popularity-contest to collect information on what
packages has been used the last week, it might be good to check how
such change affect popularity-contest.

Happy hacking,
-- 
Petter Reinholdtsen



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Install System Team <debian-boot@lists.debian.org>:
Bug#436785; Package partman-base. Full text and rfc822 format available.

Acknowledgement sent to Sven Luther <sven@powerlinux.fr>:
Extra info received and forwarded to list. Copy sent to Debian Install System Team <debian-boot@lists.debian.org>. Full text and rfc822 format available.

Message #15 received at 436785@bugs.debian.org (full text, mbox):

From: Sven Luther <sven@powerlinux.fr>
To: Petter Reinholdtsen <pere@hungry.com>, 436785@bugs.debian.org
Subject: Re: Bug#436785: partman: Support relatime mount option and possibly enable by default
Date: Thu, 9 Aug 2007 10:54:32 +0200
On Thu, Aug 09, 2007 at 10:46:31AM +0200, Petter Reinholdtsen wrote:
> 
> As atime is used by popularity-contest to collect information on what
> packages has been used the last week, it might be good to check how
> such change affect popularity-contest.

Also notice :

  http://linux.slashdot.org/linux/07/08/08/1810243.shtml

where linus seem to critic atime, and say it being removed will mean a
huge speedup.

Friendly,

Sven Luther



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Install System Team <debian-boot@lists.debian.org>:
Bug#436785; Package partman-base. Full text and rfc822 format available.

Acknowledgement sent to Frans Pop <elendil@planet.nl>:
Extra info received and forwarded to list. Copy sent to Debian Install System Team <debian-boot@lists.debian.org>. Full text and rfc822 format available.

Message #20 received at 436785@bugs.debian.org (full text, mbox):

From: Frans Pop <elendil@planet.nl>
To: 436785@bugs.debian.org
Subject: #436785 partman: Support relatime mount option and possibly enable by default
Date: Sat, 11 Aug 2007 03:52:27 +0200
[Message part 1 (text/plain, inline)]
(Please CC me as bug submitter!)

Petter Reinholdtsen wrote:
> As atime is used by popularity-contest to collect information on what
> packages has been used the last week, it might be good to check how
> such change affect popularity-contest.

Please read the last posts of the article I referred to. relatime is being 
changed a bit so it will support such uses of atime. The tread also goes 
into use cases such as mutt and tmpreaper.

It may be that in the future the updates will be done less frequently the 
less often a file is used [1].
With latest patch atime will be updated if it is more than a day old (see 
follow-ups to [1]), which should be good enough for popcon.

Note that this means that the description Colin added for relatime will not 
really be correct anymore.

Note also that using atime as indicator when an application is "used" is 
broken by definition. A grep on /usr/bin/* would result in all apps being 
marked as "used"...
Anyway, I doubt I'd consider popcon a valid reason to block such a change 
given the huge advantages it has.

[1] http://lkml.org/lkml/2007/8/5/137
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Install System Team <debian-boot@lists.debian.org>:
Bug#436785; Package partman-base. Full text and rfc822 format available.

Acknowledgement sent to Colin Watson <cjwatson@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Install System Team <debian-boot@lists.debian.org>. Full text and rfc822 format available.

Message #25 received at 436785@bugs.debian.org (full text, mbox):

From: Colin Watson <cjwatson@debian.org>
To: Frans Pop <elendil@planet.nl>
Cc: 436785@bugs.debian.org
Subject: Re: partman: Support relatime mount option and possibly enable by default
Date: Sat, 20 Oct 2007 14:03:04 +0100
On Thu, Aug 09, 2007 at 01:14:08AM +0200, Frans Pop wrote:
> For the "multi" recipes it could even be an option to set 'noatime' by 
> default for some filesystems (like /boot and /usr).
> I understand Ubuntu is possibly already doing this.

FWIW, while Ingo Molnar made this claim, it isn't true. I don't know
where he (or whoever he was quoting) got this from.

Cheers,

-- 
Colin Watson                                       [cjwatson@debian.org]




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Install System Team <debian-boot@lists.debian.org>:
Bug#436785; Package partman-base. Full text and rfc822 format available.

Acknowledgement sent to Frans Pop <elendil@planet.nl>:
Extra info received and forwarded to list. Copy sent to Debian Install System Team <debian-boot@lists.debian.org>. Full text and rfc822 format available.

Message #30 received at 436785@bugs.debian.org (full text, mbox):

From: Frans Pop <elendil@planet.nl>
To: 436785@bugs.debian.org
Subject: Bug#436785: partman: Support relatime mount option and possibly enable by default
Date: Mon, 5 Nov 2007 13:04:21 +0100
Just saw a comment on linux-kernel that "fedora 8 will have the relatime 
option on by default for all filesystems".




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Install System Team <debian-boot@lists.debian.org>:
Bug#436785; Package partman-base. (Tue, 24 Apr 2012 20:54:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Matt Taggart <taggart@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Install System Team <debian-boot@lists.debian.org>. (Tue, 24 Apr 2012 20:54:02 GMT) Full text and rfc822 format available.

Message #35 received at 436785@bugs.debian.org (full text, mbox):

From: Matt Taggart <taggart@debian.org>
To: 436785@bugs.debian.org
Subject: partman: relatime default
Date: Tue, 24 Apr 2012 13:40:41 -0700
According to #481653, relatime became the default option starting in
2.6.30. So hopefully partman desn't need to do anything.

There is the page in manual partitioning that let you select options.
Probably that page should indicate relatime is the default and also
have the atime and noatime options available (I don't know if
strictatime and nostrictatime are needed).

-- 
Matt Taggart
taggart@debian.org




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Install System Team <debian-boot@lists.debian.org>:
Bug#436785; Package partman-base. (Tue, 24 Apr 2012 21:39:23 GMT) Full text and rfc822 format available.

Acknowledgement sent to Matt Taggart <taggart@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Install System Team <debian-boot@lists.debian.org>. (Tue, 24 Apr 2012 21:39:37 GMT) Full text and rfc822 format available.

Message #40 received at 436785@bugs.debian.org (full text, mbox):

From: Matt Taggart <taggart@debian.org>
To: 436785@bugs.debian.org
Subject: partman: mount options
Date: Tue, 24 Apr 2012 14:33:50 -0700
Thanks to elmig in #debian-boot here is a list of current mount options
on the manual partitioning page

  noatime, relatime, nodev, nosuid, noexec, ro, sync, usrquota,
  grpquota, user_xattr

Since relatime is the default now, I think at least having an "atime"
to override that is needed. "relatime" could also go away given that
there is no "async", "exec" , etc.

Here are some other things that might be useful to adjust (but some
might give users enough rope to hang themselves and be better changed
by editing fstab)

nodiratime - this option is implied by noatime (but I don't know if
it's implied by relatime). I don't know what the default is.

nobarrier - Barriers are on by default, and you'd probably only disable
them if you don't care about your data (which you might not depending
on what the server is used for)

data={journal|ordered|writeback} - ordered is the default

commit - number of seconds data/metadata should be sync'd, default is 5.
(variable, not a on/off thing)

{min|max}_batch_time - controls how ext4 batches up writes. (variable,
not an on/off thing)

For some of these it might not make sense to have them on the same
checklist page, and maybe some are only available via preseeding.

-- 
Matt Taggart
taggart@debian.org




Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Apr 20 20:59:55 2014; Machine Name: beach.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.