You are not logged in.

#1 2009-10-08 14:52:35

linuxguy
Member
Registered: 2008-10-20
Posts: 41

NILFS = wow

i just read this

http://www.linux-mag.com/cache/7345/1.html

and it looks like the performance benefits of NILFS are extremely promising.  not to mention the snapshot ability.

NILFS support should be built into the 2.6.30 kernel now which is what the most recent arch release uses (2009.8).  I plan to install Arch on my laptop (lenovo x200) it didnt work with older versions of arch but hopefully it will work now.

i dont think the installer supports NILFS yet (the install guide doesnt have it in there) is there a way to try it out? preferably on the root partition.  a lot of people use reiserfs for /var i think because it is fast for small files but NILFS seems to be way way faster so it may be even better for /var at least.  using it for /home would be nice too for the snapshot ability.

the article does mention that there are issues with SSDs because of a large number of writes; i have an SSD.  this report was written in June so i dont know if that has been resolved yet.  does anyone know?

this is an extremely interesting technology though. im very excited for this to hit the forefront and make linux the king of filesystems in the way that solaris has been with ZFS.

thanks.

Offline

#2 2009-10-08 21:06:51

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: NILFS = wow

Install in the usual way, then change to nilfs when the system is up and running.

Offline

#3 2009-10-08 21:54:06

Nezmer
Member
Registered: 2008-10-24
Posts: 559
Website

Re: NILFS = wow

1) Install Arch with one of the supported filesystems (If you don't have Arch set up already) .
2) Create a sample nilfs2 partition and mount it.
3) Read the 2 warning lines and copy/paste them here wink .
4) Use the sample partition for testing purposes or delete it .
5) Move on .

Edit : you need nilfs-utils for mounting of course . It's preferable that you build the latest upstream release (the package in community is outdated) .

Last edited by Nezmer (2009-10-08 21:58:07)


English is not my native language .

Offline

#4 2009-10-08 22:01:35

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: NILFS = wow

Nezmer wrote:

Edit : you need nilfs-utils for mounting of course . It's preferable that you build the latest upstream release (the package in community is outdated) .

is not the case anymore. i've updated to .14


Give what you have. To someone, it may be better than you dare to think.

Offline

#5 2009-10-08 22:59:26

Nezmer
Member
Registered: 2008-10-24
Posts: 559
Website

Re: NILFS = wow

wonder wrote:
Nezmer wrote:

Edit : you need nilfs-utils for mounting of course . It's preferable that you build the latest upstream release (the package in community is outdated) .

is not the case anymore. i've updated to .14

Ouch .
In my defense , It didn't reach the mirrors yet .


English is not my native language .

Offline

#6 2009-10-08 23:00:26

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,355

Re: NILFS = wow

Out of interest... what 2 warning lines?


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#7 2009-10-09 07:16:16

Army
Member
Registered: 2007-12-07
Posts: 1,784

Re: NILFS = wow

# mount.nilfs2 -v -o users /dev/sdb1 /mnt/4GB
mount.nilfs2: WARNING! - The NILFS on-disk format may change at any time.
mount.nilfs2: WARNING! - Do not place critical data on a NILFS filesystem.
mount.nilfs2: started nilfs_cleanerd
/dev/sdb1 on /mnt/4GB type nilfs2 (rw,noexec,nosuid,nodev,gcpid=5133)

Those wink

edit: They also come without the -v

Last edited by Army (2009-10-09 07:16:39)

Offline

#8 2009-10-09 08:17:50

bender02
Member
From: UK
Registered: 2007-02-04
Posts: 1,328

Re: NILFS = wow

By the way, the last time I heard about nilfs, it had pretty awful performance. Although I'm pretty sure they're working on it, I don't know how far did they get.

Offline

#9 2009-10-09 08:46:39

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,355

Re: NILFS = wow

Army wrote:
# mount.nilfs2 -v -o users /dev/sdb1 /mnt/4GB
mount.nilfs2: WARNING! - The NILFS on-disk format may change at any time.
mount.nilfs2: WARNING! - Do not place critical data on a NILFS filesystem.
mount.nilfs2: started nilfs_cleanerd
/dev/sdb1 on /mnt/4GB type nilfs2 (rw,noexec,nosuid,nodev,gcpid=5133)

Those wink

edit: They also come without the -v

Ouch! Scary stuff there.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#10 2009-10-10 00:49:19

Army
Member
Registered: 2007-12-07
Posts: 1,784

Re: NILFS = wow

I'll play around with it on my usb stick, for using it on / I'm not insane enough ;-)

Offline

#11 2010-06-30 19:46:59

unodue
Member
Registered: 2010-06-30
Posts: 3

Re: NILFS = wow

I gave NILFS a try (NILFS2 actually) installing it on the root partition and it looks good yikes)
Here my experiences: http://www.blah-blah.ch/Mra/Nilfs2performance

Offline

#12 2010-07-02 19:19:01

litemotiv
Forum Fellow
Registered: 2008-08-01
Posts: 5,026

Re: NILFS = wow

unodue wrote:

I gave NILFS a try (NILFS2 actually) installing it on the root partition and it looks good yikes)
Here my experiences: http://www.blah-blah.ch/Mra/Nilfs2performance

maybe comparisons with btrfs and ext4 are more appropriate?


ᶘ ᵒᴥᵒᶅ

Offline

#13 2010-07-03 17:49:34

Dieter@be
Forum Fellow
From: Belgium
Registered: 2006-11-05
Posts: 2,001
Website

Re: NILFS = wow

SSD optimized filesystem (~NILFS) is on the roadmap.
http://wiki.archlinux.org/index.php/Dev … ng_roadmap

we only need someone who wants to do the work wink


< Daenyth> and he works prolifically
4 8 15 16 23 42

Offline

#14 2010-07-17 16:56:36

unodue
Member
Registered: 2010-06-30
Posts: 3

Re: NILFS = wow

litemotiv wrote:
unodue wrote:

I gave NILFS a try (NILFS2 actually) installing it on the root partition and it looks good yikes)
Here my experiences: http://www.blah-blah.ch/Mra/Nilfs2performance

maybe comparisons with btrfs and ext4 are more appropriate?

Maybe a little in the case of btrfs (if the filesystem is mounted with the ssd options), otherwise I don't think so - they're both journaled filesystems in the end meaning that for each file they'll write they'll have to modify the journal (therefore falling into the slow flash-modify cycle) => slowdown on flash.
But ok, for the sake of confirming this I'll do such a comparison once I'm back from my holidays yikes)

Offline

#15 2010-07-17 17:16:56

litemotiv
Forum Fellow
Registered: 2008-08-01
Posts: 5,026

Re: NILFS = wow

unodue wrote:

Maybe a little in the case of btrfs (if the filesystem is mounted with the ssd options), otherwise I don't think so - they're both journaled filesystems in the end meaning that for each file they'll write they'll have to modify the journal (therefore falling into the slow flash-modify cycle) => slowdown on flash.
But ok, for the sake of confirming this I'll do such a comparison once I'm back from my holidays yikes)

i'd be very interested in the amount of background i/o with nilfs2 versus btrfs. because of nilfs' log-structured nature, there are reports that sometimes a multitude of data is written for seamingly simple operations. this would ofcourse have an adverse effect on ssd lifespan, so it would be interesting to investigate this further.

see also this (older) post: http://www.ocztechnologyforum.com/forum … post365779


ᶘ ᵒᴥᵒᶅ

Offline

#16 2010-07-17 20:53:17

linuxguy
Member
Registered: 2008-10-20
Posts: 41

Re: NILFS = wow

I have 2 SSD drives.  I installed opensuse with btrfs on one yesterday and i have arch linux with ext4 on the other one.  the opensuse one is slc and the arch one is mlc.

I would be happy to help out in any way i can; i want to give something back to the community.

I am not sure though how to really compare btrfs and nilfs (and any others) in terms of wear-leveling.  the nature of a log structured file system leads to a lot of writes over the drive but btrfs from my understanding writes very heavily to particular locations which will also have adverse effects.

let me know if there are anything anyone wants me to try; im really interested in fs theory.

Offline

#17 2010-07-28 15:33:08

unodue
Member
Registered: 2010-06-30
Posts: 3

Re: NILFS = wow

But ok, for the sake of confirming this I'll do such a comparison once I'm back from my holidays yikes)

So, I ran the same tests as well against btrfs and ext4 using another USB-stick but still from the same manufacturer and exactly the same model (Trascend JF V30 16GB) - here the results: http://www.blah-blah.ch/Mra/Nilfs2performance
Hope it's useful! big_smile
I am still sticking to nilfs2 for my root partition smile
Bye!

Offline

Board footer

Powered by FluxBB