[mnet-devel] Re: [mnet-cvs]this patch reverts calculate_timeout() to mu + 6*sigma; I ...
Arno Waschk
arnowaschk at t-online.de
Wed Feb 18 08:36:38 GMT 2004
i would still urgently vote for something like ((mu*size/SOMETHING)
+ 6*sigma). I definitely observed that this helped *a lot* in the relay
server activities. And it does not really change the behaviour of small
initiating messages. Arno
On Tue, 17 Feb 2004 23:17:52 -0800, Zooko O'Whielacronx
<zooko at users.sourceforge.net> wrote:
> Update of /cvsroot/mnet/mnet/common
> In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4911/common
>
> Modified Files:
> BrokerVersion.py MojoTransaction.py
> Log Message:
> * this patch reverts calculate_timeout() to mu + 6*sigma; I don't mind
> if you change calculate_timeout() again, Arno, but I want to build linux
> binary packages in a few minutes and I hope that you will accept this
> timeout. ; vernum bump -> Mnet v0.6.2.360-STABLE
>
> Index: BrokerVersion.py
> ===================================================================
> RCS file: /cvsroot/mnet/mnet/common/BrokerVersion.py,v
> retrieving revision 1.433
> retrieving revision 1.434
> diff -u -d -r1.433 -r1.434
> --- BrokerVersion.py 18 Feb 2004 06:33:24 -0000 1.433
> +++ BrokerVersion.py 18 Feb 2004 07:17:50 -0000 1.434
> @@ -24,7 +24,7 @@
> major = 0 # this will go to `1' when it is ready for widespread public
> use !?
> minor = 6 # release number
> micro = 2 # bugfix release number
> -nano = 359 # everytime a developer changes anything that anyone might
> care about, he bumps this one
> +nano = 360 # everytime a developer changes anything that anyone might
> care about, he bumps this one
> flag = "STABLE"
>
> versiontup = (major, minor, micro, nano,)
>
> Index: MojoTransaction.py
> ===================================================================
> RCS file: /cvsroot/mnet/mnet/common/MojoTransaction.py,v
> retrieving revision 1.74
> retrieving revision 1.75
> diff -u -d -r1.74 -r1.75
> --- MojoTransaction.py 17 Feb 2004 00:38:02 -0000 1.74
> +++ MojoTransaction.py 18 Feb 2004 07:17:50 -0000 1.75
> @@ -109,7 +109,8 @@
> """
>
> def calculate_timeout(mu, sigma, size=500):
> - return ((mu*size/500) + sigma) #this is similar to what we have in
> 0.7 ...
> + return mu + sigma*6
> + # return ((mu*size/500) + sigma) #this is similar to what we have
> in 0.7 ...
>
> class Widget:
> def __init__(self, counterparty_id, firstmsgId=None, payment=0):
>
>
>
> -------------------------------------------------------
> SF.Net is sponsored by: Speed Start Your Linux Apps Now.
> Build and deploy apps & Web services for Linux with
> a free DVD software kit from IBM. Click Now!
> http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
> _______________________________________________
> mnet-cvs mailing list
> mnet-cvs at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mnet-cvs
>
--
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
mnet-devel mailing list
mnet-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mnet-devel
More information about the Mnet-devel
mailing list