You are not logged in.

#1 2008-09-29 11:17:41

obsrv
Member
Registered: 2005-02-08
Posts: 137

JFS disadvantages

What are JFS disadvantages? I now want to mirror ArchLinux and I'm choosing JFS.


"god@heaven$ emerge world"

              ~ Genesis on Gentoo

Offline

#2 2008-09-29 11:30:23

SkonesMickLoud
Arch Linux f@h Team Member
From: The D of C
Registered: 2008-09-20
Posts: 178

Offline

#3 2008-09-29 12:29:48

Ashren
Member
From: Denmark
Registered: 2007-06-13
Posts: 1,229
Website

Re: JFS disadvantages

The biggest disadvantage IMO is that a you can not shrink a JFS partition. If it's possible now please let me know.

Offline

#4 2008-09-29 12:56:21

kclive18
Member
From: Columbus, Ohio, USA
Registered: 2008-05-08
Posts: 219

Re: JFS disadvantages

JFS in general is the fastest-performing file system on Linux, which is why I chose it for my laptop and its 4200-rpm ATA6 hard disk.  But yes, the fact that you cannot shrink it means that you have to make it smaller in the first place if you are dualbooting with another OS.


My Rigs:
- Mid-2007 iMac 20", Intel 2GHz Core 2 Duo, 2x1GB DDR2-800, 250GB SATA HDD, and...MIGHTY MOUSE!!! tongue, OSX 10.5 Leopard, ATI Radeon 2400XT 128MB
- HP zv6203cl, AMD Athlon 64 3200 S939, 2x512MB DDR400, 80GB 4200rpm HDD, ATI Radeon Xpress 200M 128MB, Arch i686 cool
- 1986 Gibson SG Junior Cherry Red, Ibanez 15W amp, DigiTech RP250 modeling processor

Offline

#5 2008-09-29 12:56:29

SkonesMickLoud
Arch Linux f@h Team Member
From: The D of C
Registered: 2008-09-20
Posts: 178

Re: JFS disadvantages

Ashren wrote:

The biggest disadvantage IMO is that a you can not shrink a JFS partition. If it's possible now please let me know.

You can, but it's really risky.

Also, JFS doesn't journal personal files, so you can lose some data after a crash/hard reboot.

Offline

#6 2008-09-29 18:26:29

kjon
Member
From: Temuco, Chile
Registered: 2008-04-16
Posts: 398

Re: JFS disadvantages

As personal experience, JFS seemed to my quite slow. It saves a lot of cpu time (and, therefore, battery life) but at expense of high latencies when writting. It's a matter of taste. Is a rock solid filesystem, but too slow for me. (*)

(*) Custom setup constraints might apply big_smile


They say that if you play a Win cd backward you hear satanic messages. That's nothing! 'cause if you play it forwards, it installs windows.

Offline

#7 2008-09-29 18:27:30

obsrv
Member
Registered: 2005-02-08
Posts: 137

Re: JFS disadvantages

this is off-topic but how about ext4? is it better than jfs?


"god@heaven$ emerge world"

              ~ Genesis on Gentoo

Offline

#8 2008-09-30 01:09:23

freakcode
Member
From: São Paulo - Brazil
Registered: 2007-11-03
Posts: 410
Website

Re: JFS disadvantages

kclive18 wrote:

JFS in general is the fastest-performing file system on Linux

No claims without numbers wink

Anyway, performance varies deeply. Popular belief is that Reiser is faster for lots of small files, XFS is faster for lots of big files, Ext3 is balanced, and JFS is balanced like Ext3 but uses less CPU, though slows down with much files.

(Benchmarks apreciated!)

Offline

#9 2008-09-30 01:31:03

theringmaster
Member
From: Air Force
Registered: 2007-07-16
Posts: 581
Website

Re: JFS disadvantages

I use jfs on my desktop and I haven't had a problem with it. I have had a LOT of power outages here and I'm doing ok.


Check me out on twitter!!! twitter.com/The_Ringmaster

Offline

#10 2008-09-30 01:31:49

kensai
Member
From: Puerto Rico
Registered: 2005-06-03
Posts: 2,484
Website

Re: JFS disadvantages

freakcode wrote:
kclive18 wrote:

JFS in general is the fastest-performing file system on Linux

No claims without numbers wink

Anyway, performance varies deeply. Popular belief is that Reiser is faster for lots of small files, XFS is faster for lots of big files, Ext3 is balanced, and JFS is balanced like Ext3 but uses less CPU, though slows down with much files.

(Benchmarks apreciated!)

Not even benchmarks can be reliable when it comes to File Systems, I have seen benchmarks where XFS wins, others in which JFS wins and yet others where ext3 or reiserfs wins. there is really no benchmark that can be reliable when it comes to file systems.

BTW, I use JFS. Nothing bad to say about it.


Follow me in: Identi.ca, Twitter, Google+

Offline

#11 2008-09-30 02:31:55

freakcode
Member
From: São Paulo - Brazil
Registered: 2007-11-03
Posts: 410
Website

Re: JFS disadvantages

kensai wrote:
freakcode wrote:
kclive18 wrote:

JFS in general is the fastest-performing file system on Linux

No claims without numbers wink

Anyway, performance varies deeply. Popular belief is that Reiser is faster for lots of small files, XFS is faster for lots of big files, Ext3 is balanced, and JFS is balanced like Ext3 but uses less CPU, though slows down with much files.

(Benchmarks apreciated!)

Not even benchmarks can be reliable when it comes to File Systems, I have seen benchmarks where XFS wins, others in which JFS wins and yet others where ext3 or reiserfs wins. there is really no benchmark that can be reliable when it comes to file systems.

BTW, I use JFS. Nothing bad to say about it.

Of course, because depends on what the benchmark is actually testing (read/write times, latency, troughput...). You won't find the better, but what are the cons and pros of each one.

Any numbers that can come up are better to discuss, so we avoid talking from perception.

Offline

#12 2008-09-30 02:59:37

kensai
Member
From: Puerto Rico
Registered: 2005-06-03
Posts: 2,484
Website

Re: JFS disadvantages

Oh, and if you are going to use JFS, append elevator=deadline to your kernel line in grub/menu.lst. It is in the wiki.


Follow me in: Identi.ca, Twitter, Google+

Offline

#13 2008-10-19 01:04:39

Cotton
Member
From: Cornwall, UK
Registered: 2004-09-17
Posts: 568

Re: JFS disadvantages

Whilst its been fine in operation (fast, low cpu etc like it says on the tin), I've almost always had problems following power outages, on a number of disks over the last 4 years. 
Generally the fsck runs ok at the next boot following an unclean shutdown and everything appears ok, but then key programs like pacman & X have failed to run, indicating that some critical disk sector has been lost.  Reinstalling the relevant applications has not generally been an available option, resulting in a total OS reinstallation sad

Offline

#14 2008-10-19 07:50:06

Ashren
Member
From: Denmark
Registered: 2007-06-13
Posts: 1,229
Website

Re: JFS disadvantages

SkonesMickLoud wrote:
Ashren wrote:

The biggest disadvantage IMO is that a you can not shrink a JFS partition. If it's possible now please let me know.

You can, but it's really risky.

Also, JFS doesn't journal personal files, so you can lose some data after a crash/hard reboot.

I'm willing to take the chance. How can I shrink a JFS partition?

Offline

#15 2008-10-19 09:26:21

cwjiof
Member
From: Taichung, TW
Registered: 2008-01-27
Posts: 131

Re: JFS disadvantages

There's no defragmentation command for a JFS file system, while XFS has.

Offline

#16 2008-10-19 15:19:43

theringmaster
Member
From: Air Force
Registered: 2007-07-16
Posts: 581
Website

Re: JFS disadvantages

Ashren wrote:
SkonesMickLoud wrote:
Ashren wrote:

The biggest disadvantage IMO is that a you can not shrink a JFS partition. If it's possible now please let me know.

You can, but it's really risky.

Also, JFS doesn't journal personal files, so you can lose some data after a crash/hard reboot.

I'm willing to take the chance. How can I shrink a JFS partition?

You can't, you can only think ahead as to what you want to do.


Check me out on twitter!!! twitter.com/The_Ringmaster

Offline

#17 2008-11-21 21:49:44

Zibi1981
Member
From: Poland
Registered: 2008-01-31
Posts: 637

Re: JFS disadvantages

cwjiof wrote:

There's no defragmentation command for a JFS file system, while XFS has.

Can't one use i.e. shake for that?


"... being a Linux user is sort of like living in a house inhabited by a large family of carpenters and architects. Every morning when you wake up, the house is a little different. Maybe there is a new turret, or some walls have moved. Or perhaps someone has temporarily removed the floor under your bed."

MSI Raider GE78HX 13VI-032PL

Offline

#18 2008-11-22 03:59:03

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

Re: JFS disadvantages

I'm using JFS on both my laptop and workstation. I like the lower CPU usage that tends to come along with JFS for my laptop. On my workstation, I've got a 6*750GB SATA disks in RAID10,f2 and so JFS performs well enough.

Offline

#19 2008-11-22 04:02:45

kensai
Member
From: Puerto Rico
Registered: 2005-06-03
Posts: 2,484
Website

Re: JFS disadvantages

Zibi1981 wrote:
cwjiof wrote:

There's no defragmentation command for a JFS file system, while XFS has.

Can't one use i.e. shake for that?

good luck with that, you are going to need it, defrag from con kolivas nor shake ever reduced any fragmentation for me, not even a bit. I am now using fidefrag, is in aur, though I never got that to compile so I just downloaded it directly with bzr and installed its dependencies. It is working like a champ, I am planning on doing an article on it, with real proof of its effectiveness.


Follow me in: Identi.ca, Twitter, Google+

Offline

#20 2008-11-22 20:50:33

Zibi1981
Member
From: Poland
Registered: 2008-01-31
Posts: 637

Re: JFS disadvantages

Never heard of fiDefrag. Thx for the tip. I will surely give him a try smile

Last edited by Zibi1981 (2008-11-22 20:53:10)


"... being a Linux user is sort of like living in a house inhabited by a large family of carpenters and architects. Every morning when you wake up, the house is a little different. Maybe there is a new turret, or some walls have moved. Or perhaps someone has temporarily removed the floor under your bed."

MSI Raider GE78HX 13VI-032PL

Offline

#21 2008-11-23 03:53:39

cerbie
Member
Registered: 2008-03-16
Posts: 124

Re: JFS disadvantages

Ditto. That's been my only real complaint against JFS--I hadn't found a working defragger. I'll check it out by manually doing dependencies, tonight. A more minor complaint being that I don't see any options to change the log size after formatting (my / is small, but has more than it needs for /, so maybe could use a bigger one).

So far (definitely more than 10 abrupt shutdowns due to wall power), recovery after bad shutdowns has been ideal. I've yet to lose, or find corrupted, files on my disks. I've had config files I was editing, and FF sessions, get rolled back. EXT3, even in journal mode, has caused loss of an entire partition (twice before in wirteback, so I got anal; but, then it did it with journaled mode!). fscking and testdidking only copies, even finding the alternate superblocks...only small amounts of files recovered. If I lose the ability to boot, or maybe fully login, but still have most of my data intact, easily accessible from a working computer, I'll manage. It will also allow me to stay cheap, and not get a UPS big_smile.

I intentionally have fairly slow drives, and have not noticed any FS performance differences between EXT2, EXT3, RFS, or JFS, as long as I use Deadline w/ JFS.

P.S. no file is currently above fidefrag's threshold, so *shrug*. I guess I'll just have to wait a few months to really see.
P.P.S. de-fragged several files on my backup drive, also JFS. Yay.

Last edited by cerbie (2008-11-24 12:52:06)


"If the data structure can't be explained on a beer coaster, it's too complex." - Felix von Leitner

Offline

Board footer

Powered by FluxBB