Code center > Darwinbots Program Source Code

Status of IM mode

<< < (28/36) > >>

MacadamiaNuts:
Ooh, trying the new client.py on 4669

shvarz:

--- Quote ---It's like this now, open for suggestions for change.
receive limit = sent bots *2+10
sent limit = received bots *2+10
--- End quote ---

Can you explain how this is supposed to limit things? If we have a fast-running sim, which generates a lot of bots, then this algorithm does not seem to limit anything. The sim will send it's first 10 bots, get permission to receive (10*2+10)=30 bots, will receive them, get permission to send (30*2+10)=70 bots, will send those and so on.

Or am I missing something?

Peter:
Mainly it'll limit the max ingoing bots for small sims to 2 times what they sent, so they don't get overflooded. Faster sims will be restricted to around 2x the average outbound speed.
Faster sims can only get to more and more permission to sent bots if there is another fast sim sending bots too. The idea was to let quick sims spread bots around if there are other quick sims.

Billy:
Awesome, thanks Peter, I'll update.

Botsareus:
Peter, for some reason I can not view "http://198.50.150.51:4668/viewsim/4770" either that, or it takes 4ever to load.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version