FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu Kernel Team

 
 
LinkBack Thread Tools
 
Old 12-31-2008, 05:58 PM
Tim Gardner
 
Default My experiences with ext4 on Jaunty

Ext4 is now supported as a stable file system by the Jaunty 2.6.28 kernel.

I'm really impressed with ext4. The 2 most improved features that I
immediately noticed were file removal, and (I assume) file creation.

In the course of my work flow I often remove whole kernel trees and all
of the compiled objects. Under ext3 removing 228K files could take as
long as 5 minutes on a relatively fast disk (98 Mbyte/sec, Supermicro
dual quad core @ 2.40GHz). Under ext4 it takes about 15 _seconds_.

Kernel build performance also improved dramatically, an improvement that
I assume is largely attributable to file creation and write performance.
Under ext3 a build cycle for all i386/amd64 flavours typically took 40
minutes with a populated ccache. Under ext4 its now taking about 20 minutes.

I can't say much about stability, though I've been using ext4 on my
primary build server for several days. It has performed flawlessly, but
absence of evidence is not evidence of absence.

In order to enjoy the full benefits of ext4 you must format a partition
using mkfs.ext4. Here are a couple of articles that I read about
migrating to ext4:

http://www.ibm.com/developerworks/linux/library/l-ext4/index.html
http://kernelnewbies.org/Ext4

Creating an ext4 file system in Jaunty is a bit difficult because its
not an option supported (yet) by the installers, nor does grub 1 support
booting from an ext4 file system. About your only choice is to format an
existing non-boot partition, which I did in the following way:

1) Install from scratch using the manual partitioning method wherein
/home is mounted on a separate partition.

2) 'sudo su -' and set a root password. Exit all the way out to a login
prompt, then login directly as root.

3) deluser on the one account whose home directory is on /home

4) 'umount /home', mkfs.ext4 on the device upon which /home was mounted,
e.g. 'mkfs.ext4 /dev/sda3'

5) Determine the new volume ID and replace the current value in
/etc/fstab, e.g., 'vol_id --uuid /dev/sda3'

6) 'mount /home' and recreate your user info using adduser.

Simple, huh? In retrospect there are simpler ways of dealing with the
account on /home, like temporarily moving it to someplace on /, but this
is the way I did it.

rtg
--
Tim Gardner tim.gardner@canonical.com

--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team
 
Old 01-08-2009, 07:14 PM
Colin Watson
 
Default My experiences with ext4 on Jaunty

On Wed, Dec 31, 2008 at 11:58:18AM -0700, Tim Gardner wrote:
> Creating an ext4 file system in Jaunty is a bit difficult because its
> not an option supported (yet) by the installers, nor does grub 1 support
> booting from an ext4 file system. About your only choice is to format an
> existing non-boot partition, which I did in the following way:

This has been mentioned elsewhere, but just in case people find this
post via a search engine: Colin King has integrated a backport of ext4
support for grub 1, and as of tomorrow's daily build the installers will
support ext4 natively as an option, so this should all be much smoother
very soon.

--
Colin Watson [cjwatson@ubuntu.com]

--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team
 

Thread Tools




All times are GMT. The time now is 07:52 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org