View previous topic :: View next topic |
Author |
Message |
neuron Advocate
Joined: 28 May 2002 Posts: 2371
|
Posted: Tue May 13, 2008 2:00 pm Post subject: Fixing fsync |
|
|
For quite a long time now, misuse of fsync has annoyed me, especially since I use ext3, and fsync'ing on ext3 fsync's the whole damn filesystem, but it's been extremely annoying since firefox3 using sqlite and sync'ing like mad.
Kernel bug on the subject : http://bugzilla.kernel.org/show_bug.cgi?id=9546 (I'm using data=journaled now, but that's far from optimal aswell).
Mozilla bug, sqlite misuse : https://bugzilla.mozilla.org/show_bug.cgi?id=421482
KDE bug : http://bugs.kde.org/show_bug.cgi?id=142462
Pidgin bug : http://developer.pidgin.im/ticket/5597
Now there's a few ways to solve this, none of them are optimal.
A : Switch to data=journal'ed, fixing some latency issues, but lowering performance considerably, and it doesn't exactly fix the programs either.
B : Change filesystem to something that atleast deals with fsync in a nicer way, of course a possibility, the misuse will still be there but atleast it wont hurt as badly as it does on ext3.
C : Hack the programs that do it the most, optimal but work intensive.
D : http://www.flamingspork.com/projects/libeatmydata/ which isn't exactly safe, but atleast "fixes" the problem.
Now I know I'm not the only one annoyed at io latency, has anyone fixed this in a different way/worked around it/got any different ideas on how to solve it? |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54320 Location: 56N 3W
|
Posted: Sat May 17, 2008 11:01 am Post subject: |
|
|
Moved from Gentoo Chat to Other Things Gentoo.
Its not a gentoo specific topic and OTW is a bit harsh _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|