Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Fixing fsync
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
neuron
Advocate
Advocate


Joined: 28 May 2002
Posts: 2371

PostPosted: Tue May 13, 2008 2:00 pm    Post subject: Fixing fsync Reply with quote

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
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54320
Location: 56N 3W

PostPosted: Sat May 17, 2008 11:01 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
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