Discussion:
How to make valknut *MUCH* faster
Mate Soos
2006-04-08 14:50:23 UTC
Permalink
Hi!

I have been using Valknut for about 4 months, and it is *appalyingly*
slow. I mean, it is using 30-40% of my CPU non-stop (2400+ Athlon XP) -
this is no joke. It really is 30-40%. I am in two hubs, both ~10'000
users. I got really upset by the slowness, and after 4 months, I finally
donwloaded the code, and started to tinker around with it. First, I
switched off all the search-engine, because I thought that the amount of
search requests I get is what is making this thing amazingly slow (i.e.
people sending me a query and me having to search for it). But, to my
*real* surprise, this didn't help at all. Hmm... so I thought, it must
be the GUI. What is unusual in the GUI? Well, for a first, that 10'000
long list on the right, always updated. Right! So... I simply did this:

/* case DC_MESSAGE_MYINFO:
{
DC_MyInfo( (CMessageMyInfo *) Object );
break;
}
*/

OOOOOOOPPPPPPPPSSSS! 1% of proc usage! Wooow! And who needs the userlist
anyways? I used it about twice in my life. I mean, what a trade-off! I
can now use my computer with valknut running! I think this "discovery"
of mine should be a reason to release a new version. I have read on the
forums that *lots* of people have this problem. And they must be having
it, too, since it really is a problem!

Please, if anyone on this email-list, reply, and do something about
this. I hope this really helps!

Máté

PS: the CVS is broken on Debian, too. the LINK is not defined in
/libootool/libootool/Makefile and it tries to execute "($LINK) -rpath
[..]" and doesn't find the "rpath" binary, surprise, surprise! :)
Loading...