xfs
[Top] [All Lists]

Re: Recommened XFS settings for a laptop

To: linux-xfs@xxxxxxxxxxx
Subject: Re: Recommened XFS settings for a laptop
From: Ethan Benson <erbenson@xxxxxxxxxx>
Date: Mon, 22 Mar 2004 22:55:51 -0900
In-reply-to: <200403221626.41593.te@macnews.de>
Mail-copies-to: nobody
Mail-followup-to: linux-xfs@xxxxxxxxxxx
References: <200403221626.41593.te@macnews.de>
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.3.28i
On Mon, Mar 22, 2004 at 04:26:41PM +0100, Tobias Eichert wrote:
> Hello XFS ML,
> 
> I use XFS on an IBM Thinkpad with a 60GB harddisk. My question is:
> Are there any recommended settings for using XFS on a laptop?
> 
> Last time I started an OpenGL app in fullscreen mode I experienced a system 
> freeze (couldn't even switch to a console to kill that process) and so I had 
> to do a system restart without unmounting my partitions in a friendly 
> manner. ;)
> After everything was up and running again I noticed that KDE had a different 
> look&feel - for example, colors and font sizes changed to their default 
> values (which makes me believe that some of the config files got corrupted 
> and KDE using the default ones). This assumption is stressed by the fact 
> that, on a previous installation and system freeze I indeed had corrupted kde 
> config files (using XFS).
gnome/kde tend to be bad about holding various config files open and
writing to them frequently, so i would recommend using chattr -R +S on
your .kde directory and other config directories/files.  that should
ensure they never get blocks of NUL bytes on bad shutdowns.

> Are there any recommeded settings (especially mount and sysctl options) for 
> XFS (on a laptop)? Note that this system freeze isn't really laptop specific 
> (why should it be? ;)) but if there are XFS-on-a-laptop users on this list 
> I'd really appreciate some hints, tipps and tricks for running XFS as stable 
> as possible. What about journalling / ordered data modes - commit intervalls, 
> noatime, etc.. ?

noatime is popular on laptops to help keep the disk spun down longer.

-- 
Ethan Benson
http://www.alaska.net/~erbenson/

-- Attached file included as plaintext by Ecartis --

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iEYEARECAAYFAkBf7YcACgkQJKx7GixEevwwEwCeOppDWX6vsQH7iw++y/He/LSI
XAUAnjCcIW8XCE7YEIpmkk4tIuIWnsPa
=vLfd
-----END PGP SIGNATURE-----



<Prev in Thread] Current Thread [Next in Thread>