gkdr/lurch

Pidgin UI is less responsive during high I/O load

GigabyteProductions opened this issue · 1 comments

When my md RAID system performs weekly consistency check, Pidgin UI is frozen between sending and receiving messages, but only when lurch is installed.

I think sqlite uses fsync syscall to commit the database, which I think takes longer to return during my RAID check. It makes Pidgin hard to use on Sundays.

gkdr commented

In order to prevent bugs related to state, I avoided it completely (in axc).
This means that every time you need to access the DB, the file is opened and then closed. I assume that takes a while. It has been on my radar since the beginning, but so far no one complained. Oh well :D