LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-20-2011, 06:55 AM   #1
zemir
LQ Newbie
 
Registered: Jul 2011
Location: Calabria, ITALY
Distribution: debian squeeze
Posts: 24

Rep: Reputation: Disabled
What is the better file system on a Laptop?


Hi, as i wrote on other posts, i am going to install archlinux (i think) in my "new" laptop.
Considering to preserve as well as possible the power consuming, i prefer the "old" ext2 file system without journaling that may be useless on a laptop system (considering its main function the repairing the consequens of a blackout); in this way the access on hd are more lower. This is my opinion, however i accept other suggestions.
 
Old 08-20-2011, 07:17 AM   #2
cascade9
Senior Member
 
Registered: Mar 2011
Location: Brisneyland
Distribution: Debian, aptosid
Posts: 3,753

Rep: Reputation: 934Reputation: 934Reputation: 934Reputation: 934Reputation: 934Reputation: 934Reputation: 934Reputation: 934
I wouldnt be using EXT2, even if there is some (proably very, very, VERY minor) power savings.

EXT4 has the option of turning the journaling feature off, if you realy think that journaling is going to have any impact on real-world power consumption.
 
Old 08-20-2011, 07:19 AM   #3
AnanthaP
Member
 
Registered: Jul 2004
Location: Chennai, India
Distribution: UBUNTU 5.10 since Jul-18,2006 on Intel 820 DC
Posts: 854

Rep: Reputation: 202Reputation: 202Reputation: 202
Depends on your usage, backup tools and procedures and needs.

In your case it seems clear enough

BUT

considering it's use is to repair consequences of a blackout, you will presumably use it to park other data. The question is will your data hit the file size limits mentioned and rights, grants etc.

I think not, but do check up. http://en.wikipedia.org/wiki/Ext2

OK
 
Old 08-20-2011, 08:41 AM   #4
zemir
LQ Newbie
 
Registered: Jul 2011
Location: Calabria, ITALY
Distribution: debian squeeze
Posts: 24

Original Poster
Rep: Reputation: Disabled
It is my habitude to use in one computer more operating systems together (windows, dos and linux) and to make often backups.
And, yes, Cascade9, journaling file systems seems to be more power consumer respect without. I have tried ext2, ext3 and reiserFS and ext2 seems to be a bit better. However, if ext4 (that i never have used as well as other file systems) can select to use journaling, i think to make this choice. Others do seem to be very "exotics", "stranges", and no very commons and, i think, a lot of you are not very entusiast of them and do not use very often them.
 
Old 08-20-2011, 10:32 AM   #5
cascade9
Senior Member
 
Registered: Mar 2011
Location: Brisneyland
Distribution: Debian, aptosid
Posts: 3,753

Rep: Reputation: 934Reputation: 934Reputation: 934Reputation: 934Reputation: 934Reputation: 934Reputation: 934Reputation: 934
Quote:
Originally Posted by zemir View Post
And, yes, Cascade9, journaling file systems seems to be more power consumer respect without.
How did you measure that? If it is lower power consumpiton, how much lower?

Quote:
Originally Posted by zemir View Post
I have tried ext2, ext3 and reiserFS and ext2 seems to be a bit better. However, if ext4 (that i never have used as well as other file systems) can select to use journaling, i think to make this choice. Others do seem to be very "exotics", "stranges", and no very commons and, i think, a lot of you are not very entusiast of them and do not use very often them.
RiserFS uses journaling unless disabled. I'd find it odd that you would try riserFS and disable journaling but not EXT4.
 
Old 08-20-2011, 12:56 PM   #6
zemir
LQ Newbie
 
Registered: Jul 2011
Location: Calabria, ITALY
Distribution: debian squeeze
Posts: 24

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by cascade9 View Post
How did you measure that? If it is lower power consumpiton, how much lower?
No, i have not measure anything but with ext3 the batteries "seems" to work at least 3 or 6/7 minutes less respect ext2, it depends what you make. Apart this, journaling may be a good thing on desktop or server linux systems but for me on a laptop it is useless. If anyone want to change my opinion, he is welcome.
 
Old 08-20-2011, 03:46 PM   #7
jefro
Moderator
 
Registered: Mar 2008
Posts: 17,169

Rep: Reputation: 2562Reputation: 2562Reputation: 2562Reputation: 2562Reputation: 2562Reputation: 2562Reputation: 2562Reputation: 2562Reputation: 2562Reputation: 2562Reputation: 2562
We have some real old stuff running ext2. It isn't that bad but personally I tend to choose the default choice. Distros tend to be more tested on the default installer choices. There are plenty of web pages devoted to any argument pro or nay. It really is up to your choice. ext2 has been the default for a long time.

Last edited by jefro; 08-20-2011 at 03:47 PM.
 
Old 08-20-2011, 08:51 PM   #8
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 12,857
Blog Entries: 18

Rep: Reputation: 3339Reputation: 3339Reputation: 3339Reputation: 3339Reputation: 3339Reputation: 3339Reputation: 3339Reputation: 3339Reputation: 3339Reputation: 3339Reputation: 3339
It think the advantages of a journaling file system outweigh the minimal extension of battery life.
 
Old 08-20-2011, 11:18 PM   #9
silvyus_06
Member
 
Registered: Oct 2010
Distribution: Ubuntu 10.04 , Linux Mint Debian Edition , Microsoft Windows 7
Posts: 390

Rep: Reputation: 50
Yeah I do recommend ext4 or the newest stable file system out there (ext4 works for me cool)
 
Old 08-21-2011, 03:20 AM   #10
cascade9
Senior Member
 
Registered: Mar 2011
Location: Brisneyland
Distribution: Debian, aptosid
Posts: 3,753

Rep: Reputation: 934Reputation: 934Reputation: 934Reputation: 934Reputation: 934Reputation: 934Reputation: 934Reputation: 934
Quote:
Originally Posted by zemir View Post
No, i have not measure anything but with ext3 the batteries "seems" to work at least 3 or 6/7 minutes less respect ext2, it depends what you make. Apart this, journaling may be a good thing on desktop or server linux systems but for me on a laptop it is useless. If anyone want to change my opinion, he is welcome.
If you havent actually done any measurement/benchmarking, then this is all based on assumptions then.....

Journaling is often said to be 'for data protection in case of power failure' but thats not exactly true. Even if it is, EXT4 has some...odd...default settings-

Quote:
Linus Torvalds took up Ts'o's point about five second intervals and described the default Ext4 behaviour of writing normal data from the cache only every 120 seconds whilst writing metadata more rapidly as "insane".
http://www.h-online.com/open/news/it...t4-740787.html

So with defualt EXT4 settings you can have data that has been written according to the journal, but not written on the disc.
 
Old 08-21-2011, 08:25 AM   #11
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,074

Rep: Reputation: 387Reputation: 387Reputation: 387Reputation: 387
The fact that you might run out of battery at any time should be one more reason to USE a journal fs, not the other way around. Unless you enjoy using fsck and reinstalling your OS (that will probably suck quite a lot more battery than any journal would do, won't it?).

If your laptop is equipped with a flash-based memory instead of an HD, you might want to check out NILFS (no personal experience with it).
 
Old 08-21-2011, 12:56 PM   #12
zemir
LQ Newbie
 
Registered: Jul 2011
Location: Calabria, ITALY
Distribution: debian squeeze
Posts: 24

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by i92guboj View Post
The fact that you might run out of battery at any time should be one more reason to USE a journal fs, not the other way around. Unless you enjoy using fsck and reinstalling your OS (that will probably suck quite a lot more battery than any journal would do, won't it?).
For may years i (and a lot of you) have used EXT2 and no more often than with others file system i had to reinstall my os; usually it was automaticly configured to make check. It was the standard file system for a lot of generations of linux distros and never i have listen problems about it.

Quote:
If your laptop is equipped with a flash-based memory instead of an HD, you might want to check out NILFS (no personal experience with it).
Fortunatly i have a standard hd and i never will want a ssd or similar.

In conclusion, i am sure to use EXT4, i think it will be a good choice also in my laptop ;-)

Last edited by zemir; 08-21-2011 at 12:58 PM.
 
Old 08-21-2011, 06:21 PM   #13
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,074

Rep: Reputation: 387Reputation: 387Reputation: 387Reputation: 387
Quote:
Originally Posted by zemir View Post
For may years i (and a lot of you) have used EXT2 and no more often than with others file system i had to reinstall my os; usually it was automaticly configured to make check. It was the standard file system for a lot of generations of linux distros and never i have listen problems about it.
I am sure that for many years a lot of us have used MSDOS at some point, but we no longer do, unless it's FreeDOS to boot some ROM flasher tool or the like. For me it's the same with ext2. Time brings innovation, and even if it's only for the fact that fsck runs much faster in ext3/4, that alone justifies using it in laptops instead of ext2. The few extra disk writes and cpu cycles are nothing compared to an fsck that will take an hour to run at any random time (usually when you need to boot fast for something important, that always happens, you know...).

Sure it was a good filesystem, and it still might have its use cases. But this is not one of them, in my opinion (everyone is free to disagree, of course ). The energy saving you will get from not using journal will be spent in some other place, and much more if something fails.

Quote:
In conclusion, i am sure to use EXT4, i think it will be a good choice also in my laptop ;-)
Sure
 
Old 08-22-2011, 04:45 AM   #14
zemir
LQ Newbie
 
Registered: Jul 2011
Location: Calabria, ITALY
Distribution: debian squeeze
Posts: 24

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by i92guboj View Post
I am sure that for many years a lot of us have used MSDOS at some point, but we no longer do, unless it's FreeDOS
I use FreeDOS..........so, i use msdos file systems

Quote:
to boot some ROM flasher tool or the like.
Today this is the unique sense of the "old" floppy disks.

Quote:
For me it's the same with ext2. Time brings innovation, and even if it's only for the fact that fsck runs much faster in ext3/4, that alone justifies using it in laptops instead of ext2. The few extra disk writes and cpu cycles are nothing compared to an fsck that will take an hour to run at any random time (usually when you need to boot fast for something important, that always happens, you know...).
However, my linux system usually is very "minimal"; no more that 700Mb/1Gb of software installed. Few and essential utilities, the gcc compilator, tcl interpreter, the linux kernel source code and a very minimal desktop enviroment. So, i think, ext2 checking is possible in few minutes. I do not use very often big file shuch as images, movies, etc....just my main use is to write code and to navigate on internet. No other i do.

Quote:
Sure it was a good filesystem, and it still might have its use cases. But this is not one of them, in my opinion (everyone is free to disagree, of course ). The energy saving you will get from not using journal will be spent in some other place, and much more if something fails.
However, you are persuasive
 
Old 08-22-2011, 05:03 AM   #15
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,074

Rep: Reputation: 387Reputation: 387Reputation: 387Reputation: 387
If you are really under 1GB of data then probably fsck times are not a problem for you, even on ext2, so I guess yours is one of those cases where ext2 is still a very valid choice. I'll admit.

Most users will probably be better with ext4 nowadays that the sizes of the disks are continuously growing, and they don't seem to reach a top. Nowadays, even just for the internet you need some considerable storage space to store photos, caches, video and audio (though streaming is certainly getting more and more popular as the bandwidth also grows), etc.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can someone help me to set up Network File system between a laptop and a PC at home. neilcpp Linux - Networking 2 02-03-2009 01:22 PM
Linpus Fedora after saving files to file system, CAN'T open FILE SYSTEM from desktop! remiwa Fedora 2 01-07-2009 08:28 AM
Sarge 3.1r2 will not create file system on Western Digital 40Gb laptop HDD roofrack Debian 2 08-30-2006 02:44 AM
when does linux switch from realmode file system to protectedmode file system sitthar Linux - General 3 04-08-2006 09:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:18 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration