You are not logged in.

#1 2009-09-02 08:11:33

zen3
Member
From: Greece
Registered: 2009-09-02
Posts: 30

Ext4 Performace Optimized Mount Options

Hello.
I use Debian testing, but I don't like our forums tbh. Too drafty.
Anyway, what ext4 mount options can you recommend me to take 100% of the speed that hdd can give me.
I already use noatime,commit=500,barrier=0. Anything else?


ffc

Offline

#2 2009-09-02 09:55:38

klixon
Member
From: Nederland
Registered: 2007-01-17
Posts: 525

Re: Ext4 Performace Optimized Mount Options

if you don't mind 0-length files after a hard reset, you can try adding those:
- data=writeback
- noauto_da_alloc


Stand back, intruder, or i'll blast you out of space! I am Klixon and I don't want any dealings with you human lifeforms. I'm a cyborg!

Offline

#3 2009-09-02 10:52:38

zen3
Member
From: Greece
Registered: 2009-09-02
Posts: 30

Re: Ext4 Performace Optimized Mount Options

Shall you explain these modes a bit.
Or give a link.


ffc

Offline

#4 2009-09-02 14:12:07

klixon
Member
From: Nederland
Registered: 2007-01-17
Posts: 525

Re: Ext4 Performace Optimized Mount Options

Try google... I read about those on Gentoo's "off the wall" forum... I can link there, but it won't be of much use...


Stand back, intruder, or i'll blast you out of space! I am Klixon and I don't want any dealings with you human lifeforms. I'm a cyborg!

Offline

#5 2009-09-02 15:04:21

fijam
Member
Registered: 2009-02-03
Posts: 244
Website

Re: Ext4 Performace Optimized Mount Options

Offline

#6 2009-09-20 11:32:20

slightlystoopid
Member
Registered: 2009-09-10
Posts: 61

Re: Ext4 Performace Optimized Mount Options

klixon wrote:

if you don't mind 0-length files after a hard reset, you can try adding those:
- data=writeback
- noauto_da_alloc

I'm curious. what kind of throughput gains could really come from noauto_da_alloc? or maybe, what was the throughput loss when auto_da_alloc was added?

zen3 wrote:

Hello.
I use Debian testing, but I don't like our forums tbh. Too drafty.
Anyway, what ext4 mount options can you recommend me to take 100% of the speed that hdd can give me.
I already use noatime,commit=500,barrier=0. Anything else?

I don't think I could justify a journal commit only every 8 minutes. if the data's not important, you could try disabling the journal with

tune2fs -O ^has_journal /dev/sdxy

the performance gains looked like http://git.kernel.org/?p=linux/kernel/g … 28125700bb


using data=writeback though, I found a noticeable throughput gain using these options:

in fstab:

noatime,journal_async_commit,data=writeback,barrier=0,nobh,commit=60,errors=remount-ro

in menu.lst:

rootflags=data=writeback,commit=60,nobh,barrier=0,journal_async_commit

One nation, under the corporatocracy, indivisible, with liberty for them.

Really, I can understand the Supreme Court's rulings. Afterall, corporations are people just like us, with love and feelings, hopes and dreams, and a limited lifespan to do it all in... oh wait, nevermind. I was thinking of same-sex marriage.

Offline

Board footer

Powered by FluxBB