[Pidgin] #2027: Cache log size history for buddy list sorting
Pidgin
trac at pidgin.im
Wed Jul 4 04:08:27 EDT 2007
#2027: Cache log size history for buddy list sorting
--------------------------+-------------------------------------------------
Reporter: nomeata | Type: enhancement
Status: new | Priority: minor
Component: pidgin (gtk) | Version: 2.0.2
Keywords: | Pending: 0
--------------------------+-------------------------------------------------
I was just monitoring my system for unnecessary disk spin-ups on my
laptop, with laptop modo. So far, pidgin is behaving quite nicely, but one
thing is causing spin-ups:
I have my buddies sorted by log size (great feature BTW!). Now whenever
someone logs on, pidgin stats all log files for that buddy to calculate
the total log size, which causes the disk to spin up (unless these inode
are already cached, which is unlikely, as the buddy just logged on).
My suggestion is to keep the log size count in `blist.xml`, similar to the
signedon and similar fields. It could be increased each time a
conversation is ended (not with each message, as that would cause too many
`blist.xml` writes I guess), and filled it the first time it is needed but
not available. This would reduce the disk read usage of pidgin noticeably.
What do you think?
--
Ticket URL: <http://developer.pidgin.im/ticket/2027>
Pidgin <http://pidgin.im>
Pidgin
More information about the Tracker
mailing list