Quoting Matthew Lye <m...@talkwireless.ca> from ml.softs.gtk-gnutella.devel: :The distributed hash table seems to be disregarding the connection :status of GTKG in at least some cases; I found my Gnutella I/O :maintaining rates of approximately 20 Kb/s both ways after :disconnecting yesterday, which was somewhat disconcerting. Either the :bandwidth meter is misrepresenting the impact of the DHT, or the DHT :is providing enough of a load that monitoring and control should :probably be provided.
There is no way to control incoming UDP traffic from the DHT, due to the connection-less nature of UDP. As far as outgoing bandwidth goes, gtk-gnutella can emit more than the configured Gnutella bandwidth whenever the UDP queue enters flow-control. This is because, as you have noticed, DHT traffic can be quite heavy and it happens to also be extremely time-sensitive (since operations are handled as Remote Procedure Calls: every request expects a timely answer). There is no such thing as "disconnecting from the DHT". Whenever you turn off Gnutella traffic, you're still "connected" to the DHT and keep exchanging messages. What's probably misleading is that the DHT traffic is accounted as Gnutella traffic in the GUI. In as sense, this is not wrong since Gnutella messages are used. However, it is not trivial to account DHT traffic separately due to the way bandwidth is accounted for today, or I would have already done it. It's not extraordinary difficult either, so if you want to dive into the code and supply a patch, I'm always open to that kind of contribution. In the "future", there will be a "degraded" DHT mode whereby you can shield yourself from incoming traffic but can still query and publish to the DHT. I have not implemented this logic yet. Raphael ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ gtk-gnutella-devel mailing list gtk-gnutella-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-devel