help-gnunet
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-gnunet] Re: CPU load


From: Christian Grothoff
Subject: [Help-gnunet] Re: CPU load
Date: Sun, 6 Oct 2002 15:28:12 -0500
User-agent: KMail/1.4.1

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

GNUnet uses the overall system load, not the load that is generated by GNUnet 
itself, which is typically miniscule. The value used is the one returned by 
loadavrg, or the shell command "uptime". The load used is the number of ready 
processes in the last minute and can be well above 100%. 

I believe it is correct (a feature) if GNUnet drops packets if the system is 
under heavy use by something else.

Christian

On Sunday 06 October 2002 02:11 pm, you wrote:
> Hello Cristian,
>
> I see that the incoming packets are dropped because other programs have a
> load. The load is 4.8 % -> 95.2 % idle
>
> I think you must drop incoming packets if ((gnunet uses more than x (for
> instance 5 %) of the cpu cycles) or (total load is 100%)) over a period of
> time (for instance 10 minutes).
>
> Greetings Jan Marco
>
> Oct  6 12:26:09 DEBUG: CPU load to high (578), dropping incoming packet.
>
>  12:26pm  up 1 day,  1:07,  4 users,  load average: 2.46, 2.36, 1.25
> 74 processes: 72 sleeping, 2 running, 0 zombie, 0 stopped
> CPU states:  0.2% user,  4.6% system,  0.0% nice, 95.2% idle
> Mem:   255844K av,  252524K used,    3320K free,       0K shrd,   13684K
> buff
> Swap:  522072K av,    7840K used,  514232K free                  209140K
> cached
>
> ---------------------------------------------------------------------------
>- -------------------
> I see many time the next message. May be nessary, but if you know it once,
> why ask it again?
>
> Oct  6 12:23:55 DEBUG: obtaining local IP address from hostname
> 62.131.97.197

Because some people are on a connection that changes their IP rather 
frequently (say DHCP). And the check does not cost much anyway.

Christian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9oJzd9tNtMeXQLkIRAoTVAJ9zxn0myR1AUR8NuFIzF1I9yiJBDACfcaiP
qL9r9tn8zOVOFSPBF93LrGw=
=yXLO
-----END PGP SIGNATURE-----





reply via email to

[Prev in Thread] Current Thread [Next in Thread]