Mailinglist Archive: opensuse-factory (471 mails)
| < Previous | Next > |
[opensuse-factory] relatime cons? [was: The plan to speed up openSUSE 11.2]
- From: Greg Freemyer <greg.freemyer@xxxxxxxxx>
- Date: Mon, 8 Jun 2009 11:20:39 -0400
- Message-id: <87f94c370906080820k67069ab8yc2ce1fa87b92e7bb@xxxxxxxxxxxxxx>
2009/6/7 Rastislav Krupanský <rastislav.krupansky@xxxxxxxxx>:
So I think this is saying:
Currently OpenSUSE uses neither noatime, nor relatime as a default mount option.
Using noatime is the fastest option but it has too many cons associated with it.
Using relatime is observably faster than not using it, but not as fast
as noatime, but it has far fewer cons.
Does anyone know what cons using relatime as a default mount option would have?
Thanks
Greg
--
Greg Freemyer
Head of EDD Tape Extraction and Processing team
Litigation Triage Solutions Specialist
http://www.linkedin.com/in/gregfreemyer
First 99 Days Litigation White Paper -
http://www.norcrossgroup.com/forms/whitepapers/99%20Days%20whitepaper.pdf
The Norcross Group
The Intersection of Evidence & Technology
http://www.norcrossgroup.com
--
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-factory+help@xxxxxxxxxxxx
2009/6/7 Martin <martin.schlander@xxxxxxxxx>:
Lørdag den 6. juni 2009 17:34:08 skrev Rastislav Krupanský:
2009/6/5 Stephan Kulow <coolo@xxxxxxxxxx>:
I'm not sure, but it might already add to the puzzle why ubuntu is
faster for you. They don't have beagle and they use relatime by
default.
I used relatime as is in the ubuntu's fstab and times are almost
comparable. For Gimp it saved 5-6 seconds and also another apps start
up faster ;-) Finally.
It seems that relatime could fix it.
So, what's next?
I did some highly unscientific measurements with default fstab options, then
adding noatime and then realtime. Like this:
/dev/disk/by-id/ata-FUJITSU_MHV2080BH_NW78T652BFEN-part2 /
ext3 acl,user_xattr 1 1
/dev/disk/by-id/ata-FUJITSU_MHV2080BH_NW78T652BFEN-part2 /
ext3 noatime,acl,user_xattr 1 1
/dev/disk/by-id/ata-FUJITSU_MHV2080BH_NW78T652BFEN-part2 /
ext3 realtime,acl,user_xattr 1 1
For me (fresh user on 11.1/kde4.3beta) there's no real difference with any of
these fstab options.
Cold start FF (3.0.10): 8-9s
Warm start FF: 1-2s
Cold start Gimp (2.6.2): 12s
Warm start Gimp: 5-6s
On Mandriva 2009.0:
Fstab looks like this:
UUID=7c2d957c-d69d-11dd-b9ef-c5218aa42eda / ext3 noatime 1 1
Cold start FF (3.0.5): 4s
Warm start FF: 1s
Cold start Gimp (2.4.7): 9s
Warm start Gimp: 3s
What is the full fstab entry that you use to achieve those results with
realtime?
Watch out. No realtime, but relatime. But i'm talking about ext4. I
don't know whether relatime has any
influence on ext3. But try it. For ext3 try to add noatime and disable
barriers.
/dev/disk/by-id/ata-HTS424040M9AT00_MPA248Q2JL49AE-part1 / ext3
acl,user_xattr,noatime,barrier=0 1 1
have a look on this article
http://vavai.net/2009/01/15/opensuse-tweak-increase-opensuse-speed-performance/
and especially comment by Cristian Rodriguez
Here you are my times. Everything are cold starts.
relatime
user@linux-pws2:~> time firefox %u
real 0m7.497s
user 0m1.148s
sys 0m1.200s
user@linux-pws2:~> time gimp
real 0m16.019s
user 0m3.468s
sys 0m4.464s
user@linux-pws2:~> time oowriter %U
real 0m14.811s
user 0m0.560s
sys 0m3.072s
user@linux-pws2:~> time gnome-control-center
real 0m3.119s
user 0m0.532s
sys 0m0.700s
noatime
user@linux-pws2:~/Desktop> time firefox %u
real 0m8.071s
user 0m1.252s
sys 0m0.956s
user@linux-pws2:~/Desktop> time gimp
real 0m19.466s
user 0m3.880s
sys 0m5.184s
user@linux-pws2:~/Desktop> time oowriter %U
real 0m27.235s
user 0m0.756s
sys 0m3.156s
user@linux-pws2:~/Desktop> time gnome-control-center
real 0m2.972s
user 0m0.528s
sys 0m0.464s
Ubuntu
user@user-desktop:~$ time firefox %u
real 0m7.045s
user 0m0.728s
sys 0m1.016s
user@user-desktop:~$ time gimp
real 0m12.354s
user 0m2.520s
sys 0m3.532s
user@user-desktop:~$ time ooffice -writer %F
real 0m13.336s
user 0m0.092s
sys 0m0.892s
user@user-desktop:~$ time gnome-control-center
real 0m3.023s
user 0m0.776s
sys 0m0.504s
--
S pozdravom / Best regards,
Rasto
So I think this is saying:
Currently OpenSUSE uses neither noatime, nor relatime as a default mount option.
Using noatime is the fastest option but it has too many cons associated with it.
Using relatime is observably faster than not using it, but not as fast
as noatime, but it has far fewer cons.
Does anyone know what cons using relatime as a default mount option would have?
Thanks
Greg
--
Greg Freemyer
Head of EDD Tape Extraction and Processing team
Litigation Triage Solutions Specialist
http://www.linkedin.com/in/gregfreemyer
First 99 Days Litigation White Paper -
http://www.norcrossgroup.com/forms/whitepapers/99%20Days%20whitepaper.pdf
The Norcross Group
The Intersection of Evidence & Technology
http://www.norcrossgroup.com
--
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-factory+help@xxxxxxxxxxxx
| < Previous | Next > |