You are not logged in.

#1 2009-01-31 21:53:20

jimmyjazz
Member
Registered: 2008-12-25
Posts: 9

EXT4 with Arch?

anyone tried out EXT4 with Arch yet?  If so any speed improvments? Is it worth the reinstall?

Offline

#2 2009-01-31 22:05:16

ahcaliskan
Member
From: Sweden
Registered: 2008-10-29
Posts: 174

Re: EXT4 with Arch?

Here is all you need in this thread:
http://bbs.archlinux.org/viewtopic.php?id=61602

Offline

#3 2009-01-31 22:27:49

Raccoon1400
Member
From: Ontario, Canada
Registered: 2008-04-14
Posts: 853

Re: EXT4 with Arch?

I just switched to ext4. It took about 3 sec off my boot.
Here's how I familiarized myself with the procedure:
-converted my vbox arch install
-converted a partition I was trying to install lfs on, on my real hard drive, to make sure arch could still read it
-the real thing

The vbox test told me exactly what to expect. I have everything on one partition, no seperate /var, or /home, so it was all or none.

These instructions:
http://wiki.archlinux.org/index.php/Cre … t3_to_ext4

Last edited by Raccoon1400 (2009-01-31 22:28:35)


Fustrated Windows users have two options.
1. Resort to the throwing of computers out of windows.
2. Resort to the throwing of windows out of computers.

Offline

#4 2009-02-03 14:54:50

Bestiapeluda
Member
From: Buenos Aires, Argentina
Registered: 2007-10-16
Posts: 181

Re: EXT4 with Arch?

you dont need to reinstall.
You can convert your existing root partition.
Just folow instructions in http://wiki.archlinux.org/index.php/Ext4

Offline

#5 2009-02-03 15:43:51

zyghom
Member
From: Poland/currently Africa
Registered: 2006-05-11
Posts: 432
Website

Re: EXT4 with Arch?

I don't see any difference
I even reverted back to ext3


Zygfryd Homonto

Offline

#6 2009-02-03 15:56:34

Ranguvar
Member
Registered: 2008-08-12
Posts: 2,549

Re: EXT4 with Arch?

zyghom wrote:

I don't see any difference
I even reverted back to ext3

If you don't want/notice what ext4 offers, then using a (possibly) more stable FS is the right choice.

Offline

#7 2009-02-03 20:35:56

iBertus
Member
From: Greenville, NC
Registered: 2004-11-04
Posts: 2,228

Re: EXT4 with Arch?

You can't revert back, once you've converted to extents then the ext3 driver will not mount the filesystem. Unlike previous iterations of ext, ext4 is not backward compatable in it's full form.

Offline

#8 2009-02-03 21:27:17

Raccoon1400
Member
From: Ontario, Canada
Registered: 2008-04-14
Posts: 853

Re: EXT4 with Arch?

zyghom wrote:

I don't see any difference
I even reverted back to ext3

if you didn't see any difference, why would it be worth a reinstall to switch back?
and, it fscks faster.


Fustrated Windows users have two options.
1. Resort to the throwing of computers out of windows.
2. Resort to the throwing of windows out of computers.

Offline

#9 2009-02-05 16:45:46

eerok
Member
From: Canada
Registered: 2005-03-20
Posts: 171

Re: EXT4 with Arch?

I just built a fresh new Arch install with ext4 to try it out.  Not sure that I needed to, but I used a separate ext2 /boot partition to avoid problems with Grub.  Everything seems good---my goal was to have a redundant install that was leaner and meaner than my old one, which has been running for a couple years and has accumulated lots of half-remembered packages and configs.  (My complete new install---everything I use, really---is 4.2 GB and the old one is almost 12 GB.)

Anyway, ext4 seems okay.  I wouldn't expect to see much difference in day to day use.  What I do expect is good performance and lower fragmentation over time.  I think it's also the future, so I might as well get in on it.

Up until now I've mostly been using jfs and ext3, but I'm prepared to migrate entirely to ext4 in the fullness of time.

EDIT: Some things do seem dramatically faster, but it is a leaner install, so it's hard to say very confidently why they're faster.

Last edited by eerok (2009-02-05 16:54:33)


noobus in perpetuus

Offline

#10 2009-02-06 08:18:05

robmaloy
Member
From: Germany
Registered: 2008-05-14
Posts: 263

Re: EXT4 with Arch?

zyghom wrote:

I don't see any difference
I even reverted back to ext3

ext4 keeps files in "ext3-mode" until you change them.


maybe a fresh install on a different partition is the best way to notice the differences


(i'll be getting a new laptop for work 2day and i'm gonna install arch with ext4)


btw: does grub support booting from ext4 already? google says there are some patches out there

edit: i think i'm gonna 'convert' to grub2 anyways...

Last edited by robmaloy (2009-02-06 08:32:22)


☃ Snowman ☃

Offline

#11 2009-02-06 08:51:52

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: EXT4 with Arch?

Arch's grub is patched to support ext4.

Offline

#12 2009-02-06 09:36:35

zyghom
Member
From: Poland/currently Africa
Registered: 2006-05-11
Posts: 432
Website

Re: EXT4 with Arch?

finally I found a place for backup of my /home (160 GB) and I formated /home to be ext4
lets see how it will work on ext4 now for big partition (my previous post was about additional 5GB partition so maybe I did not see any difference - with 120 GB data it might be more obvious)


Zygfryd Homonto

Offline

#13 2009-02-06 12:17:42

Ranguvar
Member
Registered: 2008-08-12
Posts: 2,549

Re: EXT4 with Arch?

lucke wrote:

Arch's grub is patched to support ext4.

And GRUB 2 SVN supports ext4 as well (with extents, etc.).

Last edited by Ranguvar (2009-02-06 12:17:56)

Offline

#14 2009-02-07 03:45:13

Raccoon1400
Member
From: Ontario, Canada
Registered: 2008-04-14
Posts: 853

Re: EXT4 with Arch?

gparted now supports ext4


Fustrated Windows users have two options.
1. Resort to the throwing of computers out of windows.
2. Resort to the throwing of windows out of computers.

Offline

#15 2009-02-09 19:59:42

eerok
Member
From: Canada
Registered: 2005-03-20
Posts: 171

Re: EXT4 with Arch?

Meh, even Sidux supports ext4 with no extra fussing now, so this whole subject is officially stale smile

Last edited by eerok (2009-02-09 20:00:06)


noobus in perpetuus

Offline

#16 2009-02-10 18:29:27

sargate
Member
Registered: 2009-02-10
Posts: 3

Re: EXT4 with Arch?

Maybe is a silly question, but in my /boot, it will be faster ext2 or ext4?

Offline

#17 2009-02-10 18:37:43

zyghom
Member
From: Poland/currently Africa
Registered: 2006-05-11
Posts: 432
Website

Re: EXT4 with Arch?

sargate wrote:

Maybe is a silly question, but in my /boot, it will be faster ext2 or ext4?

do you really think loading 2MB matters ?


Zygfryd Homonto

Offline

#18 2009-02-11 10:58:45

Bogart
Member
From: Madrid, Spain
Registered: 2005-06-22
Posts: 272

Re: EXT4 with Arch?

I got a new computer so I decided to install on Ext4 directly. So far so good, except for a small detail. I mount the filesystem using the options noatime,barrier=0 (in /etc/fstab), but my dmesg says "EXT4-fs: barriers enabled". Anyone has any clue of why it doesn't disable barriers as I tell it to do?

#EDIT#
In fact, barriers are disabled regardles of what dmesg says.

Last edited by Bogart (2009-02-14 15:52:27)

Offline

#19 2009-02-21 16:45:24

scottuss
Member
From: England
Registered: 2009-02-20
Posts: 77

Re: EXT4 with Arch?

Running on ext4 here, seems good so far

Offline

#20 2009-02-21 17:43:40

1LordAnubis
Member
Registered: 2008-10-10
Posts: 253
Website

Re: EXT4 with Arch?

Same, I've noticed that it boots faster, and I can do several things faster, but it also seems like it takes a little longer to check dependencies before updating my system (or maybe its just me)
I reformatted my thinkpad to ext4 with barriers off, great performance. But I think I'll wait until 2.6.29 before I upgrade my main computer to ext4 if nothing happens with my thinkpad


Any society that would give up a little liberty to gain a little security will deserve neither and lose both.
-Benjamin Franklin
The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore all progress depends on the unreasonable man.
-George Bernard Shaw

Offline

#21 2009-02-22 01:38:06

tkdfighter
Member
From: Switzerland
Registered: 2009-01-28
Posts: 126

Re: EXT4 with Arch?

lucke wrote:

Arch's grub is patched to support ext4.

Grub is also patched to support ZFS big_smile
Now if only BTRFS were to be stable enough to use ... (I know, 2.6.29, but it will still take lots of time to be _really_ stable)

Offline

#22 2009-02-22 05:03:38

tjtag
Member
From: Odessa, Ukraine
Registered: 2009-02-21
Posts: 5

Re: EXT4 with Arch?

I wonder if we see this effect because intially the partition is mounted ro, barrier=1 until sysint remounts it rw, etc ?

once the boot is complete and fstab has been read,  cat /proc/mounts shows

tornado_x64 ~
> cat /proc/mounts
rootfs / rootfs rw 0 0
/dev/root / ext4 rw,barrier=0,data=ordered 0 0
none /dev ramfs rw 0 0
none /proc proc rw 0 0
none /sys sysfs rw 0 0
none /dev/pts devpts rw,mode=600 0 0
none /dev/shm tmpfs rw 0 0
/dev/sda10 /data ext4 rw,barrier=0,data=ordered,inode_readahead_blks=64 0 0


on my system, appropriately

with this fstab:
#
# /etc/fstab: static file system information
#
# <file system>        <dir>         <type>    <options>          <dump> <pass>
none                   /dev/pts      devpts    defaults            0      0
none                   /dev/shm      tmpfs     defaults            0      0

#/dev/cdrom             /media/cd   auto    ro,user,noauto,unhide   0      0
#/dev/dvd               /media/dvd  auto    ro,user,noauto,unhide   0      0
#/dev/fd0               /media/fl   auto    user,noauto             0      0

/dev/sda5 swap swap defaults 0 0
/dev/sda6 / ext4 rw,barrier=0 0 1
/dev/sda10 /data ext4 barrier=0,inode_readahead_blks=64  0 2

Last edited by tjtag (2009-02-22 05:09:20)

Offline

Board footer

Powered by FluxBB