[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [GNUnet-developers] CPU usage issues
From: |
Christian Grothoff |
Subject: |
Re: [GNUnet-developers] CPU usage issues |
Date: |
Sat, 22 Apr 2006 08:24:48 -0700 |
User-agent: |
KMail/1.9.1 |
I've observed this, too. There are various operations (also gnunet-gtk
shutdown, stop search, stop download) that take longer than I'd think
necessary. The problem is, I've not yet been able to locate the problem.
Might be some thread sleeping (for say 50ms) and others waiting for it to
respond, might be some very inefficient implementation of some part of the
code, might be some issue with the TCP-IPC between gnunetd and clients. Most
likely it is even a combination of these -- and the fact that multiple
processes might be involved makes the diagnostics difficult. I've not yet
had enough time to figure it out, but it's on my list. *Good* profiling data
would be appreciated (related bugs: Mantis #1026, maybe #1032, possibly even
#1036).
C
On Wednesday 19 April 2006 06:47, Milan wrote:
> I noticed (still on my 200Mhz box) that making a search uses much CPU,
> and makes the hard disk work hard for a long time. When I start a
> search, my outbound and inbound traffic fall to 0 or so. I need to wait
> between 20 sec and 5 min to get all the results I had already stored on
> my database, and then I get other results.
>
> The problem is that while the search is made, my downloads are paused,
> and I can't get many results because my node doesn't communicate with
> others because the CPU usage is too high. I may be good to share CPU
> allowed to GNUnet in two parts, one for the communication to other
> nodes, and another to make the search (I guess searching in the local
> database is the costing operation).
>
> Do you think this would be possible, and is there another idea to
> correct this ? Is there a bug which makes GNUnet use too much CPU ?
>
> Apart of that, GNUnet is running well, and there is much more content
> now than before, files can be downloaded at a reasonable rate... This is
> great !
>
> Thanks
>
>
> _______________________________________________
> GNUnet-developers mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/gnunet-developers